Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2002 15:07:34 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        Bryce Newall <data@dreamhaven.org>
Cc:        FreeBSD Questions List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Buildworld error
Message-ID:  <3DADE326.8030006@owt.com>
References:  <Pine.BSF.4.44.0210161318590.120-100000@dreamhaven.org>

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


Bryce Newall wrote:
> Hi all,
> 
> I am running into some difficulty trying to upgrade my system (a
> freshly-installed FreeBSD 4.7-RELEASE system) to 4.7-STABLE.  About 45
> minutes into the buildworld process, it bombs out with the following:
> 
> ===> share/doc/papers/fsinterface
> touch _stamp.extraobjs
> (cd /usr/src/share/doc/papers/fsinterface; groff -mtty-char -Tascii -t -ms
> -o1- /usr/src/share/doc/papers/fsinterface/fsinterface.ms) |  gzip -cn >
> fsinterface.ascii.gz
> ===> share/doc/papers/jail
> touch _stamp.extraobjs
> (cd /usr/src/share/doc/papers/jail; groff -mtty-char -Tascii -ms -o1-
> /usr/src/share/doc/papers/jail/paper.ms) |  gzip -cn > jail.ascii.gz
> ===> share/doc/papers/kernmalloc
> (cd /usr/src/share/doc/papers/kernmalloc; soelim kernmalloc.t) >
> kernmalloc.ms
> vgrind -f < /usr/src/share/doc/papers/kernmalloc/appendix.t > appendix.ms
> elf_load_section: truncated ELF file
> Abort trap
> *** Error code 134
> 
> Stop in /usr/src/share/doc/papers/kernmalloc.
> *** Error code 1
> 
> Stop in /usr/src/share/doc/papers.
> *** Error code 1
> 
> Stop in /usr/src/share/doc.
> *** Error code 1
> 
> Stop in /usr/src/share.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> That "truncated ELF file" is what is concerning me, but I don't know what
> to check for.  Any help will be greatly appreciated.  Thanks!!
> 

FWIW, the kernmalloc.ms line appears 92% of the way into the build.

You could have some sort of hardware failure that is dying with the 
truncation error instead of giving you a signal error and dying. An HD 
that is overheating or something similar. Did you try the buildworld 
more than once?

I checked on vgrind and only the Makefile has changed in the last 
year. I wonder if you have corrupted sources for it. You could always 
cd /usr/src/usr.bin/vgrind and try rebuilding it and see if that 
helps. Otherwise, I would remove everything in the vgrind directory, 
re-cvsup 4-stable, and try doing a buildworld again.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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




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