make buildworld failed with error "relocation truncated to fit: R_ARM_JUMP24 against symbol `_fini'"
Hamza Sheikh
fehrist at codeghar.com
Mon Jan 18 17:30:29 UTC 2016
> 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 have changed /tmp to use tmpfs.
$ cat /etc/fstab
/dev/mmcsd0s1 /boot/msdos msdosfs rw,noatime 0 0
/dev/mmcsd0s2a / ufs rw,noatime 1 1
#md /tmp mfs rw,noatime,-s50m 0 0
md /var/log mfs rw,noatime,-s15m 0 0
md /var/tmp mfs rw,noatime,-s10m 0 0
tmpfs /tmp tmpfs rw,mode=777 0 0
> 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.
Mark Millard[1] has identified possible issues with /usr/local/raspbsd
being present in the error message. As you can see I have no such path.
$ ls /usr/local/raspbsd
ls: /usr/local/raspbsd: No such file or directory
$ ls /usr/local
bin etc include lib libdata man openssl sbin share
> (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
It looks like you're using vanilla FreeBSD unlike me; I'm using RaspBSD
install/bootable image. Since we're hitting the same issue I'm guessing
it might not matter which install image is used.
[1] https://lists.freebsd.org/pipermail/freebsd-arm/2016-January/013053.html
--
Hamza Sheikh
Twitter: @aikchar
More information about the freebsd-arm
mailing list