Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2001 04:44:39 -0700 (PDT)
From:      Pete Carah <pete@ns.altadena.net>
To:        current@freebsd.org
Subject:   Build failure VERY early
Message-ID:  <200109111144.f8BBidL50432@ns.altadena.net>

next in thread | raw e-mail | index | archive | help
I don't think this is just my system, and no binutils changes have been made
recently, (and the disk is NOT full, anywhere near), and noone else has
complained about a related build problem either:

--------------------------------------------------------------------------
cd /usr/src/usr.sbin/config;  make obj;  make depend;  make all;  make install
/usr/obj/usr/src/i386/usr/src/usr.sbin/config created for /usr/src/usr.sbin/conf
ig
yacc -d /usr/src/usr.sbin/config/config.y
cp y.tab.c config.c
lex -t  /usr/src/usr.sbin/config/lang.l > lang.c
rm -f .depend
mkdep -f .depend -a    -I. -I/usr/src/usr.sbin/config -I/usr/obj/usr/src/i386/us
r/include  config.c /usr/src/usr.sbin/config/main.c lang.c /usr/src/usr.sbin/con
fig/mkmakefile.c /usr/src/usr.sbin/config/mkheaders.c /usr/src/usr.sbin/config/m
koptions.c
cd /usr/src/usr.sbin/config; make _EXTRADEPEND
echo config: /usr/obj/usr/src/i386/usr/lib/libc.a /usr/obj/usr/src/i386/usr/lib/
libl.a >> .depend
cc -O -pipe  -I. -I/usr/src/usr.sbin/config    -I/usr/obj/usr/src/i386/usr/inclu
de  -c config.c
cc -O -pipe  -I. -I/usr/src/usr.sbin/config    -I/usr/obj/usr/src/i386/usr/inclu
de  -c /usr/src/usr.sbin/config/main.c
cc -O -pipe  -I. -I/usr/src/usr.sbin/config    -I/usr/obj/usr/src/i386/usr/inclu
de  -c lang.c
cc -O -pipe  -I. -I/usr/src/usr.sbin/config    -I/usr/obj/usr/src/i386/usr/inclu
de  -c /usr/src/usr.sbin/config/mkmakefile.c
cc -O -pipe  -I. -I/usr/src/usr.sbin/config    -I/usr/obj/usr/src/i386/usr/inclu
de  -c /usr/src/usr.sbin/config/mkheaders.c
cc -O -pipe  -I. -I/usr/src/usr.sbin/config    -I/usr/obj/usr/src/i386/usr/inclu
de  -c /usr/src/usr.sbin/config/mkoptions.c
cc -O -pipe  -I. -I/usr/src/usr.sbin/config    -I/usr/obj/usr/src/i386/usr/inclu
de   -static -o config config.o main.o lang.o mkmakefile.o mkheaders.o mkoptions
.o  -ll
/usr/libexec/elf/ld: final link failed: File truncated
*** Error code 1

Stop in /usr/src/usr.sbin/config.
*** Error code 1

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

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

The files that are present in the working directory appear normal.
seagull# cd /usr/obj/usr/src/i386/usr/src/usr.sbin/config
seagull# ls -l
total 145
-rw-r--r--  1 root  wheel   4287 Sep 11 04:31 .depend
-rw-r--r--  1 root  wheel  18689 Sep 11 04:31 config.c
-rw-r--r--  1 root  wheel   7140 Sep 11 04:31 config.o
-rw-r--r--  1 root  wheel  49094 Sep 11 04:31 lang.c
-rw-r--r--  1 root  wheel  13728 Sep 11 04:31 lang.o
-rw-r--r--  1 root  wheel   7996 Sep 11 04:31 main.o
-rw-r--r--  1 root  wheel   3376 Sep 11 04:31 mkheaders.o
-rw-r--r--  1 root  wheel  13620 Sep 11 04:31 mkmakefile.o
-rw-r--r--  1 root  wheel   5856 Sep 11 04:31 mkoptions.o
-rw-r--r--  1 root  wheel  18689 Sep 11 04:31 y.tab.c
-rw-r--r--  1 root  wheel    466 Sep 11 04:31 y.tab.h

To me, that message would indicate a full disk, though my thought
process may differ a bit from the bfd maintainer (boy, is *that*
code convoluted!!!)  However, I'd think 3gb is enough :-)

seagull# df /usr/obj
Filesystem   1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s1f   17828863 13179899  3222655    80%    /usr

This made OK last Saturday.  I don't see any likely changes from then 
to now...  Just in case, I remade gnu libs and binutils independently,
and manually installed /usr/share/mk; no help.  Note too that config makes
just fine normally if made manually; it only falls over in the 
bootstraptools phase.

I'm a little suspicious of the extradepend since neither libc.a nor
libl.a are present in the temp lib directory, but that doesn't hurt the
programs above (yacc, flex and install), so it shouldn't be the problem
either.

-- Pete

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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