From owner-freebsd-hackers Mon Oct 18 11:11:53 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 101C31541E; Mon, 18 Oct 1999 11:11:45 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p01-dn03kiryunisiki.gunma.ocn.ne.jp [210.232.224.130]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id DAA02413; Tue, 19 Oct 1999 03:11:37 +0900 (JST) Message-ID: <380B6268.6F7A0F05@newsguy.com> Date: Tue, 19 Oct 1999 03:09:44 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Marcel Moolenaar Cc: hackers@freebsd.org, Mike Smith , peter@freebsd.org, bde@freebsd.org Subject: Re: kernel/loader & world References: <380B50CB.AA3808E1@newsguy.com> <380B60D4.145054C0@scc.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Marcel Moolenaar wrote: > > > We include the files directly from the source tree, but some of them > > then go and include files from , which, of course, refers > > to /usr/include/machine/*. Thus, some of the files are up-to-date, > > and some are not. Unless you build world first. > > It's dangerous to mix headers from the source tree with headers from > /usr/include. Are you sure this is the case? Further investigation (after an idea hit me just as I laid down to sleep) reveals: * a machine/ symlink is created in a beforedepend step * no world -> no beforedepend -> no machine/ symlink -> problem It happens in the specific case of build loader stand-alone from a fresh source (no /usr/obj tree). One needs to do that if they want to jump from 3.1-RELEASE to -current. Mike says we do not support that (anything but latest -stable to -current). I think that just happens to be a particular instance of the problem, and we'd better deal with it. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org "I always feel generous when I'm in the inner circle of a conspiracy to subvert the world order and, with a small group of allies, just defeated an alien invasion. Maybe I should value myself a little more?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message