From owner-freebsd-hackers Thu Feb 7 23:32:55 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id C681E37B419; Thu, 7 Feb 2002 23:32:49 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g187Wmi25474; Fri, 8 Feb 2002 00:32:48 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g187WkL49991; Fri, 8 Feb 2002 00:32:46 -0700 (MST) (envelope-from imp@village.org) Date: Fri, 08 Feb 2002 00:32:23 -0700 (MST) Message-Id: <20020208.003223.29577858.imp@village.org> To: stephen@math.missouri.edu Cc: sobomax@FreeBSD.ORG, jdp@FreeBSD.ORG, deischen@FreeBSD.ORG, jasone@FreeBSD.ORG, hackers@FreeBSD.ORG, jlemon@FreeBSD.ORG Subject: Re: Linking libc before libc_r into application causes weirdproblems From: "M. Warner Losh" In-Reply-To: <3C63773A.8DBF36F6@math.missouri.edu> References: <1013147180.73417.2.camel@notebook> <20020207.234939.69060047.imp@village.org> <3C63773A.8DBF36F6@math.missouri.edu> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <3C63773A.8DBF36F6@math.missouri.edu> Stephen Montgomery-Smith writes: : cc -o test test.c -pthread -D_THREAD_SAFE : : or am I misunderstanding something? Ah, yes. -D_THREAD_SAFE is technically needed. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message