From owner-freebsd-stable Fri Mar 29 7:37: 5 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mobil.cz (diana.mobil.cz [194.228.200.160]) by hub.freebsd.org (Postfix) with ESMTP id 4053B37B405 for ; Fri, 29 Mar 2002 07:36:59 -0800 (PST) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id g2TFavm10180; Fri, 29 Mar 2002 16:36:57 +0100 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.9a) with ESMTP id 2002032916363865:8769 ; Fri, 29 Mar 2002 16:36:38 +0100 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id g2TFpFC41532; Fri, 29 Mar 2002 16:51:15 +0100 (CET) (envelope-from neuhauser@mobil.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mobil.cz using -f Date: Fri, 29 Mar 2002 16:51:15 +0100 From: Roman Neuhauser To: David Wolfskill Cc: freebsd-stable Subject: Re: /usr/src/gnu/usr.bin/binutils/ld broken Message-ID: <20020329155115.GK389@roman.mobil.cz> References: <20020329111951.GI389@roman.mobil.cz> <200203291330.g2TDUK696723@bunrab.catwhisker.org> Mime-Version: 1.0 In-Reply-To: <200203291330.g2TDUK696723@bunrab.catwhisker.org> User-Agent: Mutt/1.3.26i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.9a |January 7, 2002) at 03/29/2002 04:36:38 PM, Serialize by Router on ester/Mobil(Release 5.0.9a |January 7, 2002) at 03/29/2002 04:36:44 PM, Serialize complete at 03/29/2002 04:36:44 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Fri, 29 Mar 2002 05:30:20 -0800 (PST) > From: David Wolfskill > To: neuhauser@mobil.cz > Subject: Re: /usr/src/gnu/usr.bin/binutils/ld broken > >cc -O2 -pipe -march=k6 -D_GNU_SOURCE -I- -I. > >-I/usr/src/gnu/usr.bin/binutils/ld/i386 > >-I/usr/src/gnu/usr.bin/binutils/ld > >-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/libdata\" > >-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld > >-I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd > >-DVERSION=\""2.11.2 20010719 [FreeBSD]"\" -DBFD_VERSION=\""2.11.2 > >20010719 [FreeBSD]"\" -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 > >ldver.o ldwrite.o lexsup.o mri.o ../libbfd/libbfd.a > >../libiberty/libiberty.a > >ldfile.o: In function `ldfile_open_command_file': > >ldfile.o(.text+0x50d): undefined reference to `had_script' > >ldlang.o: In function `load_symbols': > >ldlang.o(.text+0x130d): undefined reference to `yyparse' > >ldlex.o: In function `yylex': > >ldlex.o(.text+0x296): undefined reference to `yylval' > >ldlex.o(.text+0x2cb): undefined reference to `yylval' > >ldlex.o(.text+0x2e0): undefined reference to `yylval' > >ldlex.o(.text+0x2fd): undefined reference to `yylval' > >ldlex.o(.text+0x306): undefined reference to `yylval' > >ldlex.o(.text+0x31a): more undefined references to `yylval' follow > >ldmain.o: In function `main': > >ldmain.o(.text+0x299): undefined reference to `force_make_executable' > >ldmain.o(.text+0x3a0): undefined reference to `had_script' > >ldmain.o(.text+0x42c): undefined reference to `yyparse' > >ldmain.o(.text+0x59c): undefined reference to `force_make_executable' > >lexsup.o: In function `parse_args': > >lexsup.o(.text+0x5d4): undefined reference to `yyparse' > >lexsup.o(.text+0x876): undefined reference to `force_make_executable' > >lexsup.o(.text+0xe06): undefined reference to `had_script' > >lexsup.o(.text+0xe1a): undefined reference to `had_script' > >lexsup.o(.text+0xe29): undefined reference to `yyparse' > >*** Error code 1 > Are you still seeing this? > > Reason I ask is that I just finished building today's -STABLE: > > freebeast(4.5-S)[2] uname -a > FreeBSD freebeast.catwhisker.org 4.5-STABLE FreeBSD 4.5-STABLE #145: Fri Mar 29 05:11:46 PST 2002 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/FREEBEAST i386 ... > and did not encounter the problem. Well, I moved /usr/src to /usr/src-stable, and extracted /usr/src from the 4.5 CD again. This time it (make -j4 buildworld) broke here: cc -O2 -pipe -march=k6 -Wall -I. -I/usr/obj/usr/src/i386/usr/include -c version.c rm -f version.c ; sed 's/.*/char version[] = "&";/' /usr/src/usr.sbin/tcpdump/tcpslice/../../../contrib/tcpdump/VERSION > version.c cpp0: version.c: No such file or directory set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' /usr/src/usr.sbin/tcpdump/tcpslice/../../../contrib/tcpdump/VERSION` ; { echo '#define VERSION_MAJOR' $1 ; echo '#define VERSION_MINOR' $2 ; } > version.h *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error Since this is the 4.5-RELEASE code, I'm getting pretty nervous. It's a brand new box: Athlon 1700+ XP with 256 MB DDR in an Abit KR7A (VIA KT266A) board. I'm going to try again with a single make. -- FreeBSD 4.4-STABLE 4:46PM up 5 days, 31 mins, 24 users, load averages: 0.06, 0.03, 0.00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message