← Back to team overview

kernel-packages team mailing list archive

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

 

** Package changed: ubuntu => dkms (Ubuntu)

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

Title:
  DKMS build failed due to compiler version mismatch

Status in “dkms” package in Ubuntu:
  New

Bug description:
  == 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.

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