From owner-freebsd-arm@freebsd.org Sun May 22 21:37:03 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 BDCFCB46BE8 for ; Sun, 22 May 2016 21:37:03 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 82FFF1AA5 for ; Sun, 22 May 2016 21:37:03 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 6293e8b1-2065-11e6-a09e-4d61a6885157 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.34.117.227 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.34.117.227]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Sun, 22 May 2016 21:37:29 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.14.9) with ESMTP id u4MLasGu063893; Sun, 22 May 2016 15:36:55 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1463953014.1180.395.camel@freebsd.org> Subject: Re: upgrading arm6hf From: Ian Lepore To: bob prohaska , Ulrich Grey Cc: freebsd-arm Date: Sun, 22 May 2016 15:36:54 -0600 In-Reply-To: <20160521184422.GN1049@www.zefox.net> References: <20160520065945.GH1049@www.zefox.net> <1463776364.1180.340.camel@freebsd.org> <20160520231622.GI1049@www.zefox.net> <20160521002859.GJ1049@www.zefox.net> <1463795214.1180.351.camel@freebsd.org> <20160521021227.GK1049@www.zefox.net> <1463797063.1180.354.camel@freebsd.org> <20160521023515.GA15151@bluezbox.com> <20160521155043.GM1049@www.zefox.net> <1463849864.1180.364.camel@freebsd.org> <20160521184422.GN1049@www.zefox.net> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2016 21:37:03 -0000 On Sat, 2016-05-21 at 11:44 -0700, bob prohaska wrote: > On Sat, May 21, 2016 at 10:57:44AM -0600, Ian Lepore wrote: > > > > [...] > /usr/src/usr.bin/clang/clang/../../../contrib/llvm/include/llvm/Suppo > rt/Allocator.h:95: additional relocation overflows omitted from the > output > c++: error: linker command failed with exit code 1 (use -v to see > invocation) > *** [clang.full] Error code 1 > Would it make any sense to back down to the pre-hardfloat kernel and > try again? > My feeling is "no", but unless there's much to lose it's an easy > experiment. > > bob prohaska I tracked this down today and just committed the fix as r300438. The problem was that MACHINE_CPUARCH was being set to 'armhf' instead of 'arm' because the translation for 'hf' suffix was removed from share/sys.mk. We'll need to leave that translation in place for a few months until everyone running self-hosted armv6hf systems have had a chance to update. So now the build with TARGET_ARCH=armv6 should work. There is probably some subset of what's in obj/ that could be deleted to avoid a full rebuild, but I don't know what it is for sure, I just deleted everything and started over. My build is not done yet, but it has gotten further than it did last night, so this fix is looking good so far. -- Ian