From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guardian To: help-gcc@gnu.org Subject: Internal compiler error Date: Fri, 01 Oct 1999 00:00:00 -0000 Message-ID: <37F26D1D.5D0D6500@sdf.lonestar.org> X-SW-Source: 1999-q3/msg00861.html Message-ID: <19991001000000.uQUtZn2FsD6po2pO-KDQ9xb3armArCPDlVOeGDUFZro@z> Comments: Buggy compiler, how to compile a compiler with a buggy compiler, what do I need to upgrade on Slackware 4.0 -- Trying to compile gcc2.95.1 While doing make bootstrap.... make[2]: Entering directory `/usr/local/src/gcc-2.95.1/objdir/gcc' stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnulibc1/bin/ -DIN_GCC -DUSE_GNULIBC_1 -O2 -g -O2 -DHAVE_CONFIG_H -I. -I/usr/local/src/gcc-2.95.1/gcc -I/usr/local/src/gcc-2.95.1/gcc/config -I/usr/local/src/gcc-2.95.1/gcc/../include \ -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i686-pc-linux-gnulibc1/2.95.1/include\" \ -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i686-pc-linux-gnulibc1/2.95.1/../../../..`echo /usr/local | sed -e 's|^/usr/local||' -e 's|/[^/]*|/..|g'`/include/g++-3\" \ -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \ -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i686-pc-linux-gnulibc1/2.95.1/../../../../i686-pc-linux-gnulibc1/sys-include\" \ -DTOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i686-pc-linux-gnulibc1/2.95.1/../../../../i686-pc-linux-gnulibc1/include\" \ -c `echo /usr/local/src/gcc-2.95.1/gcc/cccp.c | sed 's,^\./,,'` xgcc: Internal compiler error: program cc1 got fatal signal 11 make[2]: *** [cccp.o] Error 1 make[2]: Leaving directory `/usr/local/src/gcc-2.95.1/objdir/gcc' make[1]: *** [bootstrap] Error 2 make[1]: Leaving directory `/usr/local/src/gcc-2.95.1/objdir/gcc' make: *** [bootstrap] Error 2 This is one reason I want to upgrade my compiler. I did get qt 2.0 to compile but I had to disable optimize. I do want to optimize since going to all the trouble to compile. So, this is the main reason for upgrading to gcc.2.95.1 What's wrong with this compiler? Do I even need a native compiler to compile gcc-full? It say you must have automake, autoconfig, and binutils, what else? This has got me so confused I don't know what to do. I can't compile shit without going through a lot of trouble to get it to work. Then it's not compiled the way I want it; such as, no optimized code. I can find no updates for Slackware native packages anywhere; only newer or beta distributions. Must I upgrade my slackware distribution everytime I need an overhaul? Beside, that won't work cause the latest beta don't include what I want to install. My system: 233mhz Cyrix, 96megs ram, two 120meg swap partitions, and a full Slackware 4.0 install. Note: if I install binaries, well that would NOT fix my compiler problem, now would it. My current gcc usually dumps out most large g++ sources. Has anyone had this problem? Thanks, Guardian remove the obvious.