This bug is awaiting verification that the linux-oem-6.1/6.1.0-1004.4
kernel in -proposed solves the problem. Please test the kernel and
update this bug with the results. If the problem is solved, change the
tag 'verification-needed-jammy' to 'verification-done-jammy'. If the
problem still exists, change the tag 'verification-needed-jammy' to
'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-jammy-linux-oem-6.1 verification-needed-jammy

-- 
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:
  Fix Committed
Status in linux-hwe-5.19 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-hwe-5.19 source package in Jammy:
  Fix Committed
Status in linux source package in Kinetic:
  In Progress
Status in linux-hwe-5.19 source package in Kinetic:
  Invalid
Status in linux source package in Lunar:
  Fix Committed
Status in linux-hwe-5.19 source package in Lunar:
  Invalid

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     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to