8-STABLE truncated elf file issues after buildworld

Dimitar Vassilev dimitar.vassilev at gmail.com
Sat May 15 21:24:57 UTC 2010


2010/5/15 John Levine <johnl at iecc.com>:
>>/usr/src/tools/build/dummy.c
>>elf_load_section: truncated ELF file
>
> Any chance that means the disk filled up?
>
> R's,
> John
>

ldbone at netwarrior:~/> df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad0s3a    496M    430M     26M    94%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/ad0s3g    9.4G    1.5G    7.2G    17%    /home
/dev/ad0s3f    496M     22K    456M     0%    /tmp
/dev/ad0s3d     19G    6.5G     11G    38%    /usr
/dev/ad0s3e    3.9G    355M    3.2G    10%    /var
procfs         4.0K    4.0K      0B   100%    /proc


Disk is ok.
I managed to sort it out by using
http://www.freebsd.org/doc/en/articles/custom-gcc/article.html and a
fresh clean src pull.
Switched to ports version, moved the old /usr/bin/as, made a symlink
from /usr/local/bin/as to /usr/bin/ and made a copy of original
/usr/local/bin/as before starting the build.
After installing the install -C yanked the symlink and installed the
new as binary.
Testing compiling sudo - works fine without errors.
Thanks for attention and have a nice week-end!
Best,
Dimitar


More information about the freebsd-questions mailing list