Steve Kargl wrote:
> Note, I'm updating a 3 week old current to today's sources.
> I've fallen way behind in the mailing lists (due to living
> out of a suitcase for week longer then intended), so if
> this is a known problem please ignore.
> cc -O -pipe -march=k6 -D_GNU_SOURCE -I- -I. -I/usr/src/gnu/usr.bin/binutils/l
    d -I/usr/src/gnu/usr.bin/binutils/ld/../libbfd/i386 -I/usr/src/gnu/usr.bin/
    binutils/ld/../../../../contrib/binutils/include -DDEFAULT_EMULATION=\"elf_
    i386\" -DTARGET=\"i386-unknown-freebsd\" -DSCRIPTDIR=\"/usr/obj/usr/src/i38
    6/usr/libdata\" -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binu
    tils/ld -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd
     -I/usr/src/gnu/usr.bin/binutils/ld/../../../../include -DVERSION=\""2.11.2
     20010719 [FreeBSD]"\" -DBFD_VERSION=\""2.11.2 20010719 [FreeBSD]"\"   -I/u
    sr/obj/usr/src/i386/usr/include   -static -o ld eelf_i386.o ldcref.o ldctor
    .o ldemul.o ldexp.o ldfile.o ldgram.o ldlang.o ldlex.o ldmain.o ldmisc.o ld
    ver.o ldwrite.o lexsup.o mri.o  ../libbfd/libbfd.a ../libiberty/libiberty.a
> ldemul.o: In function `ldemul_choose_mode':
> ldemul.o(.text+0x318): undefined reference to `__stderrp'
> ldlang.o: In function `dprint_statement':
> ldlang.o(.text+0x26a6): undefined reference to `__stderrp'
> ldlex.o: In function `yylex':
> ldlex.o(.text+0xc0): undefined reference to `__stdinp'
> ldlex.o(.text+0xd3): undefined reference to `__stdoutp'

This is actually a bug in the buildworld process.  For some reason, it
is using a -current stdio.h with an old unknown libc.a.  It should be using
the host stdio.h with the host libc.a, not mixing them up.  If there is any
binary incompatability, then there will be breakage.

However, for now, you can get over the hurdle with this hack..
Simply add -D_OLD_STDIO to CFLAGS in /etc/make.conf, eg:


Only do this for one buildworld.  After that, you wont need it again.

You should never have needed it at all though. :-(

"All of this is for nothing if we don't go to the stars" - JMS/B5

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to