From owner-freebsd-arm@FreeBSD.ORG Thu Sep 19 22:36:12 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 65907705 for ; Thu, 19 Sep 2013 22:36:12 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from nibbler.fubar.geek.nz (nibbler.fubar.geek.nz [199.48.134.198]) by mx1.freebsd.org (Postfix) with ESMTP id 469D52E0F for ; Thu, 19 Sep 2013 22:36:11 +0000 (UTC) Received: from bender.Home (97e5e46b.skybroadband.com [151.229.228.107]) by nibbler.fubar.geek.nz (Postfix) with ESMTPSA id 5A3895E2FD; Thu, 19 Sep 2013 22:36:10 +0000 (UTC) Date: Thu, 19 Sep 2013 23:36:01 +0100 From: Andrew Turner To: "Ronald Klop" Subject: Re: svn on armv5 with clang? (Fwd: svn commit: r254539 - head/usr.bin) Message-ID: <20130919233601.27bce4aa@bender.Home> In-Reply-To: References: <201308191744.r7JHiJ00063824@svn.freebsd.org> <20130917190215.7093f261@bender.Home> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Sep 2013 22:36:12 -0000 On Thu, 19 Sep 2013 14:57:25 +0200 "Ronald Klop" wrote: > On Tue, 17 Sep 2013 20:02:15 +0200, Andrew Turner > wrote: > > > On Tue, 17 Sep 2013 16:13:22 +0200 > > "Ronald Klop" wrote: > > > >> Hi, > >> > >> I am reading up on commits and found this one. Is ARMv5 capable of > >> building the in-tree svn also? > >> > > It is unlikely, I don't think we provide the required atomic > > functions for ARMv5. On armv6 clang provides them, however I don't > > thing it knows how to set up ARM_RAS_START. Without this we have to > > implement more of the __sync_* functions for svn to work on ARMv5. > > I don't know of any plans to add them. > > > > Andrew > > > > I just tried it and you are right. For some mailinglist documentation > I append the error here. > Is this something for FreeBSD to add or for clang/llvm folks? Or a > joint effort? It is something FreeBSD needs to add to sys/arm/arm/stdatomic.c. If anyone feels like working on it I would suggest they split out the armv6 version of the functions into a separate file as it is rather difficult to follow. Andrew