From owner-freebsd-stable Wed Aug 21 15:34:22 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 3A31137B401 for ; Wed, 21 Aug 2002 15:34:18 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id C994C43E3B for ; Wed, 21 Aug 2002 15:34:16 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 72372 invoked from network); 21 Aug 2002 22:34:14 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 21 Aug 2002 22:34:14 -0000 Message-ID: <3D641523.5616826C@liwing.de> Date: Thu, 22 Aug 2002 00:33:07 +0200 From: Jens Rehsack Organization: LiWing IT-Services X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Andrew McNaughton Cc: freebsd-stable@freebsd.org Subject: Re: failure to build gcc in make world References: <20020622061910.O54014-100000@a2> Content-Type: text/plain; charset=iso-8859-1 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 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? > 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