From owner-freebsd-stable Thu Aug 22 1: 0:33 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 86DE637B400 for ; Thu, 22 Aug 2002 01:00:14 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D276543E65 for ; Thu, 22 Aug 2002 01:00:08 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 9910 invoked from network); 22 Aug 2002 08:00:06 -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 ; 22 Aug 2002 08:00:06 -0000 Message-ID: <3D6499C3.ADDA0E0@liwing.de> Date: Thu, 22 Aug 2002 09:58:59 +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: <20020822163843.E25159-100000@a2.scoop.co.nz> 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: > > 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. That's right. I get confused by your statement and want get sure. Ok. Your error message shows that the gcc itself doesn't compile correctly. Do you have a proxy or sth. else between your machine and the global cvsup servers? By the way, if I were you I'd look into libgcc1.c, to line 244 and take a look what's wrong there. It sounds a little bit like wrong macro define or string constant. Good luck, Jens > > > 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/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message