Boost C++ Libraries: Ticket #5001: Failure to compile boost_1_45 and boost-trunk on ia64 (itanium2) with toolset intel-linux https://svn.boost.org/trac10/ticket/5001 <p> Hi all, </p> <p> I have tried to compile boost_1_45_0 using the Intel compiler on an Itanium machine, but it seems to fail with a segfault: </p> <pre class="wiki">xxx@cn002:~/src/boost_1_45_0&gt; ./bootstrap.sh --with-toolset=intel-linux --show-libraries --prefix=$HOME Building Boost.Jam with toolset intel-linux... Failed to build Boost.Jam Consult 'bootstrap.log' for more details xxx@cn002:~/src/boost_1_45_0&gt; cat bootstrap.log ### ### Using 'intel-linux' toolset. ### rm -rf bootstrap mkdir bootstrap icc -o bootstrap/jam0 command.c compile.c debug.c expand.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c md5.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c expand.c(85): warning #181: argument is incompatible with corresponding format string conversion printf( "expand '%.*s'\n", end - in, in ); ^ ./bootstrap/jam0 -f build.jam --toolset=intel-linux --toolset-root= clean ...found 1 target... ...updating 1 target... [DELETE] clean ./build.sh: line 13: 27407 Segmentation fault (core dumped) $@ </pre><p> So far, I have gathered the following information: </p> <ul><li>I've done this on two different Itanium machines I've got access to. It fails with the same error message on both machines. </li><li>I have used Intel compilers 11.1, 11.0, 10.1. Same error message with all of them. </li><li>Compiling on x86_64 with the above compilers works as expected. </li></ul><p> Next, I have checked out the boost trunk from the subversion rep. Here, it does not offer any libraries to compile: </p> <pre class="wiki">xxx@cn002:~/src/boost-trunk&gt; ./bootstrap.sh --with-toolset=intel-linux --show-libraries Building Boost.Jam with toolset intel-linux... tools/build/v2/engine/src/bin.linuxia64/bjam The following Boost libraries have portions that require a separate build and installation step. Any library not listed here can be used by including the headers only. The Boost libraries requiring separate building and installation are: xxx@cn002:~/src/boost-trunk&gt; </pre><p> I decided to still give it a go: </p> <pre class="wiki">xxx@cn002:~/src/boost-trunk&gt; ./bootstrap.sh --with-toolset=intel-linux --with-libraries=iostreams,mpi,serialization Building Boost.Jam with toolset intel-linux... tools/build/v2/engine/src/bin.linuxia64/bjam Unicode/ICU support for Boost.Regex?... not found. Generating Boost.Build configuration in project-config.jam... Bootstrapping is done. To build, run: ./bjam To adjust configuration, edit 'project-config.jam'. Further information: - Command line help: ./bjam --help - Getting started guide: http://www.boost.org/more/getting_started/unix-variants.html - Boost.Build documentation: http://www.boost.org/boost-build2/doc/html/index.html xxx@cn002:~/src/boost-trunk&gt; ./bjam Segmentation fault (core dumped) </pre><p> No luck either :( </p> <p> At this point, I'm running out of ideas - anything else I could try? </p> <p> Cheers, Stefan </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5001 Trac 1.4.3 ulf.markwardt@… Tue, 16 Aug 2011 10:18:49 GMT <link>https://svn.boost.org/trac10/ticket/5001#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5001#comment:1</guid> <description> <p> I have to report the same problem. It was not fixed in version 1.46 or 1.47. - Is there a workaround to safely install the libraries without bjam? </p> <p> Regards, Ulf </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Sun, 21 Aug 2011 19:16:17 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5001#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5001#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/5001#comment:1" title="Comment 1">ulf.markwardt@…</a>: </p> <blockquote class="citation"> <p> I have to report the same problem. It was not fixed in version 1.46 or 1.47. - Is there a workaround to safely install the libraries without bjam? </p> </blockquote> <p> I can only confirm the problem still exists over here with 1.47, too. </p> <p> Seems a bit odd that an issue that is practically a showstopper for a whole platform goes by unnoticed for 8 months - should I have cc'ed someone when I first reported it? Any other method to attract attention to this? Anybody out there on Itanium, too? </p> </description> <category>Ticket</category> </item> <item> <author>ulf.markwardt@…</author> <pubDate>Mon, 22 Aug 2011 08:46:36 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5001#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5001#comment:3</guid> <description> <p> The problem is bjam (b2). Here is my workaround: compile bjam with your systems's gcc. Simply <code>./bootstrap.sh </code> Adapt the file <em>tools/build/v2/user-config.jam</em> like this </p> <pre class="wiki">using intel-linux : 11.1.056 : icpc : -O2 -ftz -fPIC -shared-intel -shared ; </pre><p> After adding all other stuff (like MPI) to this config file you can run bjam like this: </p> <pre class="wiki">./bjam --prefix=/sw/libraries/boost/1.47 toolset=intel-linux install </pre><p> Best regards, </p> <p> Ulf </p> </description> <category>Ticket</category> </item> <item> <dc:creator>René Rivera</dc:creator> <pubDate>Thu, 19 Jan 2012 02:42:15 GMT</pubDate> <title>component, severity, milestone changed; owner set https://svn.boost.org/trac10/ticket/5001#comment:4 https://svn.boost.org/trac10/ticket/5001#comment:4 <ul> <li><strong>owner</strong> set to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">build</span> </li> <li><strong>severity</strong> <span class="trac-field-old">Showstopper</span> → <span class="trac-field-new">Problem</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.49.0</span> </li> </ul> <p> This is likely fixed with the recent cleanup Steven did to b2 engine. So I'm downgrading as expected to work in the next release. But obviously someone needs to try the specific toolset/platform configuration. </p> Ticket csubich@… Fri, 14 Sep 2012 15:12:03 GMT <link>https://svn.boost.org/trac10/ticket/5001#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5001#comment:5</guid> <description> <p> I can confirm that this error is still present on Itanium machines with ICC 11.0 and boost 1.51.0 </p> <pre class="wiki">$ icc --version icc (ICC) 11.0 20081105 Copyright (C) 1985-2008 Intel Corporation. All rights reserved. $ ./bootstrap.sh --with-toolset=intel-linux &gt; /dev/null &amp;&amp; echo success success $ ./b2 Segmentation fault </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Fri, 14 Sep 2012 17:20:31 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5001#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5001#comment:6</guid> <description> <p> Sorry, but it seems like somebody with access to intel shall debug this, then. </p> </description> <category>Ticket</category> </item> <item> <author>stejanecek@…</author> <pubDate>Fri, 12 Apr 2013 09:44:11 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5001#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5001#comment:7</guid> <description> <p> I can only confirm this bug still exists in 1.53. </p> <p> I have now access to an Itanium machine again - is there anything I can do to help debug this? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Fri, 12 Apr 2013 14:52:21 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5001#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5001#comment:8</guid> <description> <p> Okay, first please try the current trunk. (svn checkout <a class="ext-link" href="http://svn.boost.org/svn/boost/trunk/tools/build/v2/engine"><span class="icon">​</span>http://svn.boost.org/svn/boost/trunk/tools/build/v2/engine</a> b2_source; cd b2_source; ./build.sh) Then use b2_source/bin*/b2. </p> <p> If that fails, then build b2 with --debug, and get a backtrace from the crash. If this succeeds, then we have an optimization problem. Build b2 with --symbols instead and get a backtrace. </p> <p> That should give me an idea of what to look at, and we can go from there. </p> </description> <category>Ticket</category> </item> </channel> </rss>