From owner-cvs-all Mon Sep 21 17:54:00 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA03653 for cvs-all-outgoing; Mon, 21 Sep 1998 17:54:00 -0700 (PDT) (envelope-from owner-cvs-all) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA03629; Mon, 21 Sep 1998 17:53:48 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.9.1/8.9.1) id KAA29177; Tue, 22 Sep 1998 10:58:52 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199809220058.KAA29177@cimlogic.com.au> Subject: Re: cvs commit: src/gnu/usr.bin/perl/libperl config.SH-aout.i386 config.SH-elf.alpha config.SH-elf.i386 In-Reply-To: from Alex at "Sep 21, 98 05:44:22 pm" To: garbanzo@hooked.net (Alex) Date: Tue, 22 Sep 1998 10:58:52 +1000 (EST) Cc: jb@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Alex wrote: > Oh it did. In fact the games still do crap like this. Best way to find > this is to take an a.out system (i.e. w/ a.out binaries) with ELF rtld & > libs (it can build both ELF and a.out binaries) and run buildworld. caeser > and strfile are built, but the old (a.out binaries) ones are run. This > results in a.out binaries trying to use ELF shared libs from the chroot'd > enviroment. 1. That's not the "supported" upgrade procedure, so you're on your own. 2. buildworld is not a chrooted environment. 3. The upgrade procedure uses a TOOLPATH which doesn't execute anything from WORLDTMP during the initial elf build. It has LD_LIBRARY_PATH pointing to the TOOLPATH (the aout obj tree), whereas LIBRARY_PATH points into WORLDTMP (the elf obj tree). This means that aout tools are executed during the initial elf build, creating things in elf format. > All in all, not fun, but not a huge deal either, as it's pretty much > assumed you're using binaries that are compatable with the ones you're > building. Please don't encourage people to go outside the procedure. I hope people will ignore what you've said. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137