From owner-freebsd-arm@freebsd.org Fri Jan 8 00:27:40 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 74E55A654A9 for ; Fri, 8 Jan 2016 00:27:40 +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 4F5181E0F for ; Fri, 8 Jan 2016 00:27:39 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Fri, 8 Jan 2016 00:28:14 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id u080RaEs005430; Thu, 7 Jan 2016 17:27:36 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1452212856.1215.28.camel@freebsd.org> Subject: Re: Bug 205663 Clang getting Bus Errors (arm SCLTR Bit[12]==1 context): Reported fixed on llvm's trunk From: Ian Lepore To: Dimitry Andric Cc: freebsd-arm , FreeBSD Toolchain , Mark Millard Date: Thu, 07 Jan 2016 17:27:36 -0700 In-Reply-To: <7EE8F65E-7485-4FA9-A136-F22090DB107F@FreeBSD.org> References: <1452020032.1320.21.camel@freebsd.org> <7EE8F65E-7485-4FA9-A136-F22090DB107F@FreeBSD.org> 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.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2016 00:27:40 -0000 On Thu, 2016-01-07 at 23:57 +0100, Dimitry Andric wrote: > On 05 Jan 2016, at 19:53, Ian Lepore wrote: > > > > On Tue, 2016-01-05 at 11:35 -0700, Warner Losh wrote: > ... > > > There's a projects/clang-380-import that you might want to try... > > > > It's a non-starter for us, because unfortunately they appear to > > have > > removed support for the -arm-use-movt=0 command line option, so now > > we > > can't build ubldr or kernel modules. > > 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. > > -Dimitry > I've updated to that and I'm still getting this error: cc1_main.o: In function `ForcePassLinking': [...]/src/usr.bin/clang/clang/../../../contrib/llvm/include/llvm/LinkAllPasses.h:194: undefined reference to `llvm::sys::RunningOnValgrind()' c++: error: linker command failed with exit code 1 (use -v to see invocation) --- clang.full --- *** [clang.full] Error code 1 I can apparently make it go away just by commenting out the line it complains about, so I'm forging ahead with that for now to see if I can do more testing. -- Ian