Upstream Linux 6.12 Makes It Easier To Build A Debug Kernel For Arch Linux
([Arch Linux] 6 Hours Ago
linux-debug Pacman)
- Reference: 0001494309
- News link: https://www.phoronix.com/news/Linux-6.12-Kbuild
- Source link:
The upstream Linux 6.11 kernel introduced [1]the ability to easily produce a Pacman kernel package for Arch Linux with the new "make pacman-pkg" target. With Linux 6.12 new additions to the Kbuild code make it easy to also produce a debug kernel build for Arch Linux systems.
Merged for Linux 6.12 is the ability to create debug packages as part of the Pacman package build. The debug kernel builds include the non-stripped vmlinux file to provide debug symbols necessary for debugging and performance profiling. The debug package will be included by default during the Pacman builds unless opting out via the "PACMAN_EXTRAPACKAGES" control.
So for those wanting a debug kernel on Arch Linux of the upstream kernel to assist in debugging/profiling, beginning with Linux 6.12 it's all the more easier. This support was part of the [2]Kbuild updates for Linux 6.12. The Kbuild changes also now allow cross-compiling linux-headers Debian package and the kernel-devel RPM package, improved module rebuilding speed, and other adjustments.
[1] https://www.phoronix.com/news/Linux-6.11-Pacman-Arch-Linux
[2] https://lore.kernel.org/lkml/CAK7LNAR=QwD=c1kN_VxQ-NoNoZqQWU3VPc+Xy88BDTjG8s_v8A@mail.gmail.com/
Merged for Linux 6.12 is the ability to create debug packages as part of the Pacman package build. The debug kernel builds include the non-stripped vmlinux file to provide debug symbols necessary for debugging and performance profiling. The debug package will be included by default during the Pacman builds unless opting out via the "PACMAN_EXTRAPACKAGES" control.
So for those wanting a debug kernel on Arch Linux of the upstream kernel to assist in debugging/profiling, beginning with Linux 6.12 it's all the more easier. This support was part of the [2]Kbuild updates for Linux 6.12. The Kbuild changes also now allow cross-compiling linux-headers Debian package and the kernel-devel RPM package, improved module rebuilding speed, and other adjustments.
[1] https://www.phoronix.com/news/Linux-6.11-Pacman-Arch-Linux
[2] https://lore.kernel.org/lkml/CAK7LNAR=QwD=c1kN_VxQ-NoNoZqQWU3VPc+Xy88BDTjG8s_v8A@mail.gmail.com/
ptr1337