Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 May 2010 00:00:53 +0300
From:      Dimitar Vassilev <dimitar.vassilev@gmail.com>
To:        John Levine <johnl@iecc.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 8-STABLE truncated elf file issues after buildworld
Message-ID:  <AANLkTikawZX47u83x17n5870zl1jq3Ej38aT5HD0Ju8a@mail.gmail.com>
In-Reply-To: <20100515172540.90957.qmail@joyce.lan>
References:  <AANLkTiked8_Ug71TSTOBIAsKY0zksc1WdHwgY6HSvQsJ@mail.gmail.com> <20100515172540.90957.qmail@joyce.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/5/15 John Levine <johnl@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@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



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