Out-of-tree kernel modules can't be built
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Trying to build an external module with gcc 7.3.0 fails with an error similar to:
CC [M] /home/user/
In file included from ./include/
./include/
#include <asm/bug.h>
compilation terminated.
This problem is already fixed in the linux kernel starting from version 4.17
We need to backport the following patch to Ubuntu kernel:
https:/
Tested by me that it helps.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-45-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: ubuntu:GNOME
Date: Fri Feb 8 12:17:00 2019
InstallationDate: Installed on 2018-12-28 (41 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
MachineType: LENOVO 20M5003QRT
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=ru_RU.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.173.3
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/03/2018
dmi.bios.vendor: LENOVO
dmi.bios.version: R0RET31W (1.14 )
dmi.board.
dmi.board.name: 20M5003QRT
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad L380
dmi.product.name: 20M5003QRT
dmi.product.
dmi.sys.vendor: LENOVO
tags: | added: bjf-tracking |
This change was made by a bot.