From owner-freebsd-arm@freebsd.org Sat Jan 9 14:02:22 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 30E3EA69ECE; Sat, 9 Jan 2016 14:02:22 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE6D215AC; Sat, 9 Jan 2016 14:02:21 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::c159:5a2a:f018:fee2] (unknown [IPv6:2001:7b8:3a7:0:c159:5a2a:f018:fee2]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 1301C2AC75; Sat, 9 Jan 2016 15:02:17 +0100 (CET) Subject: Re: Bug 205663 Clang getting Bus Errors (arm SCLTR Bit[12]==1 context): Reported fixed on llvm's trunk Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/signed; boundary="Apple-Mail=_90C86694-02E7-437A-A3BE-1414D618B40A"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 (ebbf3ef) From: Dimitry Andric In-Reply-To: <92264003-CF0E-4624-A28A-8AFB7C663BFB@dsl-only.net> Date: Sat, 9 Jan 2016 15:03:37 +0100 Cc: freebsd-arm , FreeBSD Toolchain , Ian Lepore Message-Id: <39774562-F76E-41E9-85E7-ABE257B013D6@FreeBSD.org> References: <1452020032.1320.21.camel@freebsd.org> <7EE8F65E-7485-4FA9-A136-F22090DB107F@FreeBSD.org> <92264003-CF0E-4624-A28A-8AFB7C663BFB@dsl-only.net> To: Mark Millard X-Mailer: Apple Mail (2.3112) 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: Sat, 09 Jan 2016 14:02:22 -0000 --Apple-Mail=_90C86694-02E7-437A-A3BE-1414D618B40A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 09 Jan 2016, at 04:46, Mark Millard wrote: >=20 > On 2016-Jan-7, at 2:57 PM, Dimitry Andric wrote: ... >> FYI, I have added a -mno-movt option for this purpose upstream, and >> imported a newer snapshot into the clang380-import branch. As of >> r293384, it now uses the new option spelling for modules, if your = clang >> is 3.8.0 or higher. >>=20 >> -Dimitry >=20 > I've not been able to get to the point of running clang++ 3.8 on the = rpi2 yet: R_ARM_CALL and R_ARM_JUMP24 relocation truncations during the = cross build's buildworld interfere. Yes, this is caused by too large call distances. In other words, the clang executable is getting to big to link. Apparently we need to do some tricks with -mlongcall to fix this. As I am no arm expert, I welcome any patch submissions. :-) -Dimitry --Apple-Mail=_90C86694-02E7-437A-A3BE-1414D618B40A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.29 iEYEARECAAYFAlaRE00ACgkQsF6jCi4glqMbYQCghsC0QH3MmmrUFHqWtJ9jZXQW beoAoOEceiIGWKwjXg/52vnJMYh9cyfs =dait -----END PGP SIGNATURE----- --Apple-Mail=_90C86694-02E7-437A-A3BE-1414D618B40A--