All of lore.kernel.org
 help / color / mirror / Atom feed
* gcc atomic instruction support for armv5te
@ 2010-03-15 11:37 Steffen Sledz
  2010-03-21  8:12 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Steffen Sledz @ 2010-03-15 11:37 UTC (permalink / raw)
  To: openembedded-devel

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc atomic instruction support for armv5te
  2010-03-15 11:37 gcc atomic instruction support for armv5te Steffen Sledz
@ 2010-03-21  8:12 ` Khem Raj
  2010-03-22  7:48   ` Steffen Sledz
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2010-03-21  8:12 UTC (permalink / raw)
  To: openembedded-devel

On (15/03/10 12:37), Steffen Sledz 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. Which ones are needed by rsyslog ?

> 
> Steffen
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc atomic instruction support for armv5te
  2010-03-21  8:12 ` Khem Raj
@ 2010-03-22  7:48   ` Steffen Sledz
  2010-03-22 17:53     ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Steffen Sledz @ 2010-03-22  7:48 UTC (permalink / raw)
  To: openembedded-devel

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc atomic instruction support for armv5te
  2010-03-22  7:48   ` Steffen Sledz
@ 2010-03-22 17:53     ` Khem Raj
  0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2010-03-22 17:53 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-22 17:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 11:37 gcc atomic instruction support for armv5te Steffen Sledz
2010-03-21  8:12 ` Khem Raj
2010-03-22  7:48   ` Steffen Sledz
2010-03-22 17:53     ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.