Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2002 00:33:07 +0200
From:      Jens Rehsack <rehsack@liwing.de>
To:        Andrew McNaughton <andrew@scoop.co.nz>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: failure to build gcc in make world
Message-ID:  <3D641523.5616826C@liwing.de>
References:  <20020622061910.O54014-100000@a2>

next in thread | previous in thread | raw e-mail | index | archive | help


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: <rehsack@liwing.de>
> > 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: <rehsack@liwing.de>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D641523.5616826C>