bcmwl-kernel-source 6.30.223.248+bdcom-0ubuntu8: bcmwl kernel module failed to build [code model kernel does not support PIC mode]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bcmwl (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
broadcom-sta (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
dkms (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
gcc-5 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
DKMS make.log for bcmwl-6.
Thu May 5 06:57:03 IST 2016
make: Entering directory '/usr/src/
arch/x86/
Makefile:670: Cannot use CONFIG_
CFG80211 API is prefered for this kernel version
Using CFG80211 API
LD /var/lib/
CC [M] /var/lib/
/var/lib/
/*
^
scripts/
make[1]: *** [/var/lib/
Makefile:1396: recipe for target '_module_
make: *** [_module_
This problem persists with the new linux kernel version 4.4.0.21
ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: bcmwl-kernel-source 6.30.223.
ProcVersionSign
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
DKMSKernelVersion: 4.4.0-21-generic
Date: Thu May 5 06:57:07 2016
DuplicateSignature: dkms:bcmwl-
InstallationDate: Installed on 2016-05-04 (0 days ago)
InstallationMedia: Ubuntu-GNOME 16.10 "Yakkety Yak" - Alpha amd64 (20160426)
PackageVersion: 6.30.223.
RelatedPackageV
dpkg 1.18.4ubuntu2
apt 1.2.11
SourcePackage: bcmwl
Title: bcmwl-kernel-source 6.30.223.
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
bcmwl-kernel-source 6.30.223.248+bdcom-0ubuntu8: bcmwl kernel module - failed to build + failed to build [code model kernel does not support PIC mode] |
no longer affects: | gcc-defaults (Ubuntu) |
Changed in dkms (Ubuntu): | |
status: | New → Confirmed |
Changed in gcc-5 (Ubuntu): | |
status: | New → Confirmed |
tags: |
added: gcc-5 removed: 4.4.0.21 |
I added a extra [KBUILD_CFLAGS += -fno-pic] in the [/usr/src/ linux-headers- 4.4.0-21- generic/ arch/x86/ Makefile] which seemed to make the package compile. But still don't know of any side consequences.