Date: Wed, 13 Mar 2002 21:51:16 -0500 From: "Callum M. Duncan" <callum@bebox.net> To: freebsd-stable@freebsd.org Subject: Recent STABLE build killed compiler? Message-ID: <20020313215116.B7433@bebox.net>
next in thread | raw e-mail | index | archive | help
It appears that a recent build of STABLE killed my ability to compile things. :-( Now when I attempt to compile _anything_ I get cc: Internal compiler error: program cc1 got fatal signal 11 Example: innocence# /usr/bin/cc hello.c -o hello.c cc: Internal compiler error: program cc1 got fatal signal 11 innocence# ls -ld /usr/bin/cc -r-xr-xr-x 2 root wheel 70152 Mar 10 21:19 /usr/bin/cc This corresponds to the date of my system upgrade and I virtually certain that I followed the accepted method of doing so: make buildworld make buildkernel KERNCONF=GENERIC make buildkernel KERNCONF=INNOCENCE make installkernel KERNCONF=GENERIC reboot (to single user) make installworld mergemaster reboot make installkernel KERNCONF=INNOCENCE reboot ... The server was first built at approximately Mar 3 14:18 from stable sources. Just you can tell it's not my C code at fault, here it is: (and the problem occurs with all code to be compiled, like everything in ports...) innocence# cat hello.c main() { (void)printf("Hello world\n"); return(0); } If it will help diagnose what version of the binaries I have, here are some MD5 checksum's... MD5 (/usr/bin/cc) = 9b61546f7cbba9f8e9782be0a61698e0 MD5 (/usr/libexec/cpp0) = 82d315ee8e8a5a7f31b80a8857f8a7e7 MD5 (/usr/libexec/cc1) = f9cba7938ffeb944932553f3e5751fc4 Basically I would just like to be able to get a working compiler on here so I can rebuild World as soon as possible. Never had *this* happen before! :-) If I could have provided more(/less) useful information, please advise me for next time. Thanks! Callum PS. if anyone wants to see a truss of the compiler, here it is: # truss /usr/bin/cc hello.c -o hello > /tmp/TRUSS 2>&1 # cat /tmp/TRUSS cc: Internal compiler error: program cc1 got fatal signal 11 __sysctl(0xbfbffa48,0x2,0x2806ada8,0xbfbffa44,0x0,0x0) = 0 (0x0) mmap(0x0,32768,0x3,0x1002,-1,0x0) = 671531008 (0x2806c000) geteuid() = 0 (0x0) getuid() = 0 (0x0) getegid() = 0 (0x0) getgid() = 0 (0x0) open("/var/run/ld-elf.so.hints",0x0,00) = 3 (0x3) read(0x3,0xbfbffa28,0x80) = 128 (0x80) lseek(3,0x80,0) = 128 (0x80) read(0x3,0x28070000,0x37) = 55 (0x37) close(3) = 0 (0x0) access("/usr/lib/libc.so.4",0) = 0 (0x0) open("/usr/lib/libc.so.4",0x0,027757775240) = 3 (0x3) fstat(3,0xbfbffa70) = 0 (0x0) read(0x3,0xbfbfea40,0x1000) = 4096 (0x1000) mmap(0x0,626688,0x5,0x2,3,0x0) = 671563776 (0x28074000) mmap(0x280f4000,20480,0x3,0x12,3,0x7f000) = 672088064 (0x280f4000) mmap(0x280f9000,81920,0x3,0x1012,-1,0x0) = 672108544 (0x280f9000) close(3) = 0 (0x0) sigaction(SIGILL,0xbfbffac8,0xbfbffab0) = 0 (0x0) sigprocmask(0x1,0x0,0x2806acdc) = 0 (0x0) sigaction(SIGILL,0xbfbffab0,0x0) = 0 (0x0) sigprocmask(0x1,0x2806aca0,0xbfbffaf0) = 0 (0x0) sigprocmask(0x3,0x2806acb0,0x0) = 0 (0x0) sigaction(SIGINT,0xbfbffad4,0xbfbffabc) = 0 (0x0) sigaction(SIGINT,0xbfbffae4,0xbfbffacc) = 0 (0x0) sigaction(SIGHUP,0xbfbffae4,0xbfbffacc) = 0 (0x0) sigaction(SIGHUP,0xbfbffae4,0xbfbffacc) = 0 (0x0) sigaction(SIGTERM,0xbfbffae4,0xbfbffacc) = 0 (0x0) sigaction(SIGTERM,0xbfbffae4,0xbfbffacc) = 0 (0x0) sigaction(SIGPIPE,0xbfbffae4,0xbfbffacc) = 0 (0x0) sigaction(SIGPIPE,0xbfbffae4,0xbfbffacc) = 0 (0x0) readlink("/etc/malloc.conf",0xbfbffa6c,63) ERR#2 'No such file or directory' mmap(0x0,4096,0x3,0x1002,-1,0x0) = 672190464 (0x2810d000) break(0x805b000) = 0 (0x0) break(0x805c000) = 0 (0x0) break(0x805d000) = 0 (0x0) break(0x805e000) = 0 (0x0) break(0x805f000) = 0 (0x0) break(0x8060000) = 0 (0x0) open("/etc/objformat",0x0,0666) = 3 (0x3) fstat(3,0xbfbff4fc) = 0 (0x0) break(0x8064000) = 0 (0x0) read(0x3,0x8060000,0x4000) = 14 (0xe) read(0x3,0x8060000,0x4000) = 0 (0x0) close(3) = 0 (0x0) access("hello.c",4) = 0 (0x0) access("/usr/libexec/specs",4) ERR#2 'No such file or directory' access("/tmp",7) = 0 (0x0) gettimeofday(0xbfbff5dc,0x0) = 0 (0x0) getpid() = 7228 (0x1c3c) open("/dev/urandom",0x0,00) = 3 (0x3) read(0x3,0xbfbff5e8,0x74) = 116 (0x74) close(3) = 0 (0x0) stat("/tmp",0xbfbff6dc) = 0 (0x0) open("/tmp/cclbz8kh.i",0xa02,0600) = 3 (0x3) close(3) = 0 (0x0) access("/usr/libexec/elf/cpp0",1) ERR#2 'No such file or directory' access("/usr/libexec/cpp0",1) = 0 (0x0) vfork() = 7229 (0x1c3d) SIGNAL 20 wait4(0xffffffff,0xbfbffa60,0x0,0x0) = 7229 (0x1c3d) break(0x8065000) = 0 (0x0) access("/tmp",7) = 0 (0x0) stat("/tmp",0xbfbff62c) = 0 (0x0) open("/tmp/cceTaoQR.s",0xa02,0600) = 3 (0x3) close(3) = 0 (0x0) access("/usr/libexec/elf/cc1",1) ERR#2 'No such file or directory' access("/usr/libexec/cc1",1) = 0 (0x0) vfork() = 7230 (0x1c3e) SIGNAL 20 wait4(0xffffffff,0xbfbff850,0x0,0x0) = 7230 (0x1c3e) write(2,0xbfbff0d4,4) = 4 (0x4) write(2,0xbfbff0f4,56) = 56 (0x38) write(2,0xbfbff0d4,1) = 1 (0x1) stat("/tmp/cceTaoQR.s",0xbfbff73c) = 0 (0x0) unlink(0x8060250) = 0 (0x0) stat("/tmp/cclbz8kh.i",0xbfbff73c) = 0 (0x0) unlink(0x80601d0) = 0 (0x0) sigprocmask(0x1,0x2806aca0,0xbfbff75c) = 0 (0x0) sigprocmask(0x3,0x2806acb0,0x0) = 0 (0x0) exit(0x1) process exit, rval = 256 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020313215116.B7433>