Boost C++ Libraries: Ticket #2546: Cannot build bjam on Linux with vacpp https://svn.boost.org/trac10/ticket/2546 <p> If we try to build bjam on linux using xlC the build fails because of an invalid linker option. The file tools/jam/src/build.jam has the following: </p> <p> ## IBM <a class="missing wiki">VisualAge</a> C++ toolset vacpp xlc : "-o " : -D </p> <blockquote> <p> : [ opt --release : -s -O3 -qstrict -qinline ] [ opt --debug : -g -qNOOPTimize -qnoinline -pg ] -I$(--python-include) -I$(--extra-include) : -L$(--python-lib<a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a>) -l$(--python-lib<a class="changeset" href="https://svn.boost.org/trac10/changeset/2" title="Add Boost Disclaimer">[2]</a>) -bmaxdata:0x40000000 ; </p> </blockquote> <p> The -bmaxdata linker option is only valid on AIX. If I am building with xlC on Linux that linker option should not be specified. </p> <p> The change in the patch file is: </p> <p> ## IBM <a class="missing wiki">VisualAge</a> C++ { local linkopt = ; if $(OS) = AIX { linkopt = -bmaxdata:0x40000000 ; } toolset vacpp xlc : "-o " : -D </p> <blockquote> <p> : [ opt --release : -s -O3 -qstrict -qinline ] [ opt --debug : -g -qNOOPTimize -qnoinline -pg ] -I$(--python-include) -I$(--extra-include) : -L$(--python-lib<a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a>) -l$(--python-lib<a class="changeset" href="https://svn.boost.org/trac10/changeset/2" title="Add Boost Disclaimer">[2]</a>) $(linkopt) ; </p> </blockquote> <p> } </p> <p> Rene: I couldn't find a uname that worked so I left it as OS </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2546 Trac 1.4.3 ccambly@… Fri, 28 Nov 2008 15:19:52 GMT attachment set https://svn.boost.org/trac10/ticket/2546 https://svn.boost.org/trac10/ticket/2546 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">build.jam.patch</span> </li> </ul> <p> Patch for tools/jam/src/build.jam and vacpp(xlC) </p> Ticket René Rivera Fri, 28 Nov 2008 16:25:57 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2546#comment:1 https://svn.boost.org/trac10/ticket/2546#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/49990" title="Fix compiling with vacpp on non-AIX systems. (fixes #2546)">[49990]</a>) Fix compiling with vacpp on non-AIX systems. (fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2546" title="#2546: Bugs: Cannot build bjam on Linux with vacpp (closed: fixed)">#2546</a>) </p> Ticket René Rivera Fri, 28 Nov 2008 16:27:02 GMT component changed https://svn.boost.org/trac10/ticket/2546#comment:2 https://svn.boost.org/trac10/ticket/2546#comment:2 <ul> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">bjam</span> </li> </ul> Ticket René Rivera Fri, 28 Nov 2008 16:27:54 GMT milestone changed https://svn.boost.org/trac10/ticket/2546#comment:3 https://svn.boost.org/trac10/ticket/2546#comment:3 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost.Jam 3.1.18</span> → <span class="trac-field-new">Boost.Jam 3.1.17</span> </li> </ul> Ticket