Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2013 23:36:01 +0100
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        "Ronald Klop" <ronald-freebsd8@klop.yi.org>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: svn on armv5 with clang? (Fwd: svn commit: r254539 - head/usr.bin)
Message-ID:  <20130919233601.27bce4aa@bender.Home>
In-Reply-To: <op.w3nsxzuw8527sy@212-182-167-131.ip.telfort.nl>
References:  <201308191744.r7JHiJ00063824@svn.freebsd.org> <op.w3j64kz18527sy@212-182-167-131.ip.telfort.nl> <20130917190215.7093f261@bender.Home> <op.w3nsxzuw8527sy@212-182-167-131.ip.telfort.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Sep 2013 14:57:25 +0200
"Ronald Klop" <ronald-freebsd8@klop.yi.org> wrote:

> On Tue, 17 Sep 2013 20:02:15 +0200, Andrew Turner
> <andrew@fubar.geek.nz> wrote:
> 
> > On Tue, 17 Sep 2013 16:13:22 +0200
> > "Ronald Klop" <ronald-freebsd8@klop.yi.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130919233601.27bce4aa>