Public bug reported:

---
target: https://bugs.launchpad.net/ubuntu/+source/broadcom-sta
package: broadcom-sta-dkms
version: 6.30.223.271
---

# broadcom-sta-dkms 6.30.223.271 FTBFS on kernel 6.19: objtool rejects
proprietary blob

## Description

broadcom-sta-dkms fails to build against kernel 6.19.0-3-generic with
the following error:

```
wl.o: error: objtool: aes_cbc_encrypt_pad+0x4c: unannotated intra-function call
make[4]: *** 
[/usr/src/linux-headers-6.19.0-3-generic/scripts/Makefile.build:503: wl.o] 
Error 255
```

The issue occurs during the multi-object module link step. On kernel
6.19, `CONFIG_X86_KERNEL_IBT` is enabled, which sets `delay-objtool`
(via `scripts/Makefile.lib:200`). This causes objtool to run on the
final linked `wl.o`, where it chokes on the proprietary binary blob
`wlc_hybrid.o_amd64` which contains unannotated intra-function calls
that cannot be fixed in source.

`OBJECT_FILES_NON_STANDARD := y` in the module Makefile does not help
because for multi-object modules, `objtool-enabled` is set directly from
`delay-objtool` (`scripts/Makefile.build:500`), bypassing the
`OBJECT_FILES_NON_STANDARD` check.

## Fix

Pass `objtool=/bin/true` (lowercase) in the DKMS make command so the
objtool invocation becomes a no-op. In `/usr/src/broadcom-
sta-6.30.223.271/dkms.conf`, change:

```
MAKE[0]="make KVER=$kernelver"
```

to:

```
MAKE[0]="make KVER=$kernelver objtool=/bin/true"
```

## Environment

- Ubuntu 25.10 (plucky)
- Kernel: 6.19.0-3-generic (x86_64)
- Package version: broadcom-sta-dkms 6.30.223.271
- Hardware: Broadcom BCM4360 802.11ac (rev 03) [PCI 14e4:43a0]

## Steps to reproduce

1. `sudo apt install broadcom-sta-dkms`
2. Build fails automatically during DKMS install

## Full build log

```
DKMS (dkms-3.2.0) make.log for broadcom-sta/6.30.223.271 for kernel 
6.19.0-3-generic (x86_64)

Building module(s)
# command: make -j4 KERNELRELEASE=6.19.0-3-generic KVER=6.19.0-3-generic
CFG80211 API is prefered for this kernel version
Makefile:91: Neither CFG80211 nor Wireless Extension is enabled in kernel
KBUILD_NOPEDANTIC=1 make -C /lib/modules/6.19.0-3-generic/build M=`pwd`
make[1]: Entering directory '/usr/src/linux-headers-6.19.0-3-generic'
make[2]: Entering directory '/var/lib/dkms/broadcom-sta/6.30.223.271/build'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 15.2.0-12ubuntu1) 15.2.0
  You are using:           gcc (Ubuntu 15.2.0-12ubuntu1) 15.2.0
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_64
  CC [M]  src/shared/linux_osl.o
  CC [M]  src/wl/sys/wl_linux.o
  CC [M]  src/wl/sys/wl_iw.o
  CC [M]  src/wl/sys/wl_cfg80211_hybrid.o
  LD [M]  wl.o
wl.o: error: objtool: aes_cbc_encrypt_pad+0x4c: unannotated intra-function call
make[4]: *** 
[/usr/src/linux-headers-6.19.0-3-generic/scripts/Makefile.build:503: wl.o] 
Error 255
make[4]: *** Deleting file 'wl.o'
make[3]: *** [/usr/src/linux-headers-6.19.0-3-generic/Makefile:2059: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.19.0-3-generic/Makefile:248: __sub-make] 
Error 2
make[2]: Leaving directory '/var/lib/dkms/broadcom-sta/6.30.223.271/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.19.0-3-generic'
make: *** [Makefile:184: all] Error 2
```

** Affects: broadcom-sta (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
   broadcom-sta-dkms 6.30.223.271 FTBFS on kernel 6.19: objtool rejects
  proprietary blob

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


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

Reply via email to