Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2000 13:19:40 -0800
From:      Jason Evans <jasone@canonware.com>
To:        Jason Evans <jasone@canonware.com>
Cc:        Pascal Hofstee <daeron@shadowmere.student.utwente.nl>, freebsd-current@freebsd.org
Subject:   Re: Buildworld Breakage
Message-ID:  <20000112131939.S302@sturm.canonware.com>
In-Reply-To: <20000112111638.N302@sturm.canonware.com>; from jasone@canonware.com on Wed, Jan 12, 2000 at 11:16:38AM -0800
References:  <20000112145741.A95155@shadowmere.student.utwente.nl> <20000112111638.N302@sturm.canonware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 12, 2000 at 11:16:38AM -0800, Jason Evans wrote:
> On Wed, Jan 12, 2000 at 02:57:41PM +0100, Pascal Hofstee wrote:
> > With my CURRENT-tre updated within an hour ago ... Buildworld is broken.
> > 
> > cc -O -pipe -DFREEBSD_NATIVE -DIN_GCC -DHAVE_CONFIG_H
> > -DDEFAULT_TARGET_VERSION=\ "2.95.2\"
> > -DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\"
> > -DPREFIX=\"/usr/obj/usr/src/i386/usr\"
> > -I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cpp/../cc_tools
> > -I/usr/src/gnu/usr.bin/cc/cpp/../cc_tools
> > -I/usr/src/gnu/usr.bin/cc/cpp/../../ ../../contrib/gcc
> > -I/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/gcc/config
> > -I/usr/obj/usr/src/i386/usr/include  -o cpp gcc.o cppspec.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cpp/../cc_drv/libcc_drv.a
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cpp/../cc_fbsd/libcc_fbsd.a
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cpp/../cc_drv/libcc_drv.a(choose-te
> > mp.o): In function `choose_temp_base':
> > choose-temp.o(.text+0x13e): warning: mktemp() possibly used unsafely;
> > consider using mkstemp()
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cpp/../cc_fbsd/libcc_fbsd.a(mktemp.
> > o): In function `mktemp':
> > mktemp.o(.text+0x1e1): undefined reference to `_libc_open'
> > *** Error code 1
> > Stop in /usr/src/gnu/usr.bin/cc/cpp.
> > *** Error code 1
> > Stop in /usr/src/gnu/usr.bin/cc.
> > *** Error code 1
> 
> This looks like possible breakage related to the changes to libc that I
> committed early this morning.  The thing is, I successfully built the world
> with those changes in place.  It may be that you got a partial update of
> the ~150 files that the changes touched in libc and libc_r.

Okay, this is a bootstrapping issue.  I didn't run into it because I
manually installed libc during testing, before doing a buildworld.

Doing the following before a buildworld should allow the buildworld to
complete:

cd /usr/src/lib/libc
make
make install

Then buildworld.

I'm not very well versed in the buildworld bootstrapping, so any help in
fixing this the right way would be appreciated.

Jason


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000112131939.S302>