Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 83628 - gcc-3.0.4 fails to build
Summary: gcc-3.0.4 fails to build
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc3
Version: 8.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2003-02-06 15:13 UTC by Michael Meeks
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-02-06 16:19:14 UTC

Attachments (Terms of Use)

Description Michael Meeks 2003-02-06 15:13:32 UTC
With a clean, minimal RH 8.0 install, I try to build gcc-3.0.4 [ since I need
it's ABI ]:
mkdir ~/tmp ; cd ~/tmp
tar xzf gcc-3.0.4
cd gcc*
./configure --prefix=/home/michael/tmp
In file included from
   constructor `std::ctype<char>::ctype(const short unsigned int*, bool, 
   unsigned int)':
   undeclared (first use this function)
   undeclared identifier is reported only once for each function it appears 
   undeclared (first use this function)
   undeclared (first use this function)
make[3]: *** [locale.lo] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
make: *** [all-target-libstdc++-v3] Error 2

Other compilers such as gcc-3.2.1 build just fine; this same package builds
perfectly on RH 7.3. Is it not the case that gcc should be buildable on a load
of different, flakey systems such as AIX, Solaris etc. ? what gives ? glibc ?

Comment 1 Jakub Jelinek 2003-02-06 16:19:14 UTC
libstdc++-v3 makes fairly big assumptions about glibc headers on glibc systems,
and these assumptions are no longer true in glibc 2.3+.
So you need to patch gcc 3.0.4 if you want to build it.

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