From owner-cvs-all@FreeBSD.ORG Thu Oct 27 20:49: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 E341C16A41F; Thu, 27 Oct 2005 20:49:01 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BC9543D4C; Thu, 27 Oct 2005 20:49:00 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j9RKmuaH036936; Thu, 27 Oct 2005 23:48:56 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 85740-02-2; Thu, 27 Oct 2005 23:48:55 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j9RKmEVS036910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Oct 2005 23:48:14 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id j9RKmGrC020206; Thu, 27 Oct 2005 23:48:16 +0300 (EEST) (envelope-from ru) Date: Thu, 27 Oct 2005 23:48:16 +0300 From: Ruslan Ermilov To: Dag-Erling Sm?rgrav Message-ID: <20051027204816.GX68470@ip.net.ua> References: <200510271424.j9REOkr8091913@repoman.freebsd.org> <20051027174042.GK68470@ip.net.ua> <864q723dqt.fsf@xps.des.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JjNtGRvLZqzR8wa5" Content-Disposition: inline In-Reply-To: <864q723dqt.fsf@xps.des.no> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua 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:49:02 -0000 --JjNtGRvLZqzR8wa5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 27, 2005 at 10:29:30PM +0200, Dag-Erling Sm?rgrav 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. >=20 > Wouldn't it be cleaner (and potentially simpler) to fix this by making > the kernel linker skip non-PT_LOAD sections? >=20 > (I just peeked at sys/kern/link_elf.c and it looks to me like it > *already* DTRT, so what exactly is the problem?) >=20 sys/kern/link_elf_obj.c is what's used with current format module objects on amd64. Can you see a problem there? Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --JjNtGRvLZqzR8wa5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDYT0QqRfpzJluFF4RAp8AAKCJw+W1nlh3KVnnJI6riN6KGH4nNQCeM+E3 pKYI6fNEUti/EcbxxDTGTSc= =FuJE -----END PGP SIGNATURE----- --JjNtGRvLZqzR8wa5--