Subject: gcc: Rebuild of gcc 1:2.95.2-13 from source with extra CFLAGS causes Internal compiler error (gpc1 coredumps) Package: gcc Version: 1:2.95.2-13 Severity: normal
Subject: gcc: Rebuild of gcc 1:2.95.2-13 from source with CFLAGS='-O3 - -g3' causes Internal compiler error (gpc1 coredumps) at `heap.pas', but the same file compiles fine with -O2 -g2, or -O2 -g3, or -O3 -g1 To have ``./debian/rules'' put ``-O3 -g3'' there in the first place, I changed CFLAGS and BOOT_CFLAGS in debian/rules2 to include ``-O3 -g3''. $ apt-get source gcc $ fakeroot ./debian/rules binary ... ../.././xgpc -B../.././ -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g3 -O3 -mcpu=pentiumpro -DRTS_RELEASE_STRING="'__GPC_RTS_VERSION_`cat /home/mcrogan/test/gcc-2.95.2/src/gcc/p/rts/rts_release`__'" -DBSD_RTS=0 `if [ [EMAIL PROTECTED]@ = xyes ] ; then echo -fPIC; fi` --unit-path=/home/mcrogan/test/gcc-2.95.2/src/gcc/p/rts --automake /home/mcrogan/test/gcc-2.95.2/src/gcc/p/rts/heap.pas /home/mcrogan/test/gcc-2.95.2/src/gcc/p/rts/error.pas: In function `Runtimeerror': /home/mcrogan/test/gcc-2.95.2/src/gcc/p/rts/error.pas:441: Internal compiler error in `dbxout_type', at dbxout.c:1583 Please submit a full bug report. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. gpc1: ../.././xgpc exited with status 1 /home/mcrogan/test/gcc-2.95.2/src/gcc/p/rts/heap.pas:30: module/unit `error' could not be compiled make[5]: *** [heap.o] Error 1 make[5]: Leaving directory `/usr/local/home/mcrogan/test/gcc-2.95.2/build/gcc/p/rts' make[4]: *** [pascal.rts] Error 2 $ cd gcc/p/rts $ ../.././xgpc -B../.././ -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g3 -O3 -mcpu=pentiumpro -DRTS_RELEASE_STRING="'__GPC_RTS_VERSION_`cat /home/mcrogan/test/gcc-2.95.2/src/gcc/p/rts/rts_release`__'" -DBSD_RTS=0 `if [ [EMAIL PROTECTED]@ = xyes ] ; then echo -fPIC; fi` --unit-path=/home/mcrogan/test/gcc-2.95.2/src/gcc/p/rts --automake /home/mcrogan/test/gcc-2.95.2/src/gcc/p/rts/heap.pas -O3 -g3 xgpc: Internal compiler error: program gpc1 got fatal signal 11 - -- System Information Debian Release: 2.2r4 (Stable) Kernel Version: Linux 2.2 localhost i686 Versions of the packages gcc depends on: ii binutils 2.9.5.0.37-1 The GNU assembler, linker and binary utiliti ii cpp 2.95.2-13 The GNU C preprocessor. ii libc6 2.1.3-19 GNU C Library: Shared libraries and Timezone