From owner-cvs-all@FreeBSD.ORG Fri Oct 28 15:46:01 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 431AD16A458; Fri, 28 Oct 2005 15:46:01 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A1BB43D78; Fri, 28 Oct 2005 15:45:52 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.50.41.234] (Not Verified[10.50.41.234]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Fri, 28 Oct 2005 12:02:14 -0400 From: John Baldwin To: "Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=" Date: Fri, 28 Oct 2005 10:47:55 -0400 User-Agent: KMail/1.8.2 References: <200510271424.j9REOkr8091913@repoman.freebsd.org> <20051027174042.GK68470@ip.net.ua> <864q723dqt.fsf@xps.des.no> In-Reply-To: <864q723dqt.fsf@xps.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200510281047.57496.jhb@freebsd.org> Cc: cvs-src@freebsd.org, "Bjoern A. Zeeb" , Ruslan Ermilov , src-committers@freebsd.org, cvs-all@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: Fri, 28 Oct 2005 15:46:01 -0000 On Thursday 27 October 2005 04:29 pm, Dag-Erling Sm=F8rgrav wrote: > 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?) amd64 uses link_elf_obj.c which loads raw .o files, not .so files. =2D-=20 John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =3D http://www.FreeBSD.org