From owner-freebsd-arch@FreeBSD.ORG Sun Apr 8 05:34:04 2012 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F0B4106566C for ; Sun, 8 Apr 2012 05:34:04 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id CF4CE8FC22 for ; Sun, 8 Apr 2012 05:34:03 +0000 (UTC) Received: from 63.imp.bsdimp.com (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id q385UiVF077590 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Sat, 7 Apr 2012 23:30:44 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20120408164615.12a4efe6@fubar.geek.nz> Date: Sat, 7 Apr 2012 23:30:44 -0600 Content-Transfer-Encoding: 7bit Message-Id: <37569257-5E8D-4E27-867F-1251EF3140F3@bsdimp.com> References: <2FF97057-905D-4F02-9138-75680ABC6202@canonware.com> <4F79F020.9070504@freebsd.org> <3C11DB18-1C43-446E-A0BC-FC15C6126819@canonware.com> <4F7A170E.8020209@bluezbox.com> <4F7B98C0.6090209@bluezbox.com> <20120405205822.GR9275@thebe.jupiter.sigsegv.be> <20120407141821.4ece0331@fubar.geek.nz> <20120407074725.GW9275@thebe.jupiter.sigsegv.be> <20120408164615.12a4efe6@fubar.geek.nz> To: Andrew Turner X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Sat, 07 Apr 2012 23:30:44 -0600 (MDT) Cc: Kristof Provost , Jason Evans , Oleksandr Tymoshenko , freebsd-arch@FreeBSD.org Subject: Re: TLS on ARM and MIPS X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Apr 2012 05:34:04 -0000 On Apr 7, 2012, at 10:46 PM, Andrew Turner wrote: > On Sat, 7 Apr 2012 09:47:26 +0200 > Kristof Provost wrote: > >> On 2012-04-07 14:18:21 (+1200), Andrew Turner >> wrote: >>> Can you try the patch at [1]. It should fix the issue you are >>> seeing. It appears to create a correct version of __aeabi_read_tp >>> but I'm waiting on buildworld/installworld to finish. >>> >> Yes, that works! >> >> I now get full user space, and no more alignment faults. > > Ok, I've committed the fix. TLS should work correctly on ARM now. Woot! Are you still the souther-most committer? Warner