From owner-cvs-src@FreeBSD.ORG  Thu Oct 27 21:10:30 2005
Return-Path: <owner-cvs-src@FreeBSD.ORG>
X-Original-To: cvs-src@FreeBSD.ORG
Delivered-To: cvs-src@FreeBSD.ORG
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0692C16A41F;
	Thu, 27 Oct 2005 21:10:30 +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 6164E43D46;
	Thu, 27 Oct 2005 21:10:29 +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 j9RLASAj037583;
	Fri, 28 Oct 2005 00:10:28 +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 85927-03-4; Fri, 28 Oct 2005 00:10:26 +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 j9RL8aCp037492
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 28 Oct 2005 00:08:37 +0300 (EEST) (envelope-from ru@ip.net.ua)
Received: (from ru@localhost)
	by heffalump.ip.net.ua (8.13.4/8.13.4) id j9RL8c1E049178;
	Fri, 28 Oct 2005 00:08:38 +0300 (EEST) (envelope-from ru)
Date: Fri, 28 Oct 2005 00:08:38 +0300
From: Ruslan Ermilov <ru@FreeBSD.ORG>
To: Pawel Jakub Dawidek <pjd@FreeBSD.ORG>
Message-ID: <20051027210838.GZ68470@ip.net.ua>
References: <200510271424.j9REOkr8091913@repoman.freebsd.org>
	<Pine.BSF.4.53.0510271714530.91525@e0-0.zab2.int.zabbadoz.net>
	<20051027174042.GK68470@ip.net.ua>
	<20051027204234.GA3596@garage.freebsd.pl>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="MziYxCZO8WOaTd4I"
Content-Disposition: inline
In-Reply-To: <20051027204234.GA3596@garage.freebsd.pl>
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: by amavisd-new at ip.net.ua
Cc: cvs-src@FreeBSD.ORG, "Bjoern A. Zeeb" <bz@FreeBSD.ORG>,
	src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject: Re: cvs commit: src/sys/conf kern.post.mk kmod.mk
X-BeenThere: cvs-src@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Oct 2005 21:10:30 -0000


--MziYxCZO8WOaTd4I
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 27, 2005 at 10:42:34PM +0200, Pawel Jakub Dawidek wrote:
> On Thu, Oct 27, 2005 at 08:40:42PM +0300, Ruslan Ermilov wrote:
> +> On Thu, Oct 27, 2005 at 05:15:28PM +0000, Bjoern A. Zeeb wrote:
> +> > On Thu, 27 Oct 2005, Ruslan Ermilov wrote:
> +> >=20
> +> > > ru          2005-10-27 14:24:46 UTC
> +> > >
> +> > >   FreeBSD src repository
> +> > >
> +> > >   Modified files:
> +> > >     sys/conf             kern.post.mk kmod.mk
> +> > >   Log:
> +> > >   Installing debug modules was a bad idea -- I bogusly assumed that
> +> > >   our kernel linker will only load PT_LOAD segments, apparently no=
t.
> +> > >   Instead, produce .dbg objects from .debug objects, and install
> +> > >   them together with non-debug objects, as described in objcopy(1).
> +> >=20
> +> > is that because of this change?
> +> >=20
> +> Yes.  I sent a patch for kldxref(8) that fixes this for review to
> +> amd64@.  These messages are harmless otherwise.
>=20
> I'm seeing simlar thing when I built HEAD kernel on 6.x FreeBSD and
> tried to install it (i386 machine):
>=20
> kldxref /diskless/lcf/boot/kernel
> kldxref: file isn't dynamically-linked
> kldxref: file isn't dynamically-linked
> kldxref: file isn't dynamically-linked
> [...]
>=20
This is harmless as well, and the following patch is under
a peer review now:

%%%
Index: ef.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/usr.sbin/kldxref/ef.c,v
retrieving revision 1.8
diff -u -p -r1.8 ef.c
--- ef.c	28 Aug 2004 19:31:10 -0000	1.8
+++ ef.c	27 Oct 2005 18:41:44 -0000
@@ -602,7 +602,8 @@ ef_open(const char *filename, struct elf
 			printf("\n");
 		ef->ef_nsegs =3D nsegs;
 		if (phdyn =3D=3D NULL) {
-			warnx("file isn't dynamically-linked");
+			if (verbose)
+				warnx("file isn't dynamically-linked");
 			break;
 		}
 		if (ef_read_entry(ef, phdyn->p_offset,
%%%


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--MziYxCZO8WOaTd4I
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDYUHWqRfpzJluFF4RAjyMAJ0XCF39OwM8mb9cK34MSQU5QAtdGACdHzPZ
piGCmlKscfiVrL15fa3hSIM=
=LHOw
-----END PGP SIGNATURE-----

--MziYxCZO8WOaTd4I--