Note that this bug is not specific to the broadcom code.  It affects
_all_ kernel module builds, and is caused by a recent change in gcc-5
(which makes -fPIE default).

The solution should therefore probably be implemented more generically
than just in these packages: possible in dkms or in the kernel headers.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bcmwl in Ubuntu.
https://bugs.launchpad.net/bugs/1578455

Title:
  bcmwl-kernel-source 6.30.223.248+bdcom-0ubuntu8: bcmwl kernel module
  failed to build [code model kernel does not support PIC mode]

Status in bcmwl package in Ubuntu:
  Confirmed
Status in broadcom-sta package in Ubuntu:
  Confirmed

Bug description:
  DKMS make.log for bcmwl-6.30.223.248+bdcom for kernel 4.4.0-21-generic 
(x86_64)
  Thu May  5 06:57:03 IST 2016
  make: Entering directory '/usr/src/linux-headers-4.4.0-21-generic'
  arch/x86/Makefile:133: stack-protector enabled but compiler support broken
  Makefile:670: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: 
-fstack-protector-strong not supported by compiler
  CFG80211 API is prefered for this kernel version
  Using CFG80211 API
    LD      /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/built-in.o
    CC [M]  /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/shared/linux_osl.o
  /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/shared/linux_osl.c:1:0: 
error:  code model kernel does not support PIC mode
   /*
   ^
  scripts/Makefile.build:258: recipe for target 
'/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/shared/linux_osl.o' failed
  make[1]: *** 
[/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/shared/linux_osl.o] Error 1
  Makefile:1396: recipe for target 
'_module_/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build' failed
  make: *** [_module_/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build] Error 2

  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.248+bdcom-0ubuntu8
  ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
  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-kernel-source:6.30.223.248+bdcom-0ubuntu8:/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/shared/linux_osl.c:1:0:
 error: code model kernel does not support PIC mode
  InstallationDate: Installed on 2016-05-04 (0 days ago)
  InstallationMedia: Ubuntu-GNOME 16.10 "Yakkety Yak" - Alpha amd64 (20160426)
  PackageVersion: 6.30.223.248+bdcom-0ubuntu8
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu2
   apt  1.2.11
  SourcePackage: bcmwl
  Title: bcmwl-kernel-source 6.30.223.248+bdcom-0ubuntu8: bcmwl kernel module 
failed to build
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1578455/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to