This marks the minimum supported version so far should be >= 4.14.0. For 4.13.x or lower, expect build failures.
** Attachment added: "make.log.4.13.0-041300-generic" https://bugs.launchpad.net/ubuntu/+source/backport-iwlwifi-dkms/+bug/2095143/+attachment/5860679/+files/make.log.4.13.0-041300-generic ** Description changed: [ Test Plan ] 1. Install mainline kernel headers of following versions from https://kernel.ubuntu.com/mainline/: - v6.5.x - v5.17.x - v5.12.5 - v5.10.35 - - v5.7.x - - v5.4.x >= 5.4.223 - - v5.0.21 + - v5.7.x + - v5.4.x >= 5.4.223 + - v5.0.21 + - v4.14 + - v4.13 (expect build failures) ========== original bug report ========== * v6.3-rc1 commit e047c5eaa763 ("kunit: Expose 'static stub' API to redirect functions") introduced `include/kunit/static_stub.h`, and defines KUNIT_STATIC_STUB_REDIRECT when CONFIG_KUNIT is enabled, and KUNIT_TRIGGER_STATIC_STUB otherwise, only when v6.6-rc1 commit 582eb3aeed2d ("kunit: replace KUNIT_TRIGGER_STATIC_STUB maro with KUNIT_STATIC_STUB_REDIRECT") unified both cases. * 5.17.15: v5.16-rc1 commit 8587ca6f34152 ("mm: move kvmalloc-related functions to slab.h") moved away the function from linux/mm.h to linux/slab.h. * v5.12.8: v4.17-rc1 commit 3c8ba0d61d04 ("kernel.h: Retain constant expression output for max()/min()") adds __is_constexpr to `include/linux/kernel.h`, and was then moved to `include/linux/minmax.h` in v5.10-rc1 commit b296a6d53339 ("kernel.h: split out min()/max() et al. helpers"). However, in v5.13-rc3 commit f747e6667ebb ("linux/bits.h: fix compilation error with GENMASK"), which was also backported to v5.12.9 and v5.10.42, __is_constexpr was moved into `include/linux/const.h`. Yet all the problem comes to backport-iwlwifi core93 commit 6acf2fe1835b ("Merge remote-tracking branch 'auto/master") that added a copy of `include/linux/minmax.h` from v6.12-rc1 to the dkms code base, and then all the dependency and backport efforts related become useless. * 5.7.19: v5.8-rc1 commit d9d200bcebc1f ("dma-mapping: add generic helpers for mapping sgtable objects") added `dma_unmap_sgtable` and more helpers, and had been backported to v5.4.233. backport-iwlwifi has wrong version guards about this. v5.8-rc1 commit 709d6d73c7561 ("scatterlist: add generic wrappers for iterating over sgtable objects") added `for_each_sgtable_sg` helper macros, and had been backported to v5.4.233. backport-iwlwifi has wrong version guards about this. * v5.0.21 must include linux/kernel.h before linux/overflow.h, and backport- iwlwifi added a few ref to the latter without the former. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2095143 Title: Accumulative fixes for build failures against previous stable kernel releases To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/backport-iwlwifi-dkms/+bug/2095143/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
