From owner-freebsd-arm@freebsd.org Mon Jan 18 18:44:15 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66635A8638F for ; Mon, 18 Jan 2016 18:44:15 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from kif.fubar.geek.nz (kif.fubar.geek.nz [178.62.119.249]) by mx1.freebsd.org (Postfix) with ESMTP id 385DE1F52 for ; Mon, 18 Jan 2016 18:44:15 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from zapp (global-5-143.nat-2.net.cam.ac.uk [131.111.5.143]) by kif.fubar.geek.nz (Postfix) with ESMTPSA id 24EA3D7A17; Mon, 18 Jan 2016 18:43:44 +0000 (UTC) Date: Mon, 18 Jan 2016 18:43:42 +0000 From: Andrew Turner To: Hamza Sheikh Cc: freebsd-arm 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> X-Mailer: Claws Mail 3.13.1 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2016 18:44:15 -0000 On Mon, 18 Jan 2016 10:40:15 -0800 Hamza Sheikh 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