Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2000 13:22:25 -0800
From:      Jason Evans <jasone@canonware.com>
To:        Wilko Bulte <wilko@yedi.iaf.nl>
Cc:        Mark Murray <mark@grondar.za>, obrien@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: Make world breakage...
Message-ID:  <20000112132225.T302@sturm.canonware.com>
In-Reply-To: <20000112220725.A2942@yedi.iaf.nl>; from wilko@yedi.iaf.nl on Wed, Jan 12, 2000 at 10:07:25PM %2B0100
References:  <200001121956.e0CJuNw65075@gratis.grondar.za> <20000112220725.A2942@yedi.iaf.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 12, 2000 at 10:07:25PM +0100, Wilko Bulte wrote:
> On Wed, Jan 12, 2000 at 09:56:22PM +0200, Mark Murray wrote:
> > Hi
> > 
> > Anyone else seeing this?
> > 
> > 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-temp.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
> > 
> 
> Yep. Also on Alpha:
> 
> /usr/obj/usr/src/alpha/usr/src/gnu/usr.bin/cc/cpp/../cc_drv/libcc_drv.a(choose-temp.o):
> In function `choose_temp_base':
> choose-temp.c(.text+0x218): warning: mktemp() possibly used unsafely;
> consider using mkstemp()
> /usr/obj/usr/src/alpha/usr/src/gnu/usr.bin/cc/cpp/../cc_fbsd/libcc_fbsd.a(mktemp.o):
> In function `_gettemp':
> mktemp.c(.text+0x3f0): undefined reference to `_libc_open'
> mktemp.c(.text+0x3f4): undefined reference to `_libc_open'
> *** Error code 1
> 
> Stop in /usr/src/gnu/usr.bin/cc/cpp.
> *** Error code 1

libc successfully builds on Alpha with the changes I committed, though the
bootstrapping problem issue is the same.  As noted in another email I just
sent, do:

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

before doing a buildworld.  This probably isn't the correct way of
resolving such bootstrapping issues, but it works.

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?20000112132225.T302>