Date: Fri, 28 Oct 2005 00:16:51 +0300 From: Ruslan Ermilov <ru@FreeBSD.ORG> To: Dag-Erling Sm?rgrav <des@des.no> 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 Message-ID: <20051027211651.GA55369@ip.net.ua> In-Reply-To: <86zmou1ykb.fsf@xps.des.no> References: <200510271424.j9REOkr8091913@repoman.freebsd.org> <Pine.BSF.4.53.0510271714530.91525@e0-0.zab2.int.zabbadoz.net> <20051027174042.GK68470@ip.net.ua> <864q723dqt.fsf@xps.des.no> <86zmou1ykb.fsf@xps.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
--6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 27, 2005 at 10:42:44PM +0200, Dag-Erling Sm?rgrav wrote: > Now I'm even more confused - I just built and installed a kernel using > yesterday's sources (kern.post.mk 1.86, kmod.mk 1.197); the modules > that were installed have debugging symbols, and work flawlessly, which > contradicts your commit logs. >=20 > What problem are you trying to solve? >=20 On amd64, different format module objects are used. When loading modules with debugging, they consume much more space than non-debug versions: hammer# pwd /usr/src/sys/modules/if_tun hammer# make DEBUG_FLAGS=3D-g -s hammer# kldload ./if_tun.ko hammer# kldstat |grep if_tun 14 1 0xffffffffa7b76000 1f6d if_tun.ko hammer# kldunload if_tun.ko hammer# kldload ./if_tun.ko.debug hammer# kldstat | grep if_tun 14 1 0xffffffffa7beb000 ad77 if_tun.ko.debug Note the difference in the 4th field. Also, such modules have currently unsupported relocation type, R_X86_64_32, which is easy to fix if needs be. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDYUPDqRfpzJluFF4RAgRrAKCT0Tphbr7dVh5UbPaO3K8NhLtlNACePndX irixEnoxF83abhy0/xMUMVI= =Mzup -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051027211651.GA55369>