Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2007 09:20:07 GMT
From:      "Andrey Sverdlichenko" <blaze@ruddy.ru>
To:        freebsd-threads@FreeBSD.org
Subject:   Re: threads/83914: [libc] popen() doesn't work in static threaded programs.
Message-ID:  <200707130920.l6D9K7mk034258@freefall.freebsd.org>

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

From: "Andrey Sverdlichenko" <blaze@ruddy.ru>
To: bug-followup@freebsd.org, phk@critter.freebsd.dk
Cc:  
Subject: Re: threads/83914: [libc] popen() doesn't work in static threaded programs.
Date: Fri, 13 Jul 2007 13:10:54 +0400

 It's linking issue.
 
 In dynamically linked executable vfork() mapped to threaded library
 by weak_reference.
 
 In statically linked binary popen() calls vfork() from libc.a,
 but later calls _execve() from libpthread.a since it's not
 weak symbol.



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