Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2016 07:51:00 +0100
From:      Toby <misc.lists@fsck.ch>
To:        freebsd-arm@freebsd.org
Subject:   Re: make buildworld failed with error "relocation truncated to fit: R_ARM_JUMP24 against symbol `_fini'"
Message-ID:  <569C8B54.8040306@fsck.ch>
In-Reply-To: <478fef0c3db.611911c6@mail.schwarzes.net>
References:  <569C1D2E.6040401@codeghar.com> <478fef0c3db.611911c6@mail.schwarzes.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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