From owner-cvs-all@FreeBSD.ORG Thu Oct 27 20:29:36 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3022C16A41F; Thu, 27 Oct 2005 20:29:36 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6FF743D45; Thu, 27 Oct 2005 20:29:35 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 62EE22084; Thu, 27 Oct 2005 22:29:30 +0200 (CEST) X-Spam-Tests: ALL_TRUSTED,AWL,BAYES_00 X-Spam-Learn: ham X-Spam-Score: -4.4/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on tim.des.no Received: from xps.des.no (des.no [80.203.228.37]) by tim.des.no (Postfix) with ESMTP id 5238F2083; Thu, 27 Oct 2005 22:29:30 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 3562F33C1D; Thu, 27 Oct 2005 22:29:30 +0200 (CEST) To: Ruslan Ermilov References: <200510271424.j9REOkr8091913@repoman.freebsd.org> <20051027174042.GK68470@ip.net.ua> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Thu, 27 Oct 2005 22:29:30 +0200 In-Reply-To: <20051027174042.GK68470@ip.net.ua> (Ruslan Ermilov's message of "Thu, 27 Oct 2005 20:40:42 +0300") Message-ID: <864q723dqt.fsf@xps.des.no> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: cvs-src@FreeBSD.org, "Bjoern A. Zeeb" , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/conf kern.post.mk kmod.mk X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 20:29:36 -0000 Ruslan Ermilov writes: > On Thu, Oct 27, 2005 at 05:15:28PM +0000, Bjoern A. Zeeb wrote: > > On Thu, 27 Oct 2005, Ruslan Ermilov wrote: > > > Log: > > > Installing debug modules was a bad idea -- I bogusly assumed that > > > our kernel linker will only load PT_LOAD segments, apparently not. > > > Instead, produce .dbg objects from .debug objects, and install > > > them together with non-debug objects, as described in objcopy(1). > > is that because of this change? > Yes. I sent a patch for kldxref(8) that fixes this for review to > amd64@. These messages are harmless otherwise. Wouldn't it be cleaner (and potentially simpler) to fix this by making the kernel linker skip non-PT_LOAD sections? (I just peeked at sys/kern/link_elf.c and it looks to me like it *already* DTRT, so what exactly is the problem?) DES --=20 Dag-Erling Sm=F8rgrav - des@des.no