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

Hamza Sheikh fehrist at codeghar.com
Mon Jan 18 18:40:19 UTC 2016


>> # cat /etc/make.conf
>> CC=clang
>> CXX=clang++
>> CPP=clang-cpp
>
> Why are you setting these? The default cc should already be clang.

I got that from a BSD Now tutorial[1] before they added the disclaimer 
at the top. I did not add `CPUTYPE?=native` because of Bug 204636[2].


> Can you provide a full build log? It's difficult to figure out the
> issue from just the error messages.

I did not see a build log file created in /usr/src. Since I'm using a 
tmux session it kept only the last chunk of output when scrolling up. I 
have been unable to find a way to create a log file for `make 
buildworld`. Would a simple redirect suffice? Say `make buildworld > 
build.log`.

$ pwd; find . -name \*.log
/usr/src
./contrib/mdocml/config.log
./usr.bin/compress/doc/revision.log


[1] http://www.bsdnow.tv/tutorials/the-desktop
[2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204636


-- 
Hamza Sheikh
Twitter: @aikchar


More information about the freebsd-arm mailing list