From owner-freebsd-current Sun Mar 12 23: 7:50 2000 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 7F82B37B50E for ; Sun, 12 Mar 2000 23:07:43 -0800 (PST) (envelope-from obrien@NUXI.ucdavis.edu) Received: from dragon.nuxi.com (root@d60-024.leach.ucdavis.edu [169.237.60.24]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id HAA01630; Mon, 13 Mar 2000 07:07:42 GMT (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id XAA08747; Sun, 12 Mar 2000 23:07:41 -0800 (PST) (envelope-from obrien) Date: Sun, 12 Mar 2000 23:07:40 -0800 From: "David O'Brien" To: John Birrell Cc: current@freebsd.org Subject: Re: Weak symbols in libc_r broken? Message-ID: <20000312230740.A8720@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20000313145201.H34294@freebsd1.cimlogic.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000313145201.H34294@freebsd1.cimlogic.com.au>; from jb@cimlogic.com.au on Mon, Mar 13, 2000 at 02:52:02PM +1100 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 13, 2000 at 02:52:02PM +1100, John Birrell wrote: > Is it just me, or are the weak symbols in libc_r confusing the linker? Not just you. Jason and Mike Smith brought this to my attention on Friday. I found that if one takes a fresh -CURRENT and then: cd /usr/src/lib/libc_r cvs -q up -D 1/27/2000 make all install the susp.c code from the A&W Ptheads Programming book (http://www.aw.com/cseng/titles/0-201-63392-2/code/) would then work with compiled with "-static -pthread". Your analysis if what is currently happening is correct. -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message