You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Errors compiling on kernel 5.4 on ubuntu 18.04 #23
However the gcc level that is installed by default on ubuntu 18.04.3 is still gcc 7.4. This level doesn't meet the criteria for supporting CONFIG_CC_HAS_ASM_INLINE, so the building with the linux headers will fail.
manually set the CONFIG_CC_HAS_ASM_INLINE statements false in the linux 5.4 headers (deleted the line in include/generated/autoconf.h and set CONFIG_CC_HAS_ASM_INLINE=n in include/config/auto.conf).
anyway this are merged output of k10temp (kernel 5.6) and zenpower
k10temp-pci-00c3
Adapter: PCI adapter
Vcore: +0.95 V
Vsoc: +1.09 V
Tdie: +37.6°C
Tctl: +37.6°C
Tccd1: +37.5°C
Icore: +5.00 A
Isoc: +6.50 A
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core: +0.95 V
SVI2_SoC: +1.09 V
Tdie: +37.5°C (high = +95.0°C)
Tctl: +37.5°C
Tccd1: +37.8°C
SVI2_P_Core: 2.50 W
SVI2_P_SoC: 8.32 W
SVI2_C_Core: +2.63 A
SVI2_C_SoC: +7.65 A
should this be mentioned somewhere? I am using "old" distros with new kernels (and new 3D userspace drivers). I don't know if there are many others using like this.
(updating kernel is super easy via ukuu and 3D drivers via PPA)
Activity
ocerman commentedon Feb 11, 2020
Hello, I have found the problem: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1849348
You can either try to set CONFIG_CC_HAS_ASM_INLINE to false: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1849348/comments/6
or, install newer gcc (version 8 should work fine): https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1849348/comments/10
gsedej commentedon Feb 13, 2020
THANK YOU very much for research and instructions.
I can confirm both methods work.
1) use old gcc 7.4 and edit CONFIG_CC_HAS_ASM_INLINE
my kernel is 5.6.0-050600rc1
delete
in
and set
to
in
2) install gcc8 and set alternatives
anyway this are merged output of k10temp (kernel 5.6) and zenpower
should this be mentioned somewhere? I am using "old" distros with new kernels (and new 3D userspace drivers). I don't know if there are many others using like this.
(updating kernel is super easy via ukuu and 3D drivers via PPA)
ocerman commentedon Feb 15, 2020
I have updated the readme file