Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2006 12:28:53 -0400 (EDT)
From:      Daniel Eischen <eischen@vigrid.com>
To:        Gergely CZUCZY <phoemix@harmless.hu>
Cc:        FreeBSD-gnats-submit@freebsd.org, freebsd-threads@freebsd.org
Subject:   Re: threads/104297: mixing libthr and libpthread through libs segfaults	the binary
Message-ID:  <Pine.GSO.4.64.0610111227551.18239@sea.ntplx.net>
In-Reply-To: <20061011161414.GA49235@harmless.hu>
References:  <200610111429.k9BET3aF047135@marvin.harmless.hu> <Pine.GSO.4.64.0610111211550.18239@sea.ntplx.net> <20061011161414.GA49235@harmless.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0610111227551.18239>