From owner-freebsd-questions Thu Oct 12 0:41: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from copernicus.tranquility.net (copernicus.tranquility.net [206.152.117.186]) by hub.freebsd.org (Postfix) with ESMTP id CDFA437B66C; Thu, 12 Oct 2000 00:40:56 -0700 (PDT) Received: (from sid67@localhost) by copernicus.tranquility.net (8.11.0/8.11.0) id e9C7h3403438; Thu, 12 Oct 2000 02:43:03 -0500 (CDT) (envelope-from sid67) Date: Thu, 12 Oct 2000 02:43:03 -0500 From: Ben Weaver To: freebsd-stable@freebsd.org Cc: questions@freebsd.org Subject: Has my cc become corrupted? Message-ID: <20001012024303.A3305@tranquility.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: -------------------------------------------------------------- >>> 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