cancel
Showing results for 
Search instead for 
Did you mean: 

PC Drivers & Software

noWinToday
Journeyman III

redhat 9 compile issue

hi all,

i have some issues with installing amd driver on redhat enterprise linux 9. no stream

first was the SHA1 signature key for the rpm's. SHA1 is not supported anymore in redhat 9 for rpm keys.
this could be solved bi running this command:

update-crypto-policies --set DEFAULT:SHA1

after this, the ADM rpm's got installed. but compiling the module throw this error:
Local GCC version 110202 does not match kernel compiler GCC version 110201
but this is not true:

cat /proc/version
Linux version 5.14.0-70.13.1.el9_0.x86_64 (mockbuild@x86-vm-08.build.eng.bos.redhat.com)(gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9), GNU ld version 2.35.2-17.el9) #1 SMP PREEMPT Thu Apr 14 12:42:38 EDT 2022

gcc --version
gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)

any ideas?
thanks... 

2 Replies

You never mentioned your PC hardware and what AMD GPU card you have installed?

Once you do that possibly someone with Linux experience will answer your post.

as i just want to compile a module, the hardware doesn't matter.
but it's a sapphire RX580

so nobody is running redhat 9 with these amd modules?