atom feed17 messages in org.freebsd.freebsd-currentRe: World breakage in libc_r?
FromSent OnAttachments
John PolstraOct 13, 1999 2:36 pm 
Doug RabsonOct 14, 1999 1:08 am 
Marcel MoolenaarOct 14, 1999 3:16 am 
Wilko BulteOct 14, 1999 9:45 am 
Kenneth Wayne CulverOct 14, 1999 12:09 pm 
Daniel EischenOct 14, 1999 12:20 pm 
John PolstraOct 14, 1999 2:06 pm 
John BirrellOct 14, 1999 2:19 pm 
Daniel EischenOct 14, 1999 2:34 pm 
John PolstraOct 14, 1999 2:44 pm 
John BirrellOct 14, 1999 2:53 pm 
Daniel EischenOct 14, 1999 3:25 pm 
David O'BrienOct 15, 1999 8:38 am 
Wilko BulteOct 15, 1999 11:09 am 
John BirrellOct 15, 1999 3:07 pm 
pa...@phoenix.volant.orgOct 15, 1999 3:23 pm 
John PolstraOct 17, 1999 10:16 am 
Subject:Re: World breakage in libc_r?
From:John Polstra (jd@polstra.com)
Date:Oct 14, 1999 2:44:45 pm
List:org.freebsd.freebsd-current

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 majo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message