[gccsdk] Dynamic libraries vs pthreads

Lee Noar leenoar at sky.com
Wed Aug 27 10:31:39 PDT 2008

Ben Avison wrote:
> On Mon, 25 Aug 2008 20:53:14 +0100, Lee Noar <leenoar at sky.com> wrote:
>> Eventually, I traced this to the STMFD instruction in pthread_yield:
>>    STMDB	a1, {r4-r14}^
> There is a bug with STM^ on the early SA110s - you must have a rev K one
> (it's fixed in rev S and T, the other two common ones in Risc PC processor
> cards). Rev K SA110s are ancient history as far as ARM is concerned, I doubt
> they'll have had many customers other than Acorn.
> If you look at the kernel sources, you'll see exactly the same workaround in
> a few places.

Ah, right, thanks. You're right, I do have a revision K so that probably 
explains it. Perhaps I should commit this change to pthread_yield.


More information about the gcc mailing list