From owner-freebsd-hackers Thu Feb 7 22:47: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 9BEA337B404; Thu, 7 Feb 2002 22:47:51 -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 g186lni25313; Thu, 7 Feb 2002 23:47:50 -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 g186lmL49701; Thu, 7 Feb 2002 23:47:49 -0700 (MST) (envelope-from imp@village.org) Date: Thu, 07 Feb 2002 23:47:21 -0700 (MST) Message-Id: <20020207.234721.71750312.imp@village.org> To: sobomax@FreeBSD.ORG Cc: 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 weird problems From: "M. Warner Losh" In-Reply-To: <1013147180.73417.2.camel@notebook> References: <1013147180.73417.2.camel@notebook> 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: <1013147180.73417.2.camel@notebook> Maxim Sobolev writes: : Based on the problematic code in the ORBit I had prepared short testcase : illustrating the problem and attaching it with this message. The problem : could be exposed by compiling the test.c using the following command: : : $ cc test.c -o test -lc -lc_r cc test.c -o test -pthread If that doesn't work, test.c is broken :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message