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 
regarding Re: cputype=486:


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

look at ftp://ftp.lerctr.org/freebsd/makeworld-fw.out.gz for all the 
gory details. 



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

Excuse me, but the /usr/obj was WIPED OUT prior to the make buildworld.  
So there was NO -march=pentiumpro objs left.  The binary that wound up in 
/usr/obj/usr/src/i386/usr/bin/strip has ppro instructions in it.  This 
seems wrong. 



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