bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in libpthread while running prog linked with libpython2.5 and


From: Samuel Thibault
Subject: Re: Error in libpthread while running prog linked with libpython2.5 and libfshelp
Date: Sun, 15 Jun 2008 01:00:49 +0100
User-agent: Mutt/1.5.12-2006-07-14

Hello,

Anatoly A. Kazantsev, le Sat 14 Jun 2008 20:45:12 +0700, a écrit :
> But if I compile it with command:
> $gcc -o pytest pytest.c -lpython2.5 -lfshelp
> 
> and when I run it, I get error:
> pytest: 
> /build/mbanck/hurd-20080607/build-tree/hurd/libpthread/pthread/pt-self.c:28: 
> pthread_self: Assertion `__pthread_threads' failed.

That's because you have a conflict between libpthread and libcthread.
fshelp uses cthread, and in that case libc doesn't initialize
libpthread. It is one of the tasks on savannah to port hurd stuff on
libpthread instead of libcthread precisely for such issues :/

Samuel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]