Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2001 12:53:24 -0800
From:      Marcel Moolenaar <marcel@cup.hp.com>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        John Baldwin <jhb@FreeBSD.org>, marcel@FreeBSD.org, qa@FreeBSD.org
Subject:   Re: cputype=486
Message-ID:  <3AAD3744.D434F14@cup.hp.com>
References:  <XFMail.010312114323.jhb@FreeBSD.org> <3AAD2ADB.51D810D8@cup.hp.com> <20010312.20382100@ler-freebie.iadfw.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Larry Rosenman wrote:
> 
> > In what stage?
> 
> look at ftp://ftp.lerctr.org/freebsd/makeworld-fw.out.gz for all the
> gory details.

I did. It's a perfectly normal output from a buildworld. There's nothing
wrong with it, nor is there anything wrong with a buildworld (per se).

> > 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!
> 
> Excuse me, but the /usr/obj was WIPED OUT prior to the make buildworld.

This doesn't make the slightest difference, because the first thing that
happens in a buildworld is a repopulation of /usr/obj (see below).

> So there was NO -march=pentiumpro objs left.

Your /usr/lib/libc.a has -march=pentiumpro code and consequently, any
binaries that are staticly linked against it.

> The binary that wound up in
> /usr/obj/usr/src/i386/usr/bin/strip has ppro instructions in it.  This
> seems wrong.

See above.

-- 
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AAD3744.D434F14>