From owner-freebsd-hackers Wed Mar 19 15:32:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA01319 for hackers-outgoing; Wed, 19 Mar 1997 15:32:47 -0800 (PST) Received: from uucp.DK.net (uucp.DK.net [193.88.44.47]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id PAA01312 for ; Wed, 19 Mar 1997 15:32:24 -0800 (PST) Received: from pingnet (uucp@localhost) by uucp.DK.net (8.6.12/8.6.12) with UUCP id AAA02215; Thu, 20 Mar 1997 00:30:18 +0100 Received: from kyklopen by ic1.ic.dk with UUCP id AA20297 (5.65c8/IDA-1.4.4j); Thu, 20 Mar 1997 00:16:49 +0100 Received: (from staff@localhost) by kyklopen.ping.dk (8.8.5/8.8.4) id XAA02244; Wed, 19 Mar 1997 23:42:57 +0100 (MET) Date: Wed, 19 Mar 1997 23:42:57 +0100 (MET) From: Thomas Sparrevohn To: John Birrell Cc: Simon Shapiro , freebsd-hackers@freebsd.org Subject: Re: FW: threads... In-Reply-To: <199703192044.HAA07624@freebsd1.cimlogic.com.au> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Charset: ISO_8859-1 X-Char-Esc: 29 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 20 Mar 1997, John Birrell wrote: > Simon Shapiro wrote: > > - there is name space collisions between libc and libc_r. > > supposedly libc_r is a full blown replacement for libc (?). > > if you link with libc_r, libc gets linked as well. since > > ld assumes startup files (crt0.o and std lib c). order is > > important to solve some name space problems but this causes > > other non-fatal problems - like an empty stub for > > _thread_init() > > Use libc_r _instead_ of libc. libc_r is a super-set of libc, so the > name space collisions are not surprising -- they're intended! > Sorry but could'nt we just append a flag to gcc, say -pthread and let gcc handle the library shift etc. Its actually quite easy. -- Thomas