From owner-freebsd-qa Mon Mar 12 12:44:35 2001 Delivered-To: freebsd-qa@freebsd.org Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by hub.freebsd.org (Postfix) with ESMTP id 386D737B718; Mon, 12 Mar 2001 12:44:32 -0800 (PST) (envelope-from ler@lerctr.org) Received: from ler-freebie.iadfw.net (ler-freebie.iadfw.net [206.66.13.221]) by lerami.lerctr.org (8.11.3/8.11.3/20010112/$Revision: 1.13 $) with SMTP id f2CKcLI00950; Mon, 12 Mar 2001 14:38:21 -0600 (CST) (envelope-from ler@lerctr.org) From: Larry Rosenman Date: Mon, 12 Mar 2001 20:38:21 GMT Message-ID: <20010312.20382100@ler-freebie.iadfw.net> Subject: Re: cputype=486 To: Marcel Moolenaar Cc: John Baldwin , marcel@FreeBSD.org, qa@FreeBSD.org, Larry Rosenman In-Reply-To: <3AAD2ADB.51D810D8@cup.hp.com> References: <3AAD2ADB.51D810D8@cup.hp.com> X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2; Linux) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-qa@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 3/12/01, 2:00:27 PM, Marcel Moolenaar wrote=20 regarding Re: cputype=3D486: > 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 stati= c=20 binaries > > are being linked against /usr/lib/libc.a rather than > > /usr/obj/usr/src/i386/lib/libc/libc.a. > In what stage? look at ftp://ftp.lerctr.org/freebsd/makeworld-fw.out.gz for all the=20 gory details.=20 > > across architectures could work if this is so. In the case describe= d,=20 the host > > machine was built with -march=3Dpentiumpro, and world was built w/o = this=20 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 o= n > 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 th= us > must be compatible with the machine you're installing on. > In short: Do not not build on Pentium with -march=3Dpentiumsomething a= nd > then later install on non-pentiums! Excuse me, but the /usr/obj was WIPED OUT prior to the make buildworld. = =20 So there was NO -march=3Dpentiumpro objs left. The binary that wound up= in=20 /usr/obj/usr/src/i386/usr/bin/strip has ppro instructions in it. This=20 seems wrong.=20 > -- > 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