Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2002 07:48:52 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Juli Mallett <jmallett@FreeBSD.ORG>
Cc:        "M. Warner Losh" <imp@bsdimp.com>, freebsd-current@FreeBSD.ORG
Subject:   Re: __sF
Message-ID:  <20021103154852.GB33995@troutmask.apl.washington.edu>
In-Reply-To: <20021103032859.B5174@FreeBSD.org>
References:  <20021102181031.GB28779@troutmask.apl.washington.edu> <20021102185841.GZ62585@procyon.firepipe.net> <20021102190642.GA28971@troutmask.apl.washington.edu> <20021102.174008.16163522.imp@bsdimp.com> <20021103005033.GC30494@troutmask.apl.washington.edu> <20021103032859.B5174@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 03, 2002 at 03:29:04AM -0800, Juli Mallett wrote:
> * De: Steve Kargl <sgk@troutmask.apl.washington.edu> [ Data: 2002-11-02 ]
> 	[ Subjecte: Re: __sF ]
> > On Sat, Nov 02, 2002 at 05:40:08PM -0700, M. Warner Losh wrote:
> > > In message: <20021102190642.GA28971@troutmask.apl.washington.edu>
> > > 
> > > You should be linking against the -stable versions of these items as
> > > well as the libc.so.4.  If you don't, then you are asking for
> > > problems.  Maybe you can kludge it to make libc.so.5 work, but the
> > > whole reason that it is .5 and not .4 is that it is not binary
> > > compatible with .4, and for more reasons than just __sF.
> > 
> > Fine, I'll try to set up a cross build enviroment.
> > But, we need to then install a complete set of 4.x
> > libraries in /usr/lib/compat.
> 
> No, that's for runtime compatability.  You want a true cross environment.
> 
> Read any of the thousands of pages about setting up GCC for cross-platform
> development, as that's what you're doing.  You just happen to have a chance
> of running the cross-created things locally.
> 

Let's say I have an 4.7 app linked against libcam.so.
Now, I update to 5.0.  What library will this app use?
There isn't a COMPAT4X library available and the 5.0
has the same version number and libcam.so has a 
reference to __sF.  There probably aren't many apps
that use libcam, so this is perhaps stretch.  Well,
consider libm.so and the 8000 ports.

As to my particular problem, a cross-platform
environment won't be of much use because NAG
hard-coded several paths into their app, e.g.,
/usr/bin/cc.

-- 
Steve

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?20021103154852.GB33995>