** Also affects: linux (Ubuntu Kinetic)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Lunar)
   Importance: Undecided
       Status: Incomplete

** Changed in: linux (Ubuntu Lunar)
       Status: Incomplete => Fix Committed

** Changed in: linux (Ubuntu Kinetic)
       Status: New => In Progress

** Also affects: linux-hwe-5.19 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: linux-hwe-5.19 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Jammy)
       Status: New => Invalid

** Changed in: linux-hwe-5.19 (Ubuntu Jammy)
       Status: New => In Progress

** Changed in: linux-hwe-5.19 (Ubuntu Kinetic)
       Status: New => Invalid

** Changed in: linux-hwe-5.19 (Ubuntu Lunar)
       Status: New => Invalid

** Changed in: linux-hwe-5.19 (Ubuntu Jammy)
       Status: In Progress => Fix Committed

-- 
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