From owner-freebsd-current Thu Nov 7 11:23:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B17C37B401 for ; Thu, 7 Nov 2002 11:23:47 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6085343E3B for ; Thu, 7 Nov 2002 11:23:46 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id gA7JNhx96599; Thu, 7 Nov 2002 11:23:43 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.5/8.12.5/Submit) id gA7JNh9m065706; Thu, 7 Nov 2002 11:23:43 -0800 (PST) (envelope-from jdp) Date: Thu, 7 Nov 2002 11:23:43 -0800 (PST) Message-Id: <200211071923.gA7JNh9m065706@vashon.polstra.com> To: current@freebsd.org From: John Polstra Cc: sgk@troutmask.apl.washington.edu Subject: Re: [PATCH] note the __sF change in src/UPDATING In-Reply-To: <20021107184517.GA64097@troutmask.apl.washington.edu> References: <200211070030.gA70UF05024508@troutmask.apl.washington.edu> <20021107173023.GA41366@troutmask.apl.washington.edu> <200211071735.gA7HZJvl065569@vashon.polstra.com> <20021107184517.GA64097@troutmask.apl.washington.edu> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20021107184517.GA64097@troutmask.apl.washington.edu>, Steve Kargl wrote: > On Thu, Nov 07, 2002 at 09:35:19AM -0800, John Polstra wrote: > > That would surprise me, but I haven't tried it myself. Inspection > > of the ezm3 bootstrap shows that it has references to __sF. > > > > Well, I just pkg_deinstall's both ezm3 and cvsup. I re-installed > both without problems. I then used cvsup to pull down some source > updates. However, here's the strange or maybe fortunate part > > troutmask:kargl[246] cd /usr/local/lib/m3 > troutmask:kargl[247] find . -name \*.a | xargs nm -A | grep __sF > ./pkg/m3core/FreeBSD4/libm3core.a:Cstdio.mo: U __sF > troutmask:kargl[248] strings /usr/local/sbin/cvsupd | grep __sF > troutmask:kargl[249] strings /usr/local/bin/cvsup | grep __sF Oh, I think I understand it now. PM3 uses shared libraries, so the undefined reference from libm3core.so matters. But ezm3 uses only static libraries, and Cstdio.mo probably isn't even included in the link (because nothing actually uses it). That explains why ezm3 works in spite of the fact that part of it references __sF. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message