From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9f3595f6ae0ade6608cea35d091562ac.axp-list@archive.invalid> X-Archive-Original-Message-ID: <252cf9c0.415aa-dworz@amazing.ch> Date: Mon, 6 Oct 1997 12:56:20 -0500 From: Kees Cook Subject: GCC internal error, signal 6 ?? I'm running on a 166 UDB, Redhat 4.2 install, 2.0.30 kernel (from RedHat 4.2 kernel-source rpm, tho I recompiled it), latest MILO, gcc 2.7.2.1 (RedHat 4.2 rpm) and I've been trying to compile PGG 2.6.3ii. Using the default "linux" entry in the makefile minus the -DASM and the intel ASM .o's, I get really weird stuff happening. I'm not even doing this as superuser. Once gcc makes it to "crypt.o", it causes VFS errors, and eventually gcc dies with "gcc: Internal compiler error: program cc1 got fatal signal 6": [cook] /usr/local/encap-src/pgp263ii/src > make alpha-linux make all CC="gcc" LD=gcc \ CFLAGS="-I../../rsaref/source -I../../rsaref/test -O6 -g3 -DUNIX -DLINUX -DIDEA32" make[1]: Entering directory `/usr/local/encap-src/pgp263ii/src' gcc -I../../rsaref/source -I../../rsaref/test -O6 -g3 -DUNIX -DLINUX -DIDEA32 -c pgp.c -o pgp.o gcc -I../../rsaref/source -I../../rsaref/test -O6 -g3 -DUNIX -DLINUX -DIDEA32 -c crypto.c -o crypto.o gcc: Internal compiler error: program cc1 got fatal signal 6 make[1]: *** [crypto.o] Error 1 make[1]: Leaving directory `/usr/local/encap-src/pgp263ii/src' make: *** [alpha-linux] Error 2 And then in my syslog, I find things like this: Oct 6 11:55:27 kernel: ext2_free_blocks: nonexistent device<1>Unable to handle kernel paging request at virtual address 4857525042000000 Oct 6 11:55:27 kernel: update(293): Oops 0 Oct 6 11:55:27 kernel: pc = [] ps = 0000 Oct 6 11:55:27 kernel: rp = [] sp = fffffc00037dde38 Oct 6 11:55:27 kernel: r0=0 r1=48575650411d6998 r2=0 r3=0 Oct 6 11:55:27 kernel: r8=7 Oct 6 11:55:27 kernel: r16=fffffc0000e29670 r17=0 r18=400 r19=0 Oct 6 11:55:27 kernel: r20=1 r21=11ffffb18 r22=3 r23=fffffc00003903dc Oct 6 11:55:27 kernel: r24=4a082 r25=800 r26=fffffc00003393fc r27=fffffc000031af48 Oct 6 11:55:27 kernel: r28=0 r29=fffffc00004690f0 r30=fffffc00037dde38 Oct 6 11:55:27 kernel: Code: a5dd8cf8 a5bd8378 47ff041f a5290008 e460002d a4230000 40205521 e4200003 Other examples: Oct 6 02:06:15 kernel: iput: inode 18446739675667431384 on device 00:00 still has mappings. Oct 6 02:25:04 kernel: ext2_free_blocks: nonexistent deviceVFS: iput: trying to free free inode Oct 6 02:25:04 kernel: VFS: device 81:80, inode 0, mode=00004003 The only device I have mounted is sda3. (I'm also running automount.) The other strange thing (may be related, but only gcc on that one file dies) is that I'm getting uncorrectable machine checks: Oct 6 09:19:10 kernel: lca: machine check (la=0xfffffc00002084d0,pc=0x120043ffc) Oct 6 09:19:10 kernel: Reason: non-correctable ECC error (long frame): Oct 6 09:19:10 kernel: reason: 155555e1a69 exc_addr:120043ffc dc_stat: 7 Oct 6 09:19:10 kernel: car: 21b01141 Oct 6 09:19:10 kernel: Uncorrectable write error to memory occurred at address 3d2c590 Oct 6 09:19:10 kernel: + 0 0000000000000198 0000019800000110 Oct 6 09:19:10 kernel: + 10 0000000100000088 00000155555e1a69 I've read that this might be due to heat? I used to have a lot of them, but I took the case off, and now have a box fan blowing on the MB. Now I only get them occasionally. The machine checks don't seem to be related to the gcc error (times seem too far apart). Also, the gcc error is _repeatable_. Every time I try to compile that file, it dies with signal 6. Not always do I get the VFS weirdness, but when I do, it happens during the compile right before gcc dies. Does anyone have a guess to whether this is RAM, heat, bad kernel, and/or bad gcc? -- Cornelius "Kees" Cook cook@cpoint.net Senior Systems Operation Manager, Counterpoint Networking, Inc. http://www.cpoint.net/ -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com