Skip to contentSkip to conversation

gcc atomic instruction support for armv5te

DISCUSSION Steffen Sledz 2 participants 4 messages Mar 15, 2010 – Mar 22, 2010

lore
Share & tools
lore
#0 lore raw

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?

Steffen

#1 lore raw
Quoted 5 lines · Steffen Sledz

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

Quoted 8 lines

"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. Which ones are needed by rsyslog ?

Quoted 8 lines

Steffen

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 7 lines · Khem Raj
Quoted 7 lines

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"

Quoted 8 lines
Quoted 6 lines

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?

Quoted 1 line

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

#3 lore raw
Quoted 15 lines · Steffen Sledz
Quoted 14 lines · Khem Raj
Quoted 13 lines

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?

Quoted 5 lines
Quoted 1 line

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

Quoted 19 lines
Quoted 2 lines

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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel