Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2016 10:40:15 -0800
From:      Hamza Sheikh <fehrist@codeghar.com>
To:        Andrew Turner <andrew@fubar.geek.nz>
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:  <569D318F.1090201@codeghar.com>
In-Reply-To: <20160118180801.7916ef84@zapp>
References:  <569C1D2E.6040401@codeghar.com> <20160118180801.7916ef84@zapp>

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



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