[oe] gcc atomic instruction support for armv5te

Steffen Sledz sledz at dresearch.de
Mon Mar 22 07:48:48 UTC 2010


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?

> 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





More information about the Openembedded-devel mailing list