← Back to team overview

kernel-packages team mailing list archive

[Bug 1357015] [NEW] DKMS build failed due to compiler version mismatch

 

You have been subscribed to a public bug:

== Comment: #0 - Dave Marquardt <davemarq@xxxxxxxxxx> - 2014-08-11 15:36:47 ==
---Problem Description---
DKMS build for kernel module failed with this message:

gcc-version-check failed:

The compiler used to compile the kernel (gcc
4.8) does not exactly match the current compiler
(gcc 4.9).  The Linux 2.6 kernel module loader
rejects kernel modules built with a version of gcc
that does not exactly match that of the compiler
used to build the running kernel.

If you know what you are doing and want to override
the gcc version check, you can do so by setting the
IGNORE_CC_MISMATCH environment variable to "1".

In any other case, set the CC environment variable
to the name of the compiler that was used to compile
the kernel.

 
Contact Information = Dave Marquardt/davemarq@xxxxxxxxxxxxxxxxxx 
 
---uname output---
Linux tul115p1 3.16.0-5-generic #10-Ubuntu SMP Mon Jul 21 16:17:25 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux
 
Machine Type = 8286-42A 
 
---Debugger---
A debugger is not configured
 
---Steps to Reproduce---
 Installed back-level kernel and headers 3.16.0-5. Installed a third-party device driver (i.e. out-of-tree kernel module), which did a DKMS build which failed.
 
Install method: DVD
 
Install disk info: /dev/sda2
 
Install ISO Information: Ubuntu 14.10
 
Userspace tool common name: dkms 
 
The userspace tool has the following bit modes: 64-bit 

Userspace rpm: na

Userspace tool obtained from project website:  na 
 
*Additional Instructions for Dave Marquardt/davemarq@xxxxxxxxxxxxxxxxxx: 
-Post a private note with access information to the machine that the bug is occuring on.
-Attach ltrace and strace of userspace application.

== Comment: #3 - Dave Marquardt <davemarq@xxxxxxxxxx> - 2014-08-13 15:16:08 ==
I just tested DKMS with this module on Ubuntu 14.04.  I installed DKMS, installed the module, then upgraded the kernel, and the module was correctly built and installed.

** Affects: dkms (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: architecture-ppc64le bot-comment bugnameltc-114516 severity-critical targetmilestone-inin1410
-- 
DKMS build failed due to compiler version mismatch
https://bugs.launchpad.net/bugs/1357015
You received this bug notification because you are a member of Kernel Packages, which is subscribed to dkms in Ubuntu.