From owner-freebsd-current Wed Oct 29 00:31:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA01379 for current-outgoing; Wed, 29 Oct 1997 00:31:31 -0800 (PST) (envelope-from owner-freebsd-current) Received: from schizo.dk.tfs.com (mail.trw.dk [195.8.133.123]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA01372 for ; Wed, 29 Oct 1997 00:31:27 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.dk.tfs.com [140.145.230.252]) by schizo.dk.tfs.com (8.8.7/8.7.3) with ESMTP id JAA06018; Wed, 29 Oct 1997 09:30:52 +0100 (MET) Received: from critter.freebsd.dk (localhost.cybercity.dk [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id IAA01659; Wed, 29 Oct 1997 08:08:37 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: asami@cs.berkeley.edu (Satoshi Asami) cc: mike@smith.net.au, helbig@Informatik.BA-Stuttgart.DE, freebsd-current@freefall.FreeBSD.org Subject: Re: bad system call - world build In-reply-to: Your message of "Tue, 28 Oct 1997 23:04:57 PST." <199710290704.XAA16634@silvia.HIP.Berkeley.EDU> Date: Wed, 29 Oct 1997 08:08:37 +0100 Message-ID: <1657.878108917@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199710290704.XAA16634@silvia.HIP.Berkeley.EDU>, Satoshi Asami write s: > * I may be dense here, but what do you think is the "real" solution ? > >I wouldn't be asking here if I knew. ;) > >Do you know why it doesn't work now? Your commit message appears to >indicate that this is supposed to work. Could the fact that the >environment variables are pointing to the newly built shared libraries >have something to do with this? (Just a wild guess.) Well, my take on this is that you're trying to do the impossible. If you want make world to run on it's own binaries/libs, then the kernel has to support those, and short of making kludges like the one Peter has put around the __getcwd() (Which I thought worked ??) there is no way to guarantee that it can be done. Besides, doing a make world on -current sources on a 2.X machine falls way short of the goal. All of /etc is still the old stuff. I think it is time to say: If you want to get from 2.X to 3.X, you install a 3.X snapshot -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop."