GCC 4.5 downloaded from http://mirror.csclub.uwaterloo.ca/gnu/ will not build on my CentOS 5.5 system. - System has all updates applied as of May 20, 2010 - Only base vendor supplied RPMS except for the following: - MySQL 5.5.3 as an RPM from OurDelta (unrelated I am sure) - Mono 2.6.4 built from source (unrelated I am sure) - GMP 5.0.1 built from source (for this build) - MPFR 2.4.2 built from source (for this build) - MPC 0.8.2 built from source (for this build) All software built from source built with using the following line at the bash prompt: ./configure --prefix=/usr && make && make install Compiler used was gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48) RPM version of GLIBC is 2.5-49 The above was also used for the gcc build. Last output of compile follows: /usr/src/gcc/gcc-4.5.0/host-i686-pc-linux-gnu/prev-gcc/xgcc -B/usr/src/gcc/gcc-4.5.0/host-i686-pc-linux-gnu/prev-gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -g -O2 -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/genattrtab \ build/genattrtab.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/errors.o ../../host-i686-pc-linux-gnu/libiberty/libiberty.a build/genattrtab ../.././gcc/config/i386/i386.md \ insn-conditions.md > tmp-attrtab.c /bin/sh ../.././gcc/../move-if-change tmp-attrtab.c insn-attrtab.c echo timestamp > s-attrtab /usr/src/gcc/gcc-4.5.0/host-i686-pc-linux-gnu/prev-gcc/xgcc -B/usr/src/gcc/gcc-4.5.0/host-i686-pc-linux-gnu/prev-gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -c -g -O2 -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I../.././gcc/../libcpp/include -I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/bid -I../libdecnumber insn-attrtab.c -o insn-attrtab.o xgcc: Internal error: Killed (program cc1) Please submit a full bug report. See <http://gcc.gnu.org/bugs.html> for instructions. make[3]: *** [insn-attrtab.o] Error 1 make[3]: Leaving directory `/usr/src/gcc/gcc-4.5.0/host-i686-pc-linux-gnu/gcc' make[2]: *** [all-stage3-gcc] Error 2 make[2]: Leaving directory `/usr/src/gcc/gcc-4.5.0' make[1]: *** [stage3-bubble] Error 2 make[1]: Leaving directory `/usr/src/gcc/gcc-4.5.0' make: *** [all] Error 2
>xgcc: Internal error: Killed (program cc1) How much memory do you have? Do you have virtual memory setup?
(In reply to comment #1) > >xgcc: Internal error: Killed (program cc1) > > How much memory do you have? Do you have virtual memory setup? > MemTotal: 368864 kB MemFree: 14316 kB Buffers: 7844 kB Cached: 179256 kB SwapCached: 3376 kB Active: 228756 kB Inactive: 90624 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 368864 kB LowFree: 14316 kB SwapTotal: 262136 kB SwapFree: 432 kB Dirty: 5880 kB Writeback: 0 kB AnonPages: 130144 kB Mapped: 20616 kB Slab: 17500 kB PageTables: 3272 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 446568 kB Committed_AS: 777500 kB VmallocTotal: 487416 kB VmallocUsed: 2228 kB VmallocChunk: 485188 kB
Starting the compile again from unpacked the tar file through to build stops in exactly the same spot.
I doubled the amount of RAM below and am trying again. I will update here if it works. (In reply to comment #2) > (In reply to comment #1) > > >xgcc: Internal error: Killed (program cc1) > > > > How much memory do you have? Do you have virtual memory setup? > > > > MemTotal: 368864 kB > MemFree: 14316 kB > Buffers: 7844 kB > Cached: 179256 kB > SwapCached: 3376 kB > Active: 228756 kB > Inactive: 90624 kB > HighTotal: 0 kB > HighFree: 0 kB > LowTotal: 368864 kB > LowFree: 14316 kB > SwapTotal: 262136 kB > SwapFree: 432 kB > Dirty: 5880 kB > Writeback: 0 kB > AnonPages: 130144 kB > Mapped: 20616 kB > Slab: 17500 kB > PageTables: 3272 kB > NFS_Unstable: 0 kB > Bounce: 0 kB > CommitLimit: 446568 kB > Committed_AS: 777500 kB > VmallocTotal: 487416 kB > VmallocUsed: 2228 kB > VmallocChunk: 485188 kB >
With more RAM, the compile completed successfully (In reply to comment #4) > I doubled the amount of RAM below and am trying again. I will update here if > it works. > > (In reply to comment #2) > > (In reply to comment #1) > > > >xgcc: Internal error: Killed (program cc1) > > > > > > How much memory do you have? Do you have virtual memory setup? > > > > > > > MemTotal: 368864 kB > > MemFree: 14316 kB > > Buffers: 7844 kB > > Cached: 179256 kB > > SwapCached: 3376 kB > > Active: 228756 kB > > Inactive: 90624 kB > > HighTotal: 0 kB > > HighFree: 0 kB > > LowTotal: 368864 kB > > LowFree: 14316 kB > > SwapTotal: 262136 kB > > SwapFree: 432 kB > > Dirty: 5880 kB > > Writeback: 0 kB > > AnonPages: 130144 kB > > Mapped: 20616 kB > > Slab: 17500 kB > > PageTables: 3272 kB > > NFS_Unstable: 0 kB > > Bounce: 0 kB > > CommitLimit: 446568 kB > > Committed_AS: 777500 kB > > VmallocTotal: 487416 kB > > VmallocUsed: 2228 kB > > VmallocChunk: 485188 kB > > >