make buildworld failed with error "relocation truncated to fit: R_ARM_JUMP24 against symbol `_fini'"

Toby misc.lists at fsck.ch
Mon Jan 18 06:51:14 UTC 2016


On 18/01/16 00:13, Andreas Schwarz wrote:
> On 17.01.16, Hamza Sheikh wrote:
> 
>> I am running FreeBSD on Raspberry Pi 2, installed from a RaspBSD[1] 
>> image. It is a new 64GB Micro SD card. I was running out of space on 8GB 
>> card during `make installworld`.
> 
> Your working /tmp (md device) is only 48M, I would recommend to
> change this to tmpfs, which is dynamic and more efficient or don't
> mount it and use the / filesystem.

buildworld fails in the same way for me, and my /tmp and /var/tmp are
1GB each, /usr/obj is around 4GB and / has around 700MB of free space
before starting the build.

I did a successful buildworld with the same configuration just before
the latest batch of security advisories came in. Because of all the
advisories, I updated src and did another buildworld. It has failed since.

Thanks,
Toby


(error message added again for reference)
/usr/lib/crt1.o: In function `finalizer':
/usr/src/lib/csu/arm/crt1.c:(.text+0x1ec): relocation truncated to fit:
R_ARM_JUMP24 against symbol `_fini' defined in .fini section in
/usr/lib/crti.o
c++: error: linker command failed with exit code 1 (use -v to see
invocation)
*** Error code 1

Stop.
make[4]: stopped in /usr/src/usr.bin/clang/clang
*** Error code 1



More information about the freebsd-arm mailing list