Bug 79856

Summary: make of gcc-3.2.1 fails on RH7.1 gcc-2.96-112
Product: [Retired] Red Hat Linux Reporter: Oliver Kellogg <oliver.kellogg>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-07 16:57:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Oliver Kellogg 2002-12-17 16:18:33 UTC
Description of problem:

Building of gcc-3.2.1 from sources fails on RH7.1 gcc-2.96-112.

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

How reproducible:
Deterministic, see below.

Steps to Reproduce:

I downloaded the gcc-3.2.1 source tarball from gcc.gnu.org and did the
following:

cd /usr/src/packages/SOURCES
tar xvjf gcc-3.2.1.tar.bz2
cd /usr/src/packages/BUILD
mkdir gcc321-build
cd gcc321-build
mkdir /opt/gcc3
../../SOURCES/configure --prefix=/opt/gcc3

While the configure went fine, the make failed as follows:

[...]
make[1]: Leaving directory `/usr/src/packages/BUILD/gcc321-build/gcc'
Configuring in i686-pc-linux-gnu/libstdc++-v3
configure: warning: c++: invalid host type
configure: error: can only configure for one host and one target at a
time
make: *** [configure-target-libstdc++-v3] Error 1

To get some more detail, I did

cd i686-pc-linux-gnu/libstdc++-v3
../../../../SOURCES/gcc-3.2.1/libstdc++-v3/configure --prefix=/opt/gcc3

[...]
checking for thread model used by GCC... 
../../../../SOURCES/gcc-3.2.1/libstdc++-v3/configure: test: !=: unary
operator expected
checking for exception model to use... configure: error: unable to detect
exception model

I use your gcc-2.96-112 and glibc-2.2.4-19 RPMs and a homemaid 2.4.18-17.7.x
kernel.
 
Actual results:
"configure" of gcc-3.2.1 aborts as above.

Expected results:
"configure" should run to completion.

Additional info:

Comment 1 Jakub Jelinek 2003-01-07 16:57:45 UTC
This doesn't look like a bug in gcc-2.96-112.