svn on armv5 with clang? (Fwd: svn commit: r254539 - head/usr.bin)
Andrew Turner
andrew at fubar.geek.nz
Thu Sep 19 22:36:12 UTC 2013
On Thu, 19 Sep 2013 14:57:25 +0200
"Ronald Klop" <ronald-freebsd8 at klop.yi.org> wrote:
> On Tue, 17 Sep 2013 20:02:15 +0200, Andrew Turner
> <andrew at fubar.geek.nz> wrote:
>
> > On Tue, 17 Sep 2013 16:13:22 +0200
> > "Ronald Klop" <ronald-freebsd8 at 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
More information about the freebsd-arm
mailing list