Boost C++ Libraries: Ticket #9093: cc1plus.exe crashes building math lib with MinGW-x64-4.8.1-posix-seh https://svn.boost.org/trac10/ticket/9093 <p> When building boost with MinGW-x64-4.8.1-posix-seh cc1plus.exe crashes due to running out of memory. Adding the -Wl,--enable-large-address-aware flag solves the issue. </p> <p> I don't really understand Boost Jam to fully formulate a patch for the project, I just added &lt;cxxflags&gt;-Wl,--enable-large-address-aware to each of the lib objects in the Jamfile.v2 for the math library to get it to build. I'm not sure how to write a test for a crashing compiler to determine if the flag needs to be enabled. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9093 Trac 1.4.3 Matt Clarkson <mattyclarkson@…> Mon, 09 Sep 2013 10:25:45 GMT <link>https://svn.boost.org/trac10/ticket/9093#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9093#comment:1</guid> <description> <p> In fact, looking at this again, just changing the following lines in <code>boost_1_54_0\libs\math\build\Jamfile.v2</code>: </p> <pre class="wiki">&lt;link&gt;shared:&lt;define&gt;BOOST_MATH_TR1_DYN_LINK=1 </pre><p> to </p> <pre class="wiki">&lt;link&gt;shared:&lt;define&gt;BOOST_MATH_TR1_DYN_LINK=0 </pre><p> fixes the crash. Which seems strange. </p> </description> <category>Ticket</category> </item> <item> <author>Matt Clarkson <mattyclarkson@…></author> <pubDate>Mon, 09 Sep 2013 11:43:19 GMT</pubDate> <title>component changed https://svn.boost.org/trac10/ticket/9093#comment:2 https://svn.boost.org/trac10/ticket/9093#comment:2 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">Building Boost</span> </li> </ul> <p> This is a problem with MinGW not Boost. Just specify <code>pch=off</code> on the command line and it'll compile. </p> <p> This can be closed (I can't seem to close it myself) </p> Ticket viboes Sat, 12 Oct 2013 13:11:50 GMT component changed; owner set https://svn.boost.org/trac10/ticket/9093#comment:3 https://svn.boost.org/trac10/ticket/9093#comment:3 <ul> <li><strong>owner</strong> set to <span class="trac-author">John Maddock</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">math</span> </li> </ul> Ticket John Maddock Sat, 12 Oct 2013 16:08:25 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9093#comment:4 https://svn.boost.org/trac10/ticket/9093#comment:4 <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">worksforme</span> </li> </ul> <p> The next release will use pch=off by default for gcc-mingw and the build works fine for me here, so closing down. </p> Ticket