Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2004 11:32:06 -0400
From:      Vivek Khera <vivek@khera.org>
To:        Sven Hazejager <dont@even.try.nl>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD-STABLE
Message-ID:  <55FC688A-B63C-11D8-9F1B-000A9578CFCC@khera.org>
In-Reply-To: <20040604101101.H40527@proxy.chain.loc>
References:  <20040604101101.H40527@proxy.chain.loc>

next in thread | previous in thread | raw e-mail | index | archive | help


On Jun 4, 2004, at 4:15 AM, Sven Hazejager wrote:

> The Athlon PC runs a 4.10 world, built with pentiumpro optimizations. 
> If I
> buildworld with pentium optimizations, does that newly built world 
> rely on
> any pentiumpro optimized libraries of the Athlon PC base? That would
> surely hose the Pentium PC!
>

There was a bug a long time ago (probably around 4.1 or 4.2) that would 
"leak" some host system binaries into the buildworld targets.  I don't 
know if this has been corrected.  I had issues with building the world 
for a AMD k5 cpu on a host that had a world optimized for pentiumpro.  
When it got around to doing the installworld, some of the utilities it 
used from the build tree had the PPRO code that crashed as unknown 
instructions on the k5 from some local library that was linked 
statically rather than the buildworld target lib being used.  
Theoretically this should not happen, but it did.

I now avoid building architecture-specific worlds just to avoid this 
situation.  It doesn't seem to enhance any performance.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55FC688A-B63C-11D8-9F1B-000A9578CFCC>