threads/83914: [libc] popen() doesn't work in static threaded programs.

Andrey Sverdlichenko blaze at ruddy.ru
Fri Jul 13 09:20:07 UTC 2007


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

From: "Andrey Sverdlichenko" <blaze at ruddy.ru>
To: bug-followup at freebsd.org, phk at 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.


More information about the freebsd-threads mailing list