Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2000 15:30:11 -0400
From:      Marcel Moolenaar <marcel@cup.hp.com>
To:        johan@FreeBSD.org
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/22256: [RARE] cross-compiled static bins in  /usr/obj/usr/src/i386 can cause Signal 4 during make installworld
Message-ID:  <39F734C3.B87DFAE7@cup.hp.com>
References:  <200010251831.LAA45023@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
johan@FreeBSD.org wrote:
> 
> Synopsis: [RARE] cross-compiled static bins in /usr/obj/usr/src/i386 can cause Signal 4 during make installworld
> 
> Responsible-Changed-From-To: freebsd-bugs->marcel
> Responsible-Changed-By: johan
> Responsible-Changed-When: Wed Oct 25 11:29:58 PDT 2000
> Responsible-Changed-Why:
> Marcel, can you have a quick look at this and maybe add 'strip'
> to the copied programs in installworld.
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=22256

There's no bug in the build process that I know of. The tools in
/usr/obj that are specifically compiled to run on the build machine need
to be linked against the libraries in /usr/lib. In this case the build
machine is incompatible with the install machine, simply because the
binaries and libraries were optimized for the build machine and by that
unusable on the install machine. This is just as bad as building on
Alpha and installing on IA-32.

To make the build process a bit more resistant, we can force bootstrap,
build and cross tools to be dynamicly linked instead of staticly linked.

We should not add strip to installworld. Think about what would happen
if we did a source upgrade on FreeBSD 2.2.5 and basicly install ELF over
aout. We would be using an aout strip on ELF files...

-- 
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-bugs" in the body of the message




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