Trying to build gcc-3.4.4 on :
Linux 2.6.11-1.1369_FC4smp #1 SMP x86_64 x86_64 x86_64 GNU/Linux

Used:
./configure --prefix=/usr/local --program-suffix=-3.4.4
make CC='gcc32' -j 1 bootstrap
Also tried with -j 2 with same results.

Always reproducible.

Fails to bootstrap:
make GCC_FOR_TARGET=" ./xgcc -B./ -B/usr/local/x86_64-unknown-linux-gnu/bin/
-isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include
-L/usr/local/src/gcc-3.4.4/gcc/../ld" \
  AR_FOR_TARGET="` if [ -f /usr/local/src/gcc-3.4.4/gcc/../binutils/ar ] ; then
echo /usr/local/src/gcc-3.4.4/gcc/../binutils/ar ; else if [
"x86_64-unknown-linux-gnu" = "x86_64-unknown-linux-gnu" ] ; then echo ar; else
t='s,-3.4.4,;'; echo ar | sed -e  ; fi; fi`" \
  AR_CREATE_FOR_TARGET="` if [ -f /usr/local/src/gcc-3.4.4/gcc/../binutils/ar ]
; then echo /usr/local/src/gcc-3.4.4/gcc/../binutils/ar ; else if [
"x86_64-unknown-linux-gnu" = "x86_64-unknown-linux-gnu" ] ; then echo ar; else
t='s,-3.4.4,;'; echo ar | sed -e  ; fi; fi`  rc" \
  AR_EXTRACT_FOR_TARGET="` if [ -f /usr/local/src/gcc-3.4.4/gcc/../binutils/ar
] ; then echo /usr/local/src/gcc-3.4.4/gcc/../binutils/ar ; else if [
"x86_64-unknown-linux-gnu" = "x86_64-unknown-linux-gnu" ] ; then echo ar; else
t='s,-3.4.4,;'; echo ar | sed -e  ; fi; fi`  x" \
  AR_FLAGS_FOR_TARGET="" \
  CC="gcc32" CFLAGS="-g  -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long  " \
  BUILD_PREFIX="" \
  BUILD_PREFIX_1="ignore-" \
  LANGUAGES="c " \
  LIBGCC2_CFLAGS="-O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -m32 "  \
  MULTILIB_CFLAGS=" -m32" T=32/ 32/crtbeginT.o
make[4]: Entering directory `/usr/local/src/gcc-3.4.4/gcc'
./xgcc -B./ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include
-L/usr/local/src/gcc-3.4.4/gcc/../ld -O2 -DIN_GCC    -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include  -I. -I32 -I. -I./32 -I./../include  -m32 -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer
-fno-asynchronous-unwind-tables -fPIC \
   -c ./crtstuff.c -DCRT_END -DCRTSTUFFS_O \
  -o 32/crtendS.o
xgcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [32/crtendS.o] Error 1
make[4]: Leaving directory `/usr/local/src/gcc-3.4.4/gcc'
make[3]: *** [32/crtendS.o] Error 2
make[3]: *** Waiting for unfinished jobs....
make[4]: Entering directory `/usr/local/src/gcc-3.4.4/gcc'
./xgcc -B./ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include
-L/usr/local/src/gcc-3.4.4/gcc/../ld -O2 -DIN_GCC    -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include  -I. -I32 -I. -I./32 -I./../include  -m32 -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer
-fno-asynchronous-unwind-tables \
   -c ./crtstuff.c -DCRT_BEGIN -DCRTSTUFFT_O \
  -o 32/crtbeginT.o
make[4]: Leaving directory `/usr/local/src/gcc-3.4.4/gcc'
make[3]: Leaving directory `/usr/local/src/gcc-3.4.4/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/usr/local/src/gcc-3.4.4/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-3.4.4/gcc'
make: *** [bootstrap] Error 2


-- 
           Summary: gcc-3.4.4 fails to bootstrap: xgcc: Internal error:
                    Segmentation fault (program cc1)
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: page dot christian at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24237

Reply via email to