Updated title to indicate that it's more then just the rc level of the
kernel headers
** Summary changed:
- linux 5.4-rc4 Unable to build simple kernel module
+ Greater than linux 5.4-rc4 Unable to build simple kernel module
** Summary changed:
- Greater than linux 5.4-rc4 Unable to build
I've determined what is going on.
The linux headers from http://kernel.ubuntu.com/~kernel-ppa/mainline are
built with a gcc 9 version. This causes CONFIG_CC_HAS_ASM_INLINE to be
set to true.
However the gcc level that is installed by default on ubuntu 18.04.3 is
still gcc 7.4. This level
See also:
https://github.com/torvalds/linux/commit/eb111869301e15b737315a46c913ae82bd19eb9d
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1849348
Title:
linux 5.4-rc4 Unable to build
I think I might have found the
"source" of the problem.
https://github.com/torvalds/linux/commit/40576e5e63ea5eeab814de7af83ad09dd64134ee
Replacing the gcc-7 version with gcc-8 seems to "fix" the problem
root@ubuntu_base:~/builderr# uname -a
Linux ubuntu_base 5.4.0-050400rc5-generic
Unable to run apport-collect command since this is being reported for a
mainline kernel.
If this isn't the "correct" location to report this error, please let me
know.
** Changed in: linux (Ubuntu)
Status: Incomplete => Confirmed
--
You received this bug notification because you are a
Public bug reported:
Cannot build a kernel module, errors in Linux headers using the current
RC4 (also tried RC3, and daily) mainline kernel packages from
http://kernel.ubuntu.com/~kernel-ppa/mainline
Am able to build against a 5.4-rc4 kernel level directly from upstream kernel
git repo (on a
6 matches
Mail list logo