Date: Thu, 12 Oct 2000 02:43:03 -0500 From: Ben Weaver <sid67@tranquility.net> To: freebsd-stable@freebsd.org Cc: questions@freebsd.org Subject: Has my cc become corrupted? Message-ID: <20001012024303.A3305@tranquility.net>
next in thread | raw e-mail | index | archive | help
I am tracking stable and on my last cvsup I went to buildworld as usual, but unfortunately, the build froze in the middle. I was left with no alternative than to hit the reset button. It came back up OK, and seemed to be running smoothly (I didn't even need to fsck it). So I went to try to buildworld again, but it seems that the C compiler might be corrupt. Here is a part of the buildworld: <snip> -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386 DESTDIR=/usr/obj/usr/src/i386 INSTALL="sh /usr/src/tools/install.sh" MACHINE_ARCH=i386 TOOLS_PREFIX=/usr/obj/usr/src/i386 PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make -f Makefile.inc1 -DNOMAN -DNOINFO -DNOHTML bootstrap-tools cd /usr/src/usr.bin/yacc; make obj; make depend; make all; make install /usr/obj/usr/src/i386/usr/src/usr.bin/yacc created for /usr/src/usr.bin/yacc rm -f .depend mkdep -f .depend -a -I/usr/obj/usr/src/i386/usr/include /usr/src/usr.bin/yacc/closure.c /usr/src/usr.bin/yacc/error.c /usr/src/usr.bin/yacc/lalr.c /usr/src/usr.bin/yacc/lr0.c /usr/src/usr.bin/yacc/main.c /usr/src/usr.bin/yacc/mkpar.c /usr/src/usr.bin/yacc/output.c /usr/src/usr.bin/yacc/reader.c /usr/src/usr.bin/yacc/skeleton.c /usr/src/usr.bin/yacc/symtab.c /usr/src/usr.bin/yacc/verbose.c /usr/src/usr.bin/yacc/warshall.c cc: 1: Syntax error: "(" unexpected mkdep: compile failed *** Error code 1 Stop in /usr/src/usr.bin/yacc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I thought that was strange, so I tried compiling a simple Hello World program: bash-2.03$ cat hello.c int main ( ) { printf ("Hello, world!\n"); return (0); } bash-2.03$ cc hello.c bash: /usr/bin/cc: cannot execute binary file bash-2.03$ gcc hello.c bash: /usr/bin/gcc: cannot execute binary file bash-2.03$ cpp hello.c bash: /usr/bin/cpp: cannot execute binary file Any suggestions on what I might do to fix the problem? Regards, -Ben To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001012024303.A3305>