From owner-cvs-all Wed Dec 20 13:14:35 2000 From owner-cvs-all@FreeBSD.ORG Wed Dec 20 13:14:28 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 5A10437B402; Wed, 20 Dec 2000 13:14:26 -0800 (PST) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id 3FEC1A02; Wed, 20 Dec 2000 13:14:25 -0800 (PST) Received: from cup.hp.com (p1000180.nsr.hp.com [15.109.0.180]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id NAA03843; Wed, 20 Dec 2000 13:13:59 -0800 (PST) Sender: marcel@cup.hp.com Message-ID: <3A412117.64454559@cup.hp.com> Date: Wed, 20 Dec 2000 13:13:59 -0800 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Neil Blakey-Milner Cc: Warner Losh , Assar Westerlund , Dag-Erling Smorgrav , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, marcel@FreeBSD.ORG Subject: Re: cvs commit: src/sys/libkern strlcat.c strlcpy.c src/sys/sys libkern.h src/sys/conf files References: <5l66khluty.fsf@assaris.sics.se> <5lsnnlkcf7.fsf@assaris.sics.se> <5l4s01ka92.fsf@assaris.sics.se> <200012181724.KAA91757@harmony.village.org> <20001219081616.D54775@gsmx07.alcatel.com.au> <20001220142934.I644@ringworld.oblivion.bg> <20001220171617.A49980@mithrandr.moria.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Neil Blakey-Milner wrote: > > On Wed 2000-12-20 (14:29), Peter Pentchev wrote: > > Hmm.. quite off-topic, but - is this so on -current? (I'll be able to > > test this in a matter of hours, refetching my -current source tree) > > It most definitely is NOT correct for 4-stable - the kernel build > > requires 'nm' (IIRC) from /usr/obj; if not 'nm', then something else > > from the build toolchain. -stable isn't different from -current in that respect. To allow for cross-building, a nm(1) suitable for the target is built and installed in the object tree. This nm(1) is found by setting PATH to include the object tree. As long as you're not trying to cross-build a kernel then the nm(1) installed on your system works fine. Note that building a -current kernel on a -stable machine is also considered a cross-build. > It's "equivalently broken" because we allow the use of gcc, ld, and > friends off the installed filesystem if they're not in the obj tree by > virtue of having a PATH that allows this. This is a design decision. Explain why you think it's brokenness. > Also, I do not believe it helps anyone to not be able to build the > kernel if they don't have a obj tree. Exactly. > However, I've left it to him, since he's the one mostly doing these > things, and he said he'd like to think over it in case it breaks > something non-obvious. And as with a lot of things, it gets lost under piles of other things to look at :-) > I suppose this is a nudge to look at it again - we really need to fix > this. I'm afraid you have to fill me in again. it's been too long :-/ -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message