Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2016 18:43:42 +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:  <20160118184342.4fd5ec29@zapp>
In-Reply-To: <569D318F.1090201@codeghar.com>
References:  <569C1D2E.6040401@codeghar.com> <20160118180801.7916ef84@zapp> <569D318F.1090201@codeghar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Jan 2016 10:40:15 -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.  
> 
> 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



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