Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2007 15:02:44 -0700
From:      Alfred Perlstein <alfred@freebsd.org>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        Yar Tikhiy <yar@comp.chem.msu.su>, src-committers@freebsd.org, cvs-all@freebsd.org, cvs-src@freebsd.org
Subject:   Re: cvs commit: src/lib/libc/gen fts-compat.c fts-compat.h
Message-ID:  <20070824220244.GH87451@elvis.mu.org>
In-Reply-To: <20070824215515.GF16131@turion.vk2pj.dyndns.org>
References:  <200708230509.l7N59VCi048341@repoman.freebsd.org> <Pine.GSO.4.64.0708241057010.12450@sea.ntplx.net> <20070824183630.GA99474@comp.chem.msu.su> <20070824215515.GF16131@turion.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Not to pick on anyone here but Yar did something that works,
why exactly are we not allowing him to use the tools provided
for this exact purpose and instead making him do convoluted
workarounds?

I mean seriously, so we have a versioned symbol that could
possibly be avoided by a lot of hard work and magic which will
probably fail for a bunch of users....

...so why not just use what works?

-Alfred

* Peter Jeremy <peterjeremy@optushome.com.au> [070824 14:53] wrote:
> On 2007-Aug-24 22:36:30 +0400, Yar Tikhiy <yar@comp.chem.msu.su> wrote:
> >The reason for exercising symbol versions right now is that "make
> >installworld" is sensitive to the fts(3) ABI.  If the ABI is just
> >broken w/o special measures, "make installworld" will fail in the
> >middle and leave you with a botched system.  It goes as follows:
> >
> >- "make installworld" copies the old /usr/bin/find and some other
> >  tools to /tmp/install.xxx for use during the install
> >- libc is overwritten by its new instance, with new fts(3) ABI
> >- the old find(1) is run by installworld and dumps core immediately.
> 
> The other option is to update the "copy old executables" part of
> installworld to also copy relevant old shared libraries and force
> their use for the "make reinstall" via LD_LIBRARY_PATH.
> 
> -- 
> Peter Jeremy



-- 
- Alfred Perlstein



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