Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2003 14:42:28 -0500
From:      Jeremy Messenger <mezz7@cox.net>
To:        Fish <fish@fish-mail.com>, freebsd-current@freebsd.org
Subject:   Re: Buildworld failing in /usr/src/gnu/usr.bin/binutils/libbfd
Message-ID:  <oprqp002ni8ckrg5@smtp.central.cox.net>
In-Reply-To: <1055533340.57537.16.camel@current>
References:  <1055533340.57537.16.camel@current>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 Jun 2003 15:42:20 -0400, Fish <fish@fish-mail.com> wrote:

> 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@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?

You need to build and install sed first, which it was sed bug that is fixed 
some weeks ago.

Cheers,
Mezz

> Thanks very much,
>
> Fish


-- 
bsdforums.org 's moderator, mezz.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?oprqp002ni8ckrg5>