doesn't compile on 4.4.0-21-generic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
broadcom-sta (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Teh broadcom-sta kernel module no longer compiles on kernel 4.4.0-21 (yaketty). Xenial kernel works fine.
-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 4.4.0-21-generic (x86_64)
-------
Status: Before uninstall, this module version was ACTIVE on this kernel.
wl.ko:
- Uninstallation
- Deleting from: /lib/modules/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod.....
Backing up initrd.
Making new initrd.
(If next boot fails, revert to initrd.
update-
DKMS: uninstall completed.
-------
Deleting module version: 6.30.223.271
completely from the DKMS tree.
-------
Done.
Unpacking broadcom-sta-dkms (6.30.223.271-2) over (6.30.223.271-2) ...
Processing triggers for initramfs-tools (0.122ubuntu8) ...
update-initramfs: Generating /boot/initrd.
Setting up broadcom-sta-dkms (6.30.223.271-2) ...
Loading new broadcom-
Building only for 4.4.0-22-generic
Building initial module for 4.4.0-22-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/
Error! Bad return status for module build on kernel: 4.4.0-22-generic (x86_64)
Consult /var/lib/
and the make.log shows:
DKMS make.log for broadcom-
ma 9 mei 2016 9:18:48 CEST
/bin/sh: 1: [: Illegal number:
/bin/sh: 1: [: Illegal number:
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
KBUILD_NOPEDANTIC=1 make -C /lib/modules/
make[1]: Entering directory '/usr/src/
arch/x86/
Makefile:670: Cannot use CONFIG_
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_64
LD /var/lib/
CC [M] /var/lib/
/var/lib/
/*
^
scripts/
make[2]: *** [/var/lib/
Makefile:1396: recipe for target '_module_
make[1]: *** [_module_
make[1]: Leaving directory '/usr/src/
Makefile:177: recipe for target 'all' failed
make: *** [all] Error 2
Seems to be related to this change in gcc-5:
gcc-5 (5.3.1-15ubuntu1) yakkety; urgency=medium
* Turn on -fPIE and -z now by default on amd64 and ppc64el.