Date: Thu, 14 Oct 1999 14:45:07 -0700 (PDT) From: John Polstra <jdp@polstra.com> To: Daniel Eischen <eischen@vigrid.com> Cc: current@FreeBSD.ORG Subject: Re: World breakage in libc_r? Message-ID: <XFMail.991014144507.jdp@polstra.com> In-Reply-To: <199910142135.RAA00099@pcnet1.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> John Polstra wrote: > > One of the things on my wish list is a libpthread that can be linked > with libc. So the way to accomplish this is to have null hooks with > weak symbols in libc, and provide the same (non-null) functions in > libpthread but with strong symbols? Oh, maybe, but be careful. Weak symbols don't solve very many kinds of problems, but they can sure cause a lot of trouble. I don't have time to work through this case in detail right now. But think about whether a call to read() from inside libc will get the correct version in all cases. Consider both static and dynamic linking too -- they don't behave quite the same. There are lots of potential gotchas. Sorry to be so brief. I can help more with this after FreeBSDCon. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.991014144507.jdp>
