On Tue, 2005-08-09 at 23:53 +0200, Andi Kleen wrote:
On Tue, 09 Aug 2005 15:50:29 -0500 Kelly Burkhart
wrote: This time I set up a 'make clean; make' loop and watched it for about two hours without any problems. Then I started creating 4GB files with dd and deleting them and within 15 minutes another internal compiler error.
gcc failing like this is usually caused by hardware problems (e.g. bad DIMMs). gcc is a very good memory tester.
If you have "memory remapping" enabled in the BIOS turn it off, also make sure to run the latest BIOS. If that doesn't help it's likely broken hardware.
I'll start a memcheck, check memory mapping and BIOS version. In the mean time, is it likely that a memory problem would corrupt files which are not accessed? In the log below, nothing else is happening on this machine at the time. In a previous run of this test, the same three files were corrupted. -K tradebot@server96:~/bigfile> md5sum --check gcc-md5.txt /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/cc1: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/cc1plus: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/collect2: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/crtbegin.o: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/crtbeginS.o: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/crtbeginT.o: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/crtend.o: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/crtendS.o: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/jc1: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/jvgenmain: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/libgcc.a: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/libgcc_eh.a: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/specs: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/SYSCALLS.c.X: OK tradebot@server96:~/bigfile> while true; do rm bigfile.dd ; dd if=/dev/zero of=bigfile.dd bs=8k count=500000; md5sum --check gcc-md5.txt; sleep 20; done 500000+0 records in 500000+0 records out 4096000000 bytes (4.1 GB) copied, 43.8051 seconds, 93.5 MB/s /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/cc1: FAILED /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/cc1plus: FAILED /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/collect2: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/crtbegin.o: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/crtbeginS.o: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/crtbeginT.o: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/crtend.o: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/crtendS.o: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/jc1: FAILED /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/jvgenmain: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/libgcc.a: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/libgcc_eh.a: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/specs: OK /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/SYSCALLS.c.X: OK md5sum: WARNING: 3 of 14 computed checksums did NOT match