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

Daniel Eischen eischen at vigrid.com
Wed Oct 11 09:40:31 PDT 2006


The following reply was made to PR threads/104297; it has been noted by GNATS.

From: Daniel Eischen <eischen at vigrid.com>
To: Gergely CZUCZY <phoemix at harmless.hu>
Cc: FreeBSD-gnats-submit at freebsd.org, freebsd-threads at freebsd.org
Subject: Re: threads/104297: mixing libthr and libpthread through libs
 segfaults	the binary
Date: Wed, 11 Oct 2006 12:28:53 -0400 (EDT)

 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