Date: Fri, 29 Mar 2002 16:51:15 +0100 From: Roman Neuhauser <neuhauser@mobil.cz> To: David Wolfskill <david@catwhisker.org> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: /usr/src/gnu/usr.bin/binutils/ld broken Message-ID: <20020329155115.GK389@roman.mobil.cz> In-Reply-To: <200203291330.g2TDUK696723@bunrab.catwhisker.org> References: <20020329111951.GI389@roman.mobil.cz> <200203291330.g2TDUK696723@bunrab.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Fri, 29 Mar 2002 05:30:20 -0800 (PST)
> From: David Wolfskill <david@catwhisker.org>
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020329155115.GK389>
