From owner-freebsd-stable Wed Aug 21 21:41:18 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26FF637B400 for ; Wed, 21 Aug 2002 21:41:12 -0700 (PDT) Received: from a2.scoop.co.nz (aurora.scoop.co.nz [203.96.152.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32C5343E84 for ; Wed, 21 Aug 2002 21:41:08 -0700 (PDT) (envelope-from andrew@scoop.co.nz) Received: from localhost (localhost [127.0.0.1]) by a2.scoop.co.nz (8.12.2/8.12.2) with ESMTP id g7M4f6Z8025526; Thu, 22 Aug 2002 16:41:06 +1200 (NZST) (envelope-from andrew@scoop.co.nz) Date: Thu, 22 Aug 2002 16:41:06 +1200 (NZST) From: Andrew McNaughton To: Jens Rehsack Cc: freebsd-stable@freebsd.org Subject: Re: failure to build gcc in make world In-Reply-To: <3D641523.5616826C@liwing.de> Message-ID: <20020822163843.E25159-100000@a2.scoop.co.nz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 22 Aug 2002, Jens Rehsack wrote: > Date: Thu, 22 Aug 2002 00:33:07 +0200 > From: Jens Rehsack > To: Andrew McNaughton > Cc: freebsd-stable@freebsd.org > Subject: Re: failure to build gcc in make world > > > > Andrew McNaughton wrote: > > > > I've worked through this more thoroughly, but I still can't get a > > successful make buildworld. > > > > I've thoroughly checked my source tree. I've compared all files' > > checksums against a known good source tree on a different system which > > compiles correctly (it's a later freebsd running gcc 3). > > Something's wrong with my build environment. > > You use gcc v3 to compile 4.6-STABLE? gcc version 2.95.3 [FreeBSD] 20010315 (release) I'm upgrading from 4.3-STABLE. I could install a later gcc, but I'm a little wary of moving further from a standard setup unless there's an explanation of why it should matter. > > The bit that's failing checks to see if it's gcc compiling itself and does > > different things accordingly. I presume this is about avoiding linking > > the new gcc against the one that's about to get over-written. Somehow > > this check is going wrong. If I do `CC=gcc make buildworld` then it gets > > past this point, but it fails later on when building libg2c. > > > > Does anyone know what might be going wrong? > > > > On Fri, 21 Jun 2002, Jens Rehsack wrote: > > > > > Andrew McNaughton wrote: > > > > > > > > I've just brought my source tree up to sync with RELENG_4_6, and tried > > > > to do a make world. It fails with the following output: > > > > > > > > ------------------------------------------------------------------------- > > > > cc -c -O -pipe -march=pentium > > > > -I/mnt/imac/andrew/src/gnu/lib/libgcc/../../../contrib/gcc/config > > > > -I/mnt/imac/andrew/src/gnu/lib/libgcc/../../../contrib/gcc -I. > > > > -fexceptions -DIN_GCC -D_PTHREADS -fPIC -DGTHREAD_USE_WEAK -DL_mulsi3 -o > > > > _mulsi3.o > > > > /mnt/imac/andrew/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc1.c > > > > /mnt/imac/andrew/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc1.c:244: > > > > `a' was not declared in this scope > > > > /mnt/imac/andrew/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc1.c:244: > > > > `b' was not declared in this scope > > > > /mnt/imac/andrew/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc1.c:245: > > > > syntax error before `long' > > > > *** Error code 1 > > > > > > > > Stop in /mnt/imac/andrew/src/gnu/lib/libgcc. > > > > *** Error code 1 > > > > > > > > Stop in /mnt/imac/andrew/src. > > > > *** Error code 1 > > > > > > > > Stop in /mnt/imac/andrew/src. > > > > *** Error code 1 > > > > > > > > Stop in /mnt/imac/andrew/src. > > > > > > > > ------------------------------------------------------------------------- > > > > > > > > Does anyone recognise this? Can anyone tell me what is going wrong? > > > > > > If sth. like that hitting me, I usually delete all files which have sth. to do > > > with that and redo a cvsup. > > > > > > > If it's important, my system is currently running 4.3-RELEASE. > > > > > > > > Andrew McNaughton > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > with "unsubscribe freebsd-stable" in the body of the message > > > > > > -- > > > L i W W W i Jens Rehsack > > > L W W W > > > L i W W W W i nnn gggg LiWing IT-Services > > > L i W W W W i n n g g > > > LLLL i W W i n n g g Friesenstraße 2 > > > gggg 06112 Halle > > > g > > > g g > > > Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: > > > Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ > > > > > -- > L i W W W i Jens Rehsack > L W W W > L i W W W W i nnn gggg LiWing IT-Services > L i W W W W i n n g g > LLLL i W W i n n g g Friesenstraße 2 > gggg 06112 Halle > g > g g > Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: > Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message