Bug 63960 - Compiling boost regex packages crashes compiler
Summary: Compiling boost regex packages crashes compiler
Keywords:
Status: CLOSED DUPLICATE of bug 51567
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-22 18:37 UTC by Richard Munroe
Modified: 2007-04-18 16:42 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-04-22 18:37:23 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard Munroe 2002-04-22 18:37:18 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.4) Gecko/20011130
Netscape6/6.2.1

Description of problem:
[root@linux build]# make -fgcc.mak
mkdir -p gcc
mkdir -p gcc/boost_regex
g++  -o gcc/boost_regex/c_regex_traits.o -c -O2 -I../../../ 
../src/c_regex_traits.cpp
g++  -o gcc/boost_regex/c_regex_traits_common.o -c -O2 -I../../../ 
../src/c_regex_traits_common.cpp
g++  -o gcc/boost_regex/cpp_regex_traits.o -c -O2 -I../../../ 
../src/cpp_regex_traits.cpp
g++  -o gcc/boost_regex/cregex.o -c -O2 -I../../../  ../src/cregex.cpp
../../../boost/regex.hpp: In function `iterator 
boost::re_detail::re_is_set_member (iterator, iterator, const 
boost::re_detail::re_set_long *, const boost::reg_expression<charT, 
traits_type, Allocator> &) [with iterator = 
boost::re_detail::mapfile_iterator, charT = char, traits_type = 
boost::regex_traits<char>, Allocator = allocator<char>]':
../../../boost/regex/detail/regex_match.hpp:600:   instantiated from
`boost::re_detail::query_match_aux (iterator, iterator,
boost::match_results<iterator, Allocator> &, const boost::reg_expression<charT,
traits, Allocator2> &, unsigned int,
boost::re_detail::_priv_match_data<iterator, Allocator> &, iterator *) [with
iterator = boost::re_detail::mapfile_iterator, Allocator = allocator<char>,
charT = char, traits = boost::regex_traits<char>, Allocator2 = allocator<char>]'
../../../boost/regex/detail/regex_match.hpp:1177:   instantiated from
`boost::re_detail::reg_grep2 (Predicate, I, I, const
boost::reg_expression<charT, traits, Allocator2> &, unsigned int, A2) [with
Predicate = boost::re_detail::pred4, I = boost::re_detail::mapfile_iterator,
charT = char, traits = boost::regex_traits<char>, A = allocator<char>, A2 =
allocator<char>]'
../../../boost/regex/detail/regex_match.hpp:1836:   instantiated from
`boost::regex_grep (Predicate, iterator, iterator, const
boost::reg_expression<charT, traits, Allocator2> &, unsigned int) [with
Predicate = boost::re_detail::pred4, iterator =
boost::re_detail::mapfile_iterator, charT = char, traits =
boost::regex_traits<char>, Allocator = allocator<char>]'
../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 <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make: *** [gcc/boost_regex/cregex.o] Error 1
[root@linux build]# g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)
[root@linux build]# 

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. See description, above.
2.
3.
	

Expected Results:  The package should have compiled correctly.

Additional info:

The boost package being compiled is in the boost 1.27.0 release.

Comment 1 Jakub Jelinek 2002-04-23 09:35:36 UTC
gcc-2.96-85 is way too old.
Upgrade to at least RHL 7.2's gcc or even better some more recent one
(like gcc-2.96-110).

*** This bug has been marked as a duplicate of 51567 ***


Note You need to log in before you can comment on or make changes to this bug.