Boost C++ Libraries: Ticket #22: compilation failure on Linux RH 7.1 https://svn.boost.org/trac10/ticket/22 <pre class="wiki">OS: RH7.1 gcc: 2.96.85 The following defect stops the compilation: user@host&gt; jam -sBOOST_ROOT=. -sTOOLS="gcc" traits_type, Allocator&gt; &amp;) [with iterator = boost::re_detail::mapfile_iterator, charT = char, traits_type = boost::regex_traits&lt;char&gt;, Allocator = allocator&lt;char&gt;]': boost/regex/detail/regex_match.hpp:566: instantiated from `boost::re_detail::query_match_aux (iterator, iterator, boost::match_results&lt;iterator, Allocator&gt; &amp;, const boost::reg_expression&lt;charT, traits, Allocator2&gt; &amp;, unsigned int, boost::re_detail::_priv_match_data&lt;iterator, Allocator&gt; &amp;, iterator *) [with iterator = boost::re_detail::mapfile_iterator, Allocator = allocator&lt;char&gt;, charT = char, traits = boost::regex_traits&lt;char&gt;, Allocator2 = allocator&lt;char&gt;]' boost/regex/detail/regex_match.hpp:1114: instantiated from `boost::re_detail::reg_grep2 (Predicate, I, I, const boost::reg_expression&lt;charT, traits, Allocator2&gt; &amp;, unsigned int, A2) [with Predicate = boost::re_detail::pred4, I = boost::re_detail::mapfile_iterator, charT = char, traits = boost::regex_traits&lt;char&gt;, A = allocator&lt;char&gt;, A2 = allocator&lt;char&gt;]' boost/regex/detail/regex_match.hpp:1773: instantiated from `boost::regex_grep (Predicate, iterator, iterator, const boost::reg_expression&lt;charT, traits, Allocator2&gt; &amp;, unsigned int) [with Predicate = boost::re_detail::pred4, iterator = boost::re_detail::mapfile_iterator, charT = char, traits = boost::regex_traits&lt;char&gt;, Allocator = allocator&lt;char&gt;]' libs/regex/build/../src/cregex.cpp:387: instantiated from here boost/regex.hpp:244: Internal compiler error in scan_region, at except.c:2809 Please submit a full bug report. See &lt;URL:http://bugzilla.redhat.com/bugzilla/&gt; for instructions. g++ -c -Wall -ftemplate-depth-100 -DNDEBUG - DBOOST_RE_BUILD_DLL=1 -O4 -finline-functions -Wno- inline -fPIC -I"libs/regex/build" -I"." - o "libs/regex/build/bin/libboost_regex.so/gcc/release/r untime-link-dynamic/shared-linkable- true/cregex.o" "libs/regex/build/../src/cregex.cpp" ...failed gcc-C++-action libs/regex/build/bin/libboost_regex.so/gcc/release/runt ime-link-dynamic/shared-linkable-true/cregex.o ... gcc-C++-action libs/regex/build/bin/libboost_regex.so/gcc/release/runt ime-link-dynamic/shared-linkable-true/fileiter.o gcc-C++-action libs/regex/build/bin/libboost_regex.so/gcc/release/runt ime-link-dynamic/shared-linkable-true/posix_api.o gcc-C++-action libs/regex/build/bin/libboost_regex.so/gcc/release/runt ime-link-dynamic/shared-linkable-true/regex.o gcc-C++-action libs/regex/build/bin/libboost_regex.so/gcc/release/runt ime-link-dynamic/shared-linkable-true/regex_debug.o gcc-C++-action libs/regex/build/bin/libboost_regex.so/gcc/release/runt ime-link-dynamic/shared-linkable-true/regex_synch.o gcc-C++-action libs/regex/build/bin/libboost_regex.so/gcc/release/runt ime-link-dynamic/shared-linkable- true/w32_regex_traits.o gcc-C++-action libs/regex/build/bin/libboost_regex.so/gcc/release/runt ime-link-dynamic/shared-linkable-true/wide_posix_api.o ...skipped &lt;libs!regex! build/libboost_regex.so/gcc/release/runtime-link- dynamic/shared-linkable-true&gt;libboost_regex.so for lack of &lt;libs!regex! build/libboost_regex.so/gcc/release/runtime-link- dynamic/shared-linkable-true&gt;cregex.o... ...failed updating 2 targets... ...skipped 2 targets... ...updated 117 targets... Can someone please help me identify the cause of the problem. Is this really a compiler error as mentioned above. thanks, -Syed. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/22 Trac 1.4.3 pberndt Wed, 16 Oct 2002 12:58:18 GMT <link>https://svn.boost.org/trac10/ticket/22#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/22#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=26829 I have a very similar problem under SuSE 8.1 (gcc3.2) Also an Internal compiler error in cregex.cpp. But my gcc3.2 is completely different from your gcc2.96.85. Please let me know if you have found anything out. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Fri, 30 May 2003 11:24:05 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/22#comment:2 https://svn.boost.org/trac10/ticket/22#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=14804 Yes, it is a compiler bug - upgrading to gcc 3.3 will fix the issue. If you have a patch that fixes the problem for 2.96 then I will apply it, but I'm not going to spend time looking for one given that this is a non-official gcc release. John Maddock </pre> Ticket