[okl4-developer] bad syscall error when using pthread library

Hal Ashburner hala at ok-labs.com
Thu Aug 23 15:33:24 EST 2007


On Thu, 2007-08-23 at 10:45 +0530, Kalamkar, Dhiraj D wrote:
> Hello,
> I am trying to use pthread library in one of linux application on
> wombat and getting bad syscall error (call = 243) which is
> set_thread_area syscall. It seems it is not implemented in wombat.
> 
> Is there any way to use pthread library in wombat applications? Or any
> compatible alternative thread library?

Hi Dhiraj,
On the current public release on the ia32 platform there is no way to
use nptl. You can, however use linux threads.

Compile your application and run with the environment variable set:
LD_ASSUME_KERNEL=2.4.20
and ensure that /lib/tls is moved out of the way (eg
#mv /lib/tls /lib/tls.bak )

With this things should work.
We have nptl on arm done for a customer but I don't know what the public
release schedule of that work is if any.


-- 
Kind regards,
Hal Ashburner




More information about the Developer mailing list