[pacman-dev] [PATCH v3] makepkg: implement support for stripping kernel modules
Thomas Bächler
thomas at archlinux.org
Tue Feb 11 16:58:25 EST 2014
Am 10.02.2014 11:56, schrieb Steven Noonan:
> I maintain the Arch Linux EC2 kernel, and I'm doing adventurous things
> with the packaging to make debugging a bit easier. I am looking at
> enabling CONFIG_DEBUG_INFO and adding -debug packages. That will
> indeed require removing the compression stage for the modules. In my
> experience this has had no negative impact. In fact, tools like 'perf'
> look for separate debug symbols.
I was unaware that there is a way to debug kernel modules. And I am
sceptical. So you can debug modules, but not built-in stuff? This all
sounds very weird.
> As for module builds, you're correct:
>
> MODPOST 1 modules
> FATAL: vmlinux has no symtab?
> /usr/src/linux-3.13.2-1-ec2/scripts/Makefile.modpost:90: recipe for
> target '__modpost' failed
> make[1]: *** [__modpost] Error 1
vmlinux is not even needed to build modules. The only reason we install
vmlinux is 1) we used to need it for our Xen machines (this is obsolete
now) and 2) it is needed for oprofile iirc.
I do not think it is in any way related to building modules, or needed
for that matter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20140211/a78745ef/attachment-0001.asc>
More information about the pacman-dev
mailing list