On Thu, Aug 15, 2002 at 11:16:13AM -0500, Larry Rosenman wrote: > On Thu, 2002-08-15 at 10:59, Ruslan Ermilov wrote: > > On Thu, Aug 15, 2002 at 09:34:07AM -0500, Stephen Hilton wrote: > > > On 15 Aug 2002 09:22:05 -0500 > > > Larry Rosenman <[EMAIL PROTECTED]> wrote: > > > > > > > On Thu, 2002-08-15 at 09:16, Robin P. Blanchard wrote: > > > > > from an earlier discussion (initiated by me): > > > > > > > > > > "You *MUST* use a HOST SYSTEM compiled for the LOWEST processor you want > > > > > to installworld to. There are a few places (strip for one) that link in > > > > > /usr/lib/libc.a and NOT the one from /usr/obj/... " > > > > > > > > > > Thus you can't use an i686 optimized world host box to install a lower > > > > > optimized /usr/obj to. > > > > > > > > see also PR i386/30276 from me. > > > > > > > > > > Larry, > > > > > > I agree, with FreeBSD having such an edge in performance on "older" hardware > > > (sorry Intel and AMD :-) this is something to pursue. > > > > > > ------------------snip------------------ > > > Fix > > > > > > Update build system to NOT include host libc.a in any tools that will be > > > executed on the target system. > > > ------------------snip------------------ > > > > > To be honest, I have no brilliant idea how to fix this. One possible > > solution would be to split build- and install- tools, and always build > > install-tools on an installing machine, as part of installworld (this > > should probably be made a special case). The most problematic thing > > here is strip(1) which is part of binutils; that would mean we would > > need to compile binutils twice. I am not saying it's impossible, I > > am saying it is hard. Many things that are used during build are > > also used during install, like for example, GNU texinfo suite: > > makeinfo(1) is used during build, install-info(1) -- during install. > > That also means we need to compile texinfo twice. > could we pre-strip those binaries that are installed somehow? > > Could we modify the binutils build to use the built > /usr/obj/usr/lib/libc as a 2nd pass after they are built? > > > > > > Or we could go a lazy way and document that we only support this > > sort of things if the installed world on a building machine is > > suitable for CPU of the installing machine. All of my machines > > here are P6-type, so I usually build world and all kernels on > > one fast machine and do NFS installs on others. > This pretty much is the current state. :-( > Please see my follow-up to PR i386/30276.
Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age
msg48713/pgp00000.pgp
Description: PGP signature