Skip site navigation (1)Skip section navigation (2)
Date:      12 Jun 2003 08:08:14 -0400
From:      Mike Bohan <bogin@shortcircut.org>
To:        freebsd-current@freebsd.org
Subject:   error building world
Message-ID:  <1055419694.17969.8.camel@diesel>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hey there,

	I recently ran into a problem when building updated (via cvsup) world
from -CURRENT. 

Some background information:

FreeBSD caboose.shortcircut.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed
Jun  4 19:39:23 EDT 2003    
root@caboose.shortcircut.org:/usr/obj/usr/src/sys/CABOOSE  i386

This is the error that stops the build:
#########################################
cc -O -pipe -march=athlon-tbird -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" -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
...
...
...
targmatch.h:2037:1: null character(s) ignored
*** Error code 1

Stop in /usr/src/gnu/usr.bin/binutils/libbfd.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/binutils.
*** Error code 1

Stop in /usr/src/gnu/usr.bin.
*** Error code 1

Stop in /usr/src/gnu.
*** Error code 1

Stop in /usr/src.
##################################################

Although this is where it stoppped, I recall seeing those null char
ignored warnings scroll by earlier in the build as well. I tried
removing/reinstalling /usr/include and /usr/share/mk, which
unfortunately did not resolve the problem. After the original error, I
also tried building from the 5.1-RELEASE tree, which produced the same
error. Also, note that I had the error before I added the athlon-tbird
cpu flags, so that is not a factor. I'm wondering if anyone has any
suggestions.  Thank you in advance!

-- 
Mike Bohan <bogin@shortcircut.org>

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA+6G0uejdihSuinPURAoVvAJ9qkfidkTsHezL3po9qrNfySvBE3QCgyNU+
Vg7XQthFlwXE9v+Hvmgmf/Q=
=4cV/
-----END PGP SIGNATURE-----

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