make buildworld failed with error "relocation truncated to fit: R_ARM_JUMP24 against symbol `_fini'"
Andrew Turner
andrew at fubar.geek.nz
Mon Jan 18 18:08:32 UTC 2016
On Sun, 17 Jan 2016 15:01:02 -0800
Hamza Sheikh <fehrist at 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
More information about the freebsd-arm
mailing list