2019-11-19 05:10:18 |
You-Sheng Yang |
description |
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-050400rc1-generic'
CC [M] /var/lib/dkms/fwts-efi-runtime-dkms/19.11.00/build/efi_runtime.o
In file included from <command-line>:0:0:
./arch/x86/include/asm/segment.h: In function ‘vdso_read_cpunode’:
././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’
#define asm_inline asm __inline
^
./arch/x86/include/asm/alternative.h:240:2: note: in expansion of macro ‘asm_inline’
asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \
^~~~~~~~~~
./arch/x86/include/asm/segment.h:254:2: note: in expansion of macro ‘alternative_io’
alternative_io ("lsl %[seg],%[p]",
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/barrier.h:5:0,
from ./include/linux/compiler.h:256,
from ./include/linux/export.h:44,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:8,
from ./include/linux/list.h:9,
from ./include/linux/miscdevice.h:5,
from /var/lib/dkms/fwts-efi-runtime-dkms/19.11.00/build/efi_runtime.c:23:
./arch/x86/include/asm/alternative.h:108:2: error: expected identifier or ‘(’ before string constant
...
Many errors dumped in the make.log.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: fwts 19.11.00-0ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-1016.18-oem-osp1 5.0.18
Uname: Linux 5.0.0-1016-oem-osp1 x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Nov 18 23:59:52 2019
DistributionChannelDescriptor:
# This is the distribution channel descriptor for the OEM CDs
# For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
canonical-oem-somerville-bionic-amd64-20190418-59+beaver-osp1-loras+X20
InstallationDate: Installed on 2019-11-14 (4 days ago)
InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary 20190418-12:10
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: fwts
UpgradeStatus: No upgrade log present (probably fresh install) |
1. Install ubuntu mainline kernel from https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4-rc1/
2. sudo dkms install fwts-efi-runtime-dkms/19.11.00 -k 5.4.0-050400rc1-generic
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-050400rc1-generic'
CC [M] /var/lib/dkms/fwts-efi-runtime-dkms/19.11.00/build/efi_runtime.o
In file included from <command-line>:0:0:
./arch/x86/include/asm/segment.h: In function ‘vdso_read_cpunode’:
././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’
#define asm_inline asm __inline
^
./arch/x86/include/asm/alternative.h:240:2: note: in expansion of macro ‘asm_inline’
asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \
^~~~~~~~~~
./arch/x86/include/asm/segment.h:254:2: note: in expansion of macro ‘alternative_io’
alternative_io ("lsl %[seg],%[p]",
^~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/barrier.h:5:0,
from ./include/linux/compiler.h:256,
from ./include/linux/export.h:44,
from ./include/linux/linkage.h:7,
from ./include/linux/kernel.h:8,
from ./include/linux/list.h:9,
from ./include/linux/miscdevice.h:5,
from /var/lib/dkms/fwts-efi-runtime-dkms/19.11.00/build/efi_runtime.c:23:
./arch/x86/include/asm/alternative.h:108:2: error: expected identifier or ‘(’ before string constant
...
Many errors dumped in the make.log.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: fwts 19.11.00-0ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-1016.18-oem-osp1 5.0.18
Uname: Linux 5.0.0-1016-oem-osp1 x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Nov 18 23:59:52 2019
DistributionChannelDescriptor:
# This is the distribution channel descriptor for the OEM CDs
# For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
canonical-oem-somerville-bionic-amd64-20190418-59+beaver-osp1-loras+X20
InstallationDate: Installed on 2019-11-14 (4 days ago)
InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary 20190418-12:10
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: fwts
UpgradeStatus: No upgrade log present (probably fresh install) |
|