This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:
apport-collect 1999750
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.
** Changed in: linux (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1999750
Title:
Set explicit CC in the headers package
Status in linux package in Ubuntu:
Incomplete
Bug description:
[ Impact ]
* Currently Ubuntu Linux kernel header packages use stock Makefile as
shipped by upstream kernel. During linux kernel package build however
HOSTCC and CC are typically overridden to use explicit complier
version $(DEB_HOST_GNU_TYPE)-gcc-12. This can lead to dkms module
build failures as despite all efforts to reuse matching gcc version
out of .config, various shell scripts / build systems / makefiles do
not pass the CC variable as a make variable to the end make call that
is used to build dkms modules. To avoid this, hardcode the correct
compiler in the linux headers package shipped Makefile. This is
similar to the Makefile includes that debian ships, albeit with less
indirections.
[ Test Plan ]
* adt-matrix for dkms modules should start to pass correctly
[ Where problems could occur ]
* headers package for hwe kernels may demand a newer compiler, for
which runtime dependency does not exist. dkms package in jammy-updates
already has explicit dependency on gcc-12 for that reason. Installing
build-deps of the kernel package will install correct/required
compilers.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1999750/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp