--without-threads and its effect on threading

Jonathan Leto jaleto at gmail.com
Fri Jan 29 21:26:53 UTC 2010


Howdy,

Can someone think up a test case that will fail if parrot is compiled
using the --without-threads flag but still has threads? I am willing
to write it, just tell me the best way to go about it.

Duke


On Fri, Jan 29, 2010 at 12:29 PM, NotFound <julian.notfound at gmail.com> wrote:
>> also remains single-threaded. So I compiled Parrot using the --without-threads
>> configure argument, and gdb tells me this when the Parrot interpreter starts
>> up:
>>
>> [Thread debugging using libthread_db enabled]
>> Error while reading shared library symbols:
>> Cannot find new threads: generic error
>> Cannot find new threads: generic error
>>
>> I admit not knowing what that message means, precisely, but it sure looks like
>> Parrot's doing something with threads, and this despite the --without-threads
>
> I configured --without-threads and it builds a runs, just fails tests
> in t/src/atomic.t, not unexpectedly. However ldd shows that the parrot
> executable links libpthread so, yes, is doing something that it
> shouldn't.
>
> --
> Salu2
> _______________________________________________
> http://lists.parrot.org/mailman/listinfo/parrot-dev
>



-- 
Jonathan "Duke" Leto
jonathan at leto.net
http://leto.net


More information about the parrot-dev mailing list