** Summary changed:

- [SRU] Failed to build against linux-6.15
+ [SRU] Failed to build against linux >= 6.15

** Description changed:

  [SRU Justification]
  
  [ Impact ]
  
  Failed to build against kernel v6.15-rc1.
  
  [ Test Plan ]
  
- 0. Install mainline v6.15-rcX kernels from https://kernel.ubuntu.com/mainline
+ 0. Install kernels >= v6.15
+    - mainline v6.15-rcX kernels from https://kernel.ubuntu.com/mainline, or
+    - linux-oem-6.17/noble
  1. Install broadcom-sta-dkms from noble -proposed pocket
  2. The dkms should rebuild itself against the running kernel automatically; 
if not rebuild them manually with:
  
     $ sudo dkms install --force broadcom-sta/6.30.223.271 -k $(uname -r)
  
  3. Reboot to load the kernel module
  4. The wl module should be loaded automatically and wireless lan should be 
usable as before.
  
  [ Where problems could occur ]
  
  This doesn't affect the rest part of the system, and it doesn't
  introduce functional changes.
  
  [ Other Info ]
  
  This affects series with kernels >= 6.15. Nominate Noble.
- Kernels >= 6.15 will not be introduced in Plucky. 
- 
+ Kernels >= 6.15 will not be introduced in Plucky.
  
  ========== original bug report ==========
  
  1. EXTRA_*FLAGS has been deprecated for a while and is then removed in
  v6.15-rc1 commit e966ad0edd005 ("kbuild: remove EXTRA_*FLAGS support"),
  which results in following errors:
  
  # CC [M]  src/wl/sys/wl_linux.o
  src/shared/linux_osl.c:23:10: fatal error: typedefs.h: No such file or 
directory
     23 | #include <typedefs.h>
        |          ^~~~~~~~~~~~
  compilation terminated.
  make[4]: *** 
[/usr/src/linux-headers-6.15.0-9002-generic/scripts/Makefile.build:203: 
src/shared/linux_osl.o] Error 1
  
  # LD [M]  wl.o
  CFG80211 API is prefered for this kernel version
  Using CFG80211 API
  Kernel architecture is X86_64
    MODPOST Module.symvers
  ERROR: modpost: "wlc_get" [wl.ko] undefined!
  ERROR: modpost: "wlc_module_register" [wl.ko] undefined!
  ERROR: modpost: "wf_channel2mhz" [wl.ko] undefined!
  ERROR: modpost: "wlc_isr" [wl.ko] undefined!
  ERROR: modpost: "wlc_set" [wl.ko] undefined!
  ERROR: modpost: "bcm_bprintf" [wl.ko] undefined!
  ERROR: modpost: "wlc_dpc" [wl.ko] undefined!
  ERROR: modpost: "wlc_chipmatch" [wl.ko] undefined!
  ERROR: modpost: "wlc_reset" [wl.ko] undefined!
  ERROR: modpost: "wlc_wlcif_stats_get" [wl.ko] undefined!
  
  2. `del_timer{,_sync}` have been redirected to `timer_delete{,_sync}`
  since v6.2-rc1 and they are now removed in v6.15-rc1 commit
  8fa7292fee5c5 ("treewide: Switch/rename to timer_delete[_sync]()"):
  
  # CC [M]  src/wl/sys/wl_linux.o
  src/wl/sys/wl_linux.c: In function ‘wl_del_timer’:
  src/wl/sys/wl_linux.c:2485:22: error: implicit declaration of function 
‘del_timer’; did you mean ‘_wl_timer’? [-Wimplicit-function-declaration]
   2485 |                 if (!del_timer(&t->timer)) {
        |                      ^~~~~~~~~
        |                      _wl_timer
  make[4]: *** 
[/usr/src/linux-headers-6.15.0-9002-generic/scripts/Makefile.build:203: 
src/wl/sys/wl_linux.o] Error 1
  
  3. MODULE_DESCRIPTION is now a mandatory meta info for a module since
  v6.15-rc1 commit 6c6c1fc09de35 ("modpost: require a
  MODULE_DESCRIPTION()"):
  
  # LD [M]  wl.o
  CFG80211 API is prefered for this kernel version
  Using CFG80211 API
  Kernel architecture is X86_64
    MODPOST Module.symvers
  WARNING: modpost: missing MODULE_DESCRIPTION() in wl.o

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2111898

Title:
  [SRU] Failed to build against linux >= 6.15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/broadcom-sta/+bug/2111898/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to