threads/104297: mixing libthr and libpthread through libs segfaults the binary

Daniel Eischen eischen at vigrid.com
Wed Oct 11 09:30:23 PDT 2006


On Wed, 11 Oct 2006, Gergely CZUCZY wrote:

> On Wed, Oct 11, 2006 at 12:12:32PM -0400, Daniel Eischen wrote:
>> On Wed, 11 Oct 2006, Gergely CZUCZY wrote:
>>
>>>
>>>> Number:         104297
>>>> Category:       threads
>>>> Synopsis:       mixing libthr and libpthread through libs segfaults the binary
>>
>> Of course it does, and that's to be expected.  This is not
>> a bug.
> it see. then why can pthread and libc_r be mixed?

They can't and it isn't supported.

> and how do i use libthr if one of the libs i link against
> is using libpthread?

You can't unless you relink everything or you use libmap.conf(5).

-- 
DE


More information about the freebsd-threads mailing list