NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/37677: netbsd-{3,4} binutils compile failure in bucomm.c
>Number: 37677
>Category: bin
>Synopsis: netbsd-{3,4} binutils compile failure in bucomm.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 03 10:05:00 +0000 2008
>Originator: Jeremy Huddleston
>Release: 3.1_STABLE (Apr 3, 2007)
>Organization:
UC Berkeley
>Environment:
Linux cloud 2.6.23-hardened-r5 #2 Wed Dec 26 21:13:45 PST 2007 x86_64 AMD
Athlon(tm) 64 Processor 2800+ AuthenticAMD GNU/Linux
>Description:
Sometime between Apr 3, 2007 and Nov 20, 2007, I became unable to compile
netbsd for my sparc. I compile the OS on my amd64 linux box. The output below
is the relevant output when trying to compile netbsd-4 from today's cvs. The
same thing occurred on Nov 20 for both netbsd-3 and netbsd-4.
Making all in po
cc -DHAVE_CONFIG_H -I.
-I/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils
-I. -D_GNU_SOURCE -I.
-I/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils
-I../bfd
-I/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/../bfd
-I/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/../include
-I/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/../intl
-I../intl
-DLOCALEDIR="\"/home/cloud/jeremy/src/netbsd/netbsd-4/obj.sparc/tooldir.linux-amd64/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation -D_LARGEFILE64_SOURCE -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -O -c
/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/size.c
cc -DHAVE_CONFIG_H -I.
-I/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils
-I. -D_GNU_SOURCE -I.
-I/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils
-I../bfd
-I/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/../bfd
-I/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/../include
-I/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/../intl
-I../intl
-DLOCALEDIR="\"/home/cloud/jeremy/src/netbsd/netbsd-4/obj.sparc/tooldir.linux-amd64/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation -D_LARGEFILE64_SOURCE -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -O -c
/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/bucomm.c
/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/bucomm.c:
In function 'set_default_bfd_target':
/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/bucomm.c:106:
error: 'TARGET' undeclared (first use in this function)
/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/bucomm.c:106:
error: (Each undeclared identifier is reported only once
/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/bucomm.c:106:
error: for each function it appears in.)
*** Failed target: bucomm.o
*** Failed command: cc -DHAVE_CONFIG_H -I.
-I/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils
-I. -D_GNU_SOURCE -I.
-I/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils
-I../bfd
-I/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/../bfd
-I/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/../include
-I/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/../intl
-I../intl
-DLOCALEDIR="\"/home/cloud/jeremy/src/netbsd/netbsd-4/obj.sparc/tooldir.linux-amd64/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation -D_LARGEFILE64_SOURCE -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -O -c
/home/cloud/jeremy/src/netbsd/netbsd-4/src/tools/binutils/../../gnu/dist/binutils/binutils/bucomm.c
*** Error code 1
Stop.
nbmake: stopped in
/home/cloud/jeremy/src/netbsd/netbsd-4/obj.sparc/tools/binutils/build/binutils
>How-To-Repeat:
cvs update src xsrc
cd src
./build.sh -X $(pwd)/../xsrc -m sparc -O $(pwd)/../obj.sparc -T
$(pwd)/../obj.sparc/tooldir.linux-amd64 -u tools
>Fix:
Home |
Main Index |
Thread Index |
Old Index