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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to