From owner-freebsd-current Thu Sep 20 22:14:41 2001 Delivered-To: freebsd-current@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id B3AC737B40F for ; Thu, 20 Sep 2001 22:14:23 -0700 (PDT) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f8L5ENM04787 for ; Thu, 20 Sep 2001 22:14:23 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 3FB6438FF; Thu, 20 Sep 2001 22:14:23 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Steve Kargl Cc: freebsd-current@FreeBSD.ORG Subject: Re: stdin/out/err changes kill world In-Reply-To: <20010920123124.A6236@troutmask.apl.washington.edu> Date: Thu, 20 Sep 2001 22:14:22 -0700 From: Peter Wemm Message-Id: <20010921051423.3FB6438FF@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: CFLAGS= -O -pipe -D_OLD_STDIO Only do this for one buildworld. After that, you wont need it again. You should never have needed it at all though. :-( Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message