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