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:44:15 UTC 2016


On Mon, 18 Jan 2016 10:40:15 -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.  
> 
> 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].

Does it build if you don't set these?

> > 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`.

you can get a build log by running under script(1), for example:

script build.log make buildworld ...

Andrew


More information about the freebsd-arm mailing list