Kernels built gcc 8.1.1-1, can not build drivers

asked 2018-07-21 16:27:13 -0600

SteveEbey73701 gravatar image

dkms reports version mismatch, with drivers I try to build, being compiled with my gcc that is installed. Installed gcc is 8.1.1-5 and kernels have been built 8.1.1-1. tried downgrading gcc, but it goes to 8.0.1 and that does not work either. 8.1.1-1 is shown on updates-testing repo, but dnf will not let me downgrade to that version, saying it can not find it. Any ideas to resolve this mess?

edit retag flag offensive close merge delete

Comments

What kernel are you running? Install 4.17.7 from testing, you should be fine.

fcomida gravatar imagefcomida ( 2018-07-21 19:18:46 -0600 )edit

dnf update brought me 17.7 and it worked. Just frustrating that kernels are compiled with older gcc than what we have installed.

SteveEbey73701 gravatar imageSteveEbey73701 ( 2018-07-22 07:32:32 -0600 )edit

@fcomida, is there a simple way, to identify the gcc version on the kernels, so that I can avoid these issues in the future?

SteveEbey73701 gravatar imageSteveEbey73701 ( 2018-07-22 13:16:59 -0600 )edit