From owner-freebsd-arm@freebsd.org Tue Jan 5 20:05:31 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 A6989A6316B for ; Tue, 5 Jan 2016 20:05:31 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7292C1579; Tue, 5 Jan 2016 20:05:31 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-vk0-x22b.google.com with SMTP id a123so114178329vkh.1; Tue, 05 Jan 2016 12:05:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vD2CTvoXPCXXPNE+Gks7LVw7/gnwUaIi7D1cFTW5C+4=; b=Z6iSVmyWORwgCmRmPzE1q4Q7WPj+MmQlNbaQpilU1PmoEQOQErztwNbtfQ3y5OCKt0 tSITmXGDfH5mT3cLyxpx6cHDWSpckCMvV2Bux1j/+OX61WAqtL2edh0cblmOYZDS4b+6 W+cU/8xsKCsR+1VxLLSx/bOY2XYpSDo5YFaJEkt4Lt+L8H2/u1FQ/tUGBg+5K41H2V7p wRODj59zHEGOJHAGHsoTScfro2XZ9Q1R6yE8CeZJMmtEb/sSRJxaq7s6kN1mkmBj8fth 5tqbnlm/d3FrsfQ495VS06CRAKtAMMBCv1BkB6RlSDdHnyLbu5vM+CXB3CUWh3KxRP4P u5yQ== MIME-Version: 1.0 X-Received: by 10.31.159.136 with SMTP id i130mr36048160vke.144.1452024330377; Tue, 05 Jan 2016 12:05:30 -0800 (PST) Received: by 10.31.47.137 with HTTP; Tue, 5 Jan 2016 12:05:30 -0800 (PST) In-Reply-To: <1452020032.1320.21.camel@freebsd.org> References: <1452020032.1320.21.camel@freebsd.org> Date: Tue, 5 Jan 2016 12:05:30 -0800 Message-ID: Subject: Re: Bug 205663 Clang getting Bus Errors (arm SCLTR Bit[12]==1 context): Reported fixed on llvm's trunk From: Russell Haley To: Ian Lepore , freebsd-arm Content-Type: text/plain; charset=UTF-8 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: Tue, 05 Jan 2016 20:05:31 -0000 On Tue, Jan 5, 2016 at 10:53 AM, Ian Lepore wrote: > > On Tue, 2016-01-05 at 11:35 -0700, Warner Losh wrote: > > On Tue, Jan 5, 2016 at 11:27 AM, Mark Millard > > wrote: > > > > > llvm.org's Bugzilla reports that clang trunk has been fixed and > > > clang 3.8 > > > will contain the fixes: > > > > > > James Molloy changed bug 25958 > > > What Removed Added > > > Status NEW RESOLVED > > > Resolution --- FIXED > > > Comment # 8 on bug 25958 from James Molloy > > > Hi Mark, > > > > > > Thanks for your detailed investigation. I can confirm that this is > > > fixed on > > > trunk and therefore will be fixed for LLVM 3.8. > > > > > > The fixes were done for SPARC, which requires strict accesses much > > > as ARM > > > does > > > with SCTLR=1. > > > > > > There was a sequence of commits by James Knight that fixed these, > > > but an > > > example is http://reviews.llvm.org/rL242554 . > > > > > > The fixes were in a similar vein to yours, but required changes in > > > fewer > > > places > > > and there were a few more sticky issues to solve too. I'll CC James > > > here in > > > case he wants to comment on the current state of the clang codebase > > > for > > > self-hosting in a strict alignment environment. > > > > > > Cheers, > > > > > > James > > > > > > > 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. Does this mean FreeBSD can't ever move to clang 3.8? Russ