v4l2loopback-dkms 0.9.1-4: v4l2loopback kernel module failed to build [error: code model kernel does not support PIC mode]

Bug #1581804 reported by emk2203
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
v4l2loopback (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

DKMS make.log for v4l2loopback-0.9.1 for kernel 4.4.0-22-generic (x86_64)
Sa 14. Mai 14:24:14 CEST 2016
Building v4l2-loopback driver...
make -C /lib/modules/4.4.0-22-generic/build M=/var/lib/dkms/v4l2loopback/0.9.1/build modules
make[1]: Verzeichnis „/usr/src/linux-headers-4.4.0-22-generic“ wird betreten
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
  CC [M] /var/lib/dkms/v4l2loopback/0.9.1/build/v4l2loopback.o
/var/lib/dkms/v4l2loopback/0.9.1/build/v4l2loopback.c:1:0: error: code model kernel does not support PIC mode
 /* -*- c-file-style: "linux" -*- */
 ^
scripts/Makefile.build:264: die Regel für Ziel „/var/lib/dkms/v4l2loopback/0.9.1/build/v4l2loopback.o“ scheiterte
make[2]: *** [/var/lib/dkms/v4l2loopback/0.9.1/build/v4l2loopback.o] Fehler 1
Makefile:1396: die Regel für Ziel „_module_/var/lib/dkms/v4l2loopback/0.9.1/build“ scheiterte
make[1]: *** [_module_/var/lib/dkms/v4l2loopback/0.9.1/build] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-4.4.0-22-generic“ wird verlassen
Makefile:42: die Regel für Ziel „v4l2loopback.ko“ scheiterte
make: *** [v4l2loopback.ko] Fehler 2

ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: v4l2loopback-dkms 0.9.1-4
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu3
Architecture: amd64
DKMSKernelVersion: 4.4.0-22-generic
Date: Sat May 14 14:24:18 2016
DuplicateSignature: dkms:v4l2loopback-dkms:0.9.1-4:/var/lib/dkms/v4l2loopback/0.9.1/build/v4l2loopback.c:1:0: error: code model kernel does not support PIC mode
InstallationDate: Installed on 2014-09-14 (607 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140914)
PackageArchitecture: all
PackageVersion: 0.9.1-4
RelatedPackageVersions:
 dpkg 1.18.4ubuntu2
 apt 1.2.12
SourcePackage: v4l2loopback
Title: v4l2loopback-dkms 0.9.1-4: v4l2loopback kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
emk2203 (emk2203) wrote :
tags: removed: need-duplicate-check
summary: v4l2loopback-dkms 0.9.1-4: v4l2loopback kernel module failed to build
+ [error: code model kernel does not support PIC mode]
Revision history for this message
Mike (mike-plekhanov) wrote :

I had the same problem while installing dkms module. I reverted default gcc and g++ compiler back to gcc-5 from gcc-4.7 and after that all works fine.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in v4l2loopback (Ubuntu):
status: New → Confirmed
Revision history for this message
You-Sheng Yang (vicamo) wrote :

This should no longer be an issue with both yakkety native kernel 4.8.0-59-generic or latest xenial kernel 4.4.0-210-generic

  # dkms status
  v4l2loopback, 0.9.1, 4.4.0-210-generic, x86_64: installed
  v4l2loopback, 0.9.1, 4.8.0-59-generic, x86_64: installed

Changed in v4l2loopback (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.