From owner-freebsd-qa Mon Mar 12 12:21:35 2001 Delivered-To: freebsd-qa@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 3CD2F37B71D; Mon, 12 Mar 2001 12:21:18 -0800 (PST) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id B85D09379; Mon, 12 Mar 2001 12:01:08 -0800 (PST) Received: from cup.hp.com (p1000180.nsr.hp.com [15.109.0.180]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id MAA13039; Mon, 12 Mar 2001 12:00:57 -0800 (PST) Message-ID: <3AAD2ADB.51D810D8@cup.hp.com> Date: Mon, 12 Mar 2001 12:00:27 -0800 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: John Baldwin Cc: marcel@FreeBSD.org, qa@FreeBSD.org, Larry Rosenman Subject: Re: cputype=486 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-qa@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Baldwin wrote: > > It looks like strip is linked against /usr/lib/libc.a. > > Marcel, > > It looks like there may be a bug in buildworld. It seems that static binaries > are being linked against /usr/lib/libc.a rather than > /usr/obj/usr/src/i386/lib/libc/libc.a. In what stage? > across architectures could work if this is so. In the case described, the host > machine was built with -march=pentiumpro, and world was built w/o this flag > because it was intended to be installed on a 486. This doesn't work. The object tree will contain binaries compiled for Pentium Pro processors and thus may contain instructions not present on i486. The binaries I'm talking about are those that are *explicitly* compiled to be run on the build machine. This includes the bootstrap, build and cross tools. These tools are also used during install and thus must be compatible with the machine you're installing on. In short: Do not not build on Pentium with -march=pentiumsomething and then later install on non-pentiums! -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-qa" in the body of the message