From owner-freebsd-current Mon Apr 1 15: 8:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id B422D37B405; Mon, 1 Apr 2002 15:08:09 -0800 (PST) Received: from pool0467.cvx40-bradley.dialup.earthlink.net ([216.244.43.212] helo=mindspring.com) by harrier.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16sAuG-0007Ot-00; Mon, 01 Apr 2002 15:08:08 -0800 Message-ID: <3CA8E842.CC6A9D18@mindspring.com> Date: Mon, 01 Apr 2002 15:07:46 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Crist J. Clark" Cc: freebsd-current@FreeBSD.ORG, Emiel Kollof Subject: Re: kldxref problem References: <20020330205329.D51062-100000@resnet.uoregon.edu> <3CA6BFE4.8296DF74@mindspring.com> <1017571105.901.4.camel@loki.ipv6.hackerheaven.org> <20020401003521.A88395@dragon.nuxi.com> <20020401111708.V99214@blossom.cjclark.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Crist J. Clark" wrote: > This whole argument ignores what the real problem is. The really > correct way to handle this is to use the kldxref(8) built in the > 'buildworld' phase. (It's bad form to be using any executables from > the base system if we have a full object tree.) Actually using the one > in /usr/obj/usr/src/usr.sbin/kldxref seems pretty ugly. The better > thing to do is to have a version in /usr/obj/usr/src//usr/sbin > by making it a crosstool. The failure should not be ignored in this > case. Uh, that doesn't work incredibly well when the machine you are on is an x86, and the machine that the buildworld targets is, say, the Alpha. This came up in the first place because it's a cross-envrionment issue that needs resolving. The "workaround" exists because the workaround cops out on the cross-environment part of the process and spits out the warnming, instead. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message