Boost C++ Libraries: Ticket #4585: Filesystem library causes "Internal compiler error" in gcc 3.2.3. https://svn.boost.org/trac10/ticket/4585 <p> When compiling Boost 1.44 with gcc 3.2.3, I get the following compile error in the filesystem library: </p> <p> In file included from boost/boost/filesystem/v3/operations.hpp:25, </p> <blockquote> <p> from boost/libs/filesystem/v3/src/operations.cpp:48: </p> </blockquote> <p> boost/boost/filesystem/v3/path.hpp: In member function `const std::string </p> <blockquote> <p> boost::filesystem3::path::file_string() const': </p> </blockquote> <p> boost/boost/filesystem/v3/path.hpp:270: Internal compiler error in walk_tree, </p> <blockquote> <p> at tree-inline.c:1326 </p> </blockquote> <p> I am using v2 of the filesystem library, not v3, but apparently v3 is built and included in libboost_filesystem even though I'm not using it. </p> <p> I have no idea what this means or what's causing it, so I'm submitting it to you. Of course, I can work around it by modifying the Jamfile for filesystem. But it would be best if Boost just worked instead of forcing me to patch it for each system. </p> <p> By the way, there is no chance that I will be able to use a newer gcc (than 3.2.3) anytime soon. This is code for a system where one of the parties supplying code is unwilling to reveal their source code or recompile it with a newer gcc. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4585 Trac 1.4.3 Beman Dawes Tue, 24 Aug 2010 15:45:28 GMT <link>https://svn.boost.org/trac10/ticket/4585#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4585#comment:1</guid> <description> <p> The V3 code is skipped if BOOST_NO_STD_WSTRING is defined, so an immediate workaround might be to rebuild with BOOST_NO_STD_WSTRING defined on the command line for whatever build engine you are using. </p> <p> That may cause trouble with if you are actually relying on wstring support, so a longer term fix may be to add and additional macro. I'll give that a bit more thought, but in the meantime will leave this ticket open. </p> <p> Thanks, </p> <p> --Beman </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Beman Dawes</dc:creator> <pubDate>Tue, 12 Apr 2011 20:47:50 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4585#comment:2 https://svn.boost.org/trac10/ticket/4585#comment:2 <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> Adding --disable-filesystem3 to the bjam command line will now disable building of V3 components. </p> <p> --Beman </p> Ticket