Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2006 16:40:20 GMT
From:      Daniel Eischen <eischen@vigrid.com>
To:        freebsd-threads@FreeBSD.org
Subject:   Re: threads/104297: mixing libthr and libpthread through libs segfaults	the binary
Message-ID:  <200610111640.k9BGeKSd081872@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR threads/104297; it has been noted by GNATS.

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
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



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