Date: Mon, 18 Jan 2016 18:08:01 +0000 From: Andrew Turner <andrew@fubar.geek.nz> To: Hamza Sheikh <fehrist@codeghar.com> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: make buildworld failed with error "relocation truncated to fit: R_ARM_JUMP24 against symbol `_fini'" Message-ID: <20160118180801.7916ef84@zapp> In-Reply-To: <569C1D2E.6040401@codeghar.com> References: <569C1D2E.6040401@codeghar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 17 Jan 2016 15:01:02 -0800 Hamza Sheikh <fehrist@codeghar.com> wrote: ... > # cat /etc/make.conf > CC=clang > CXX=clang++ > CPP=clang-cpp Why are you setting these? The default cc should already be clang. > WRKDIRPREFIX=/tmp > WITH_PKGNG=yes > # make buildworld > > > == Error == > > ... <Snip Output>... > /usr/lib/crt1.o: In function `__start': > /usr/local/raspbsd/src/common/lib/csu/arm/crt1.c:(.text+0xb4): > relocation truncated to fit: R_ARM_CALL against symbol `atexit' > defined in .text section in /us > r/lib/libc.a(atexit.o) > /usr/local/raspbsd/src/common/lib/csu/arm/crt1.c:(.text+0xbc): > relocation truncated to fit: R_ARM_CALL against symbol `_init_tls' > defined in .text section in > /usr/lib/libc.a(tls.o) > /usr/local/raspbsd/src/common/lib/csu/arm/crt1.c:(.text+0xcc): > relocation truncated to fit: R_ARM_CALL against symbol `atexit' > defined in .text section in /us > r/lib/libc.a(atexit.o) > /usr/local/raspbsd/src/common/lib/csu/arm/crt1.c:(.text+0x174): > relocation truncated to fit: R_ARM_CALL against symbol `exit' defined > in .text section in /usr > /lib/libc.a(exit.o) > /usr/lib/crt1.o: In function `finalizer': > /usr/local/raspbsd/src/common/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 > clang++: error: linker command failed with exit code 1 (use -v to see > invocation) Can you provide a full build log? It's difficult to figure out the issue from just the error messages. Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160118180801.7916ef84>