-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors compiling on kernel 5.4 on ubuntu 18.04 #23
Comments
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
|
THANK YOU very much for research and instructions. 1) use old gcc 7.4 and edit CONFIG_CC_HAS_ASM_INLINEmy kernel is 5.6.0-050600rc1
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) |
I have updated the readme file |
hello
I am trying to build zenpower on ubuntu 18.04 with kernel 5.4 (installed via ukuu)
make output
the log says
full log make.log
The text was updated successfully, but these errors were encountered: