[oe] gcc atomic instruction support for armv5te

Khem Raj raj.khem at gmail.com
Mon Mar 22 17:53:58 UTC 2010


On (22/03/10 08:48), Steffen Sledz wrote:
> Khem Raj wrote:
> >> As mentioned before i try to create a recipe for rsyslog.
> >>
> >> Now i hit the next big problem. The last item at
> >> http://www.rsyslog.com/doc-build_from_repo.html says that
> >>
> >> "The availability of atomic instructions is vital for rsyslog"
> >>
> >> The gcc version 4.3.3 which is used for armv5te by default
> >> misses this. :(
> >>
> >> Is there a newer gcc version with atomic instruction for armv5te
> >> machines available/tested? I heard rumors that 4.4.3 shell
> >> have it?
> > 
> > yes 4.4+ should have them as intrinsic functions.
> 
> Unfortunately angstrom uses 4.3.3 by default.
> 
> Is it possible to build just this one package with a newer gcc?

though its possible I wouldnt go for having a different gcc for one package
is there an older version of rsyslog which does not use the intrinsics ?
you might also look at backporting intrinsics to gcc 4.3 which might be a
bit hairy

> 
> > Which ones are needed by rsyslog ?
> 
> __sync_fetch_and_sub
> __sync_fetch_and_add
> __sync_fetch_and_or
> __sync_fetch_and_and
> __sync_sub_and_fetch
> __sync_lock_test_and_set
> __sync_bool_compare_and_swap
> __sync_val_compare_and_swap
> 
> Steffen
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list