From owner-freebsd-arch@FreeBSD.ORG Sun Apr 8 04:47:35 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 930B71065672 for ; Sun, 8 Apr 2012 04:47:35 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from mailfilter18.ihug.co.nz (mailfilter18.ihug.co.nz [203.109.136.18]) by mx1.freebsd.org (Postfix) with ESMTP id 2C1578FC15 for ; Sun, 8 Apr 2012 04:47:35 +0000 (UTC) X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=kj9zAlcOel0A:10 a=f/SxzVRvWQdBqo0nlH1VRA==:17 a=0V1t0i4cAAAA:8 a=0qvrDrXZx4H4OPIaW0QA:9 a=CjuIK1q_8ugA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkAIADIXgU/Ldqol/2dsb2JhbABFtzOBcYEIggkBAQQBOhwjBQsIAxguOR4GE4gJBLlTkFoElWsBgRGPJYJ8 X-IronPort-AV: E=Sophos;i="4.75,389,1330858800"; d="scan'208";a="37051819" Received: from 203-118-170-37.adsl.ihug.co.nz (HELO localhost) ([203.118.170.37]) by cust.filter3.content.vf.net.nz with SMTP; 08 Apr 2012 16:46:25 +1200 Date: Sun, 8 Apr 2012 16:46:15 +1200 From: Andrew Turner To: Kristof Provost Message-ID: <20120408164615.12a4efe6@fubar.geek.nz> In-Reply-To: <20120407074725.GW9275@thebe.jupiter.sigsegv.be> 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> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; i386-portbld-freebsd8.0) X-Pirate: Arrrr Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arch@freebsd.org, Oleksandr Tymoshenko , Jason Evans 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 04:47:35 -0000 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. Andrew -- Andrew Turner WhiteQueue Consulting http://whitequeue.com/ Custom FreeBSD and Linux development 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