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

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


>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 3/12/01, 2:00:27 PM, Marcel Moolenaar <marcel@cup.hp.com> 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




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