Buildworld failing in /usr/src/gnu/usr.bin/binutils/libbfd

From: Fish <fish_at_fish-mail.com>
Date: 13 Jun 2003 15:42:20 -0400
Hello list,

I'm sure I've done something naughty as I've been seeing errors for a
few days, but I've done some troubleshooting and I can't seem to find
the place I shot myself in the foot.  My system is current, and about a
week old right now.  Source was checked out this morning at about 8:30
A.M. EST.  The output of uname -a follows.

FreeBSD current 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu Jun  5 10:34:30
EDT 2003     fish_at_current:/usr/obj/usr/src/sys/CURRENT-TWO  i386

Leading up to this build I explicitly ran the following commands.

cd /usr/src
chflags -R noschg /usr/obj/*
rm -rf /usr/obj/*
make cleandir
make cleandir
make buildworld

The tail end of the build error is below.  I have the full build output
if anyone would like to see it.  Repeated builds, even in single-user
mode, all show the same error.  I have tried to ensure that nothing in
/etc/make.conf is biting me, only a few things are defined, primarily
CPUTYPE=i686.  I usually run at CPUTYPE=p3 (as p4 builds broken code
last I heard) but downgraded here to remove a possible source of error. 
CFLAGS and CXXFLAGS are not defined.

cc -O -pipe -march=pentiumpro -D_GNU_SOURCE -I.
-I/usr/src/gnu/usr.bin/binutils/libbfd/i386
-I/usr/src/gnu/usr.bin/binutils/libbfd
-I/usr/src/gnu/usr.bin/binutils/libbfd/../libbfd/i386
-I/usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/include -DDEFAULT_VECTOR=bfd_elf32_i386_freebsd_vec -I/usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd -DBFD_VERSION=\"20021127\" -DBFD_VERSION_DATE=20021127 -DBFD_VERSION_STRING=\""2.13.2 [FreeBSD] 2002-11-27"\" -DSELECT_ARCHITECTURES=" &bfd_i386_arch" -DHAVE_bfd_elf32_i386_freebsd_vec -DHAVE_bfd_elf32_i386_vec -DSELECT_VECS=" &bfd_elf32_i386_freebsd_vec ,&bfd_elf32_i386_vec" -std=iso9899:1999 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized  -c /usr/src/contrib/binutils/bfd/stab-syms.c -o stab-syms.o
cc -O -pipe -march=pentiumpro -D_GNU_SOURCE -I.
-I/usr/src/gnu/usr.bin/binutils/libbfd/i386
-I/usr/src/gnu/usr.bin/binutils/libbfd
-I/usr/src/gnu/usr.bin/binutils/libbfd/../libbfd/i386
-I/usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/include -DDEFAULT_VECTOR=bfd_elf32_i386_freebsd_vec -I/usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd -DBFD_VERSION=\"20021127\" -DBFD_VERSION_DATE=20021127 -DBFD_VERSION_STRING=\""2.13.2 [FreeBSD] 2002-11-27"\" -DSELECT_ARCHITECTURES=" &bfd_i386_arch" -DHAVE_bfd_elf32_i386_freebsd_vec -DHAVE_bfd_elf32_i386_vec -DSELECT_VECS=" &bfd_elf32_i386_freebsd_vec ,&bfd_elf32_i386_vec" -std=iso9899:1999 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized  -c /usr/src/contrib/binutils/bfd/stabs.c -o stabs.o
cc -O -pipe -march=pentiumpro -D_GNU_SOURCE -I.
-I/usr/src/gnu/usr.bin/binutils/libbfd/i386
-I/usr/src/gnu/usr.bin/binutils/libbfd
-I/usr/src/gnu/usr.bin/binutils/libbfd/../libbfd/i386
-I/usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/include -DDEFAULT_VECTOR=bfd_elf32_i386_freebsd_vec -I/usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd -DBFD_VERSION=\"20021127\" -DBFD_VERSION_DATE=20021127 -DBFD_VERSION_STRING=\""2.13.2 [FreeBSD] 2002-11-27"\" -DSELECT_ARCHITECTURES=" &bfd_i386_arch" -DHAVE_bfd_elf32_i386_freebsd_vec -DHAVE_bfd_elf32_i386_vec -DSELECT_VECS=" &bfd_elf32_i386_freebsd_vec ,&bfd_elf32_i386_vec" -std=iso9899:1999 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized  -c /usr/src/contrib/binutils/bfd/syms.c -o syms.o
cc -O -pipe -march=pentiumpro -D_GNU_SOURCE -I.
-I/usr/src/gnu/usr.bin/binutils/libbfd/i386
-I/usr/src/gnu/usr.bin/binutils/libbfd
-I/usr/src/gnu/usr.bin/binutils/libbfd/../libbfd/i386
-I/usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/include -DDEFAULT_VECTOR=bfd_elf32_i386_freebsd_vec -I/usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd -DBFD_VERSION=\"20021127\" -DBFD_VERSION_DATE=20021127 -DBFD_VERSION_STRING=\""2.13.2 [FreeBSD] 2002-11-27"\" -DSELECT_ARCHITECTURES=" &bfd_i386_arch" -DHAVE_bfd_elf32_i386_freebsd_vec -DHAVE_bfd_elf32_i386_vec -DSELECT_VECS=" &bfd_elf32_i386_freebsd_vec ,&bfd_elf32_i386_vec" -std=iso9899:1999 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized  -c /usr/src/contrib/binutils/bfd/targets.c -o targets.o
In file included from /usr/src/contrib/binutils/bfd/targets.c:1092:
targmatch.h:7:1: null character(s) ignored
targmatch.h:12:1: null character(s) ignored
targmatch.h:16:1: null character(s) ignored
targmatch.h:20:1: null character(s) ignored
targmatch.h:24:1: null character(s) ignored

<hundreds of lines between here have been snipped>

targmatch.h:2024:1: null character(s) ignored
targmatch.h:2028:1: null character(s) ignored
targmatch.h:2033:1: null character(s) ignored
targmatch.h:2037:1: null character(s) ignored
*** Error code 1

Stop in /usr/src/gnu/usr.bin/binutils/libbfd.

Would someone please tell me exactly what stupid thing I'm doing today?

Thanks very much,

Fish
Received on Fri Jun 13 2003 - 10:45:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:11 UTC