From owner-freebsd-toolchain@freebsd.org Tue Jan 5 18:35:25 2016 Return-Path: Delivered-To: freebsd-toolchain@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 EEEABA63ED0 for ; Tue, 5 Jan 2016 18:35:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qg0-x22f.google.com (mail-qg0-x22f.google.com [IPv6:2607:f8b0:400d:c04::22f]) (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 AA0C21F4E for ; Tue, 5 Jan 2016 18:35:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qg0-x22f.google.com with SMTP id e32so194772791qgf.3 for ; Tue, 05 Jan 2016 10:35:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=oKvJcldLCCVKnESqryNOwjQrO+vyASxY+IS6WHQwV3E=; b=HLNbRo+EJBHIkJ0jaQwiDavasHxVX3nJjbmeJGbU76QKwOvQ9hQPk+AvLhpkUIGHi4 +djBY3zipwd+SeFbkMjUltfNCgvfUsBcuwWSsEcdbqfINkHnkgd3b724i9/NmuUpZJdh YQaGIq4xKUlybF8yIWPbpUFj4VXagnoBMEzruob/MnDD+ZTbXL9/b/OonYN1QjQ8sAMM cRfkwEQZzhcH7G188eFhltMW/iikRlxuUkXIydX4zLyRAkqJkbol1t+znVRADWArDYsN 96sixznDLBidHE4VrqDBjZzC+PoKQsaHeDXtO+KEqcyGBwzPSBrdSKexhGRnJjFOiT3G 97EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=oKvJcldLCCVKnESqryNOwjQrO+vyASxY+IS6WHQwV3E=; b=B69F/St6FcBhmhKF2OntsaTESu5iDrmFZfrH/rXjQ9DLicfXtgp15YHy3yhlT2/J6y 8ILD3qwhtCmnGJ42YbMlYEXsTB6hk6HzazqYiwa5fusqvLUvHFz//XVMBP4g9EiE89N5 G/jXnfvWdNhVr7EeClMNTBniD7HthSO/6dRsq3ZnrqjkscapIxSoJN6OLKlWdgNQFuSS W0V3nysHGTepO8F5Mcedb0ZO+x4sqgPn8tvv0DB/eh0bNCSp7r4+7hjHgeONikNPly9/ mdt7wLAgruMDRveq5mj0xQaycvV+IbJ3QumR5jVvJGRtjTpVh1QWW9iaP555EYiejYW+ luuA== X-Gm-Message-State: ALoCoQm67X0ZvkW8J+qRETjRl+JGvZBI+VxLLNx/HvSsgraMQKt9fkxHTkC8gCZ+U2VEVG3hJNJD+bDMRCWLLiYkshrWSQUhyg== MIME-Version: 1.0 X-Received: by 10.140.29.131 with SMTP id b3mr122845095qgb.50.1452018924736; Tue, 05 Jan 2016 10:35:24 -0800 (PST) Sender: wlosh@bsdimp.com Received: by 10.140.27.181 with HTTP; Tue, 5 Jan 2016 10:35:24 -0800 (PST) X-Originating-IP: [2601:280:4900:3700:a188:e7cd:b123:bb4b] In-Reply-To: References: Date: Tue, 5 Jan 2016 11:35:24 -0700 X-Google-Sender-Auth: opw3NVvca96uyZp4jqc0kLO1BlM Message-ID: Subject: Re: Bug 205663 Clang getting Bus Errors (arm SCLTR Bit[12]==1 context): Reported fixed on llvm's trunk From: Warner Losh To: Mark Millard Cc: freebsd-arm , FreeBSD Toolchain Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2016 18:35:26 -0000 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... Warner