Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2002 11:23:43 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        current@freebsd.org
Cc:        sgk@troutmask.apl.washington.edu
Subject:   Re: [PATCH] note the __sF change in src/UPDATING
Message-ID:  <200211071923.gA7JNh9m065706@vashon.polstra.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <20021107184517.GA64097@troutmask.apl.washington.edu>,
Steve Kargl  <sgk@troutmask.apl.washington.edu> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211071923.gA7JNh9m065706>