From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2 i686)
Description of problem:
gcc preprocessor crashes during make of source file. I suspect
this the issue is with multiple nested include files as I can
reproduce the crash immediately trying to compile any of the
four source files in the target subdir. They all include the
same master header file which in turn includes all other
files required for the project. I saved the core file.
The specific compiler version is gcc-2.96-81.src.rpm.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.run top level makefile
2.top make invokes lib subdirectory Makefile
3.lib Makefile builds one assembler module OK,
then crashes on first .c file. Reordering build of
.c files yields identical failure.
NOTE: I cannot provide the actual source as it is
protected under an NDA. Hopefully you can debug this
from the core file.
Making alldirs in /home/wbj/src/nTCI/lib ...
make: Entering directory `/home/wbj/src/nTCI/lib'
/usr/local/pthreads/bin/pgcc -c -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS
-DSRC_THROTTLE=0 -DTC_LITTLE_ENDIAN -I../include -g -UUSE_SMALL_TCIMSG=36
-USPARSE_TRAFFIC=30 misc.c protmisc.c diagsvr.c ipc.c
gcc: Internal error: Segmentation fault (program cpp0)
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make: *** [WaitFor.o] Error 1
make: Leaving directory `/home/wbj/src/nTCI/lib'
**** BUILD FAILED in /home/wbj/src/nTCI/lib - aborting
Expected Results: The top level build would successfully build each subdir
in the project in turn.
I can forward the core file. Please advise as to how.
Please try gcc-2.96-110 (and cpp-2.96-110) first.
I'll be happy to upgrade to gcc-2.96-110 (and cpp-2.96-110). Where can I get the .rpm?
I assume I can just install the .rpm atop the current gcc installation. Yes?
After downloading, just run rpm -Fvh *2.96-110*
The URL you provided appeasr to not exist. The only URL I've found off the ftp site that comes close to
matching is ftp://ftp.redhat.com/pub/redhat/redhat-7.3-en/os/i386/SRPMS/, but that directory contains
only source packages. Please check the URL and update.
Disregard previous note. I believe I found the packages you referred me to
Fri May 10 18:34:34 PDT 2002:
I've hit an impasse. I downloaded all the origianal .rpm you
pointed me to:
When I tried the install, I got a dependency error from rpm
complaining of a back leveled binutils. So, I downloaded
Now I get the following error from rpm:
error: failed dependencies:
libc.so.6(GLIBC_2.2.3) is needed by binutils-126.96.36.199.2-11
I can find no .rpm package containing either libc.so.6 or GLIBC_2.2.3
in its name. So, what package do I need to satisfy this dependency?
Looks like you're missing http://rhn.redhat.com/errata/RHSA-2001-160.html
Upgrading the C compiler and run time appeasr to have resolved the problem.
Please close this ticket. Thanks.