From owner-freebsd-stable@FreeBSD.ORG Fri Jun 4 08:32:17 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B2B816A4CE for ; Fri, 4 Jun 2004 08:32:17 -0700 (PDT) Received: from yertle.kcilink.com (yertle.kcilink.com [65.205.34.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id D188643D46 for ; Fri, 4 Jun 2004 08:32:16 -0700 (PDT) (envelope-from vivek@khera.org) Received: from [192.168.7.103] (host-103.int.kcilink.com [192.168.7.103]) by yertle.kcilink.com (Postfix) with ESMTP id 67096217B7; Fri, 4 Jun 2004 11:32:06 -0400 (EDT) In-Reply-To: <20040604101101.H40527@proxy.chain.loc> References: <20040604101101.H40527@proxy.chain.loc> Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <55FC688A-B63C-11D8-9F1B-000A9578CFCC@khera.org> Content-Transfer-Encoding: 7bit From: Vivek Khera Date: Fri, 4 Jun 2004 11:32:06 -0400 To: Sven Hazejager X-Mailer: Apple Mail (2.618) cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 15:32:17 -0000 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.