Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OL8.7 - UEKR7 - Can not install NVDIA GRID Driver 510.108.03 for vGPU on VMWare VSphere (Compiler version issue)

user-nthipFeb 6 2023 — edited Feb 6 2023

Hello,

Our current OS is Centos 7.9.

I am testing OL8 to be the next OS ready production in my company (workstations and servers).

No issue for now on servers, but on workstations (mostly virtual machines for developers), I can not install the Nvidia drivers due to GCC 8.5 version and gcc-toolset 11.1 incompatibility.

Kernel version: 5.15.0-6.80.3.1.el8uek.x86_64

I have installed the kernel headers with:

kernel-uek-devel-$(uname -r)

The weird thing is that it install:

kernel-headers 4.18.0-425.10.1.el8.7.x86_64

along with:

gcc + cpp 8.5.0-16.0.2.el8.7

but also

gcc-toolset-11.1-1.el8

When I run

./NVIDIA-Linux-x86_64-510.108.03-grid.run

I have a display warning saying:

The CC version check failed:
The kernel was built with gcc (GCC) 11.2.1 (Redhat 11.2.1-9.1.0.2), GNU ld version 2.36.1-2.0.1.el8, but the current compiler version is cc (GCC) 8.5.0 20210514 (Redhat 8.5.0-16.0.2).

If I ignore the version check the install fails and the logs display a lot of errors

 CC error: unrocognised command line option.

Why GCC 8.5 is the latest version available in the OL8 repo while the kernel was built with a 11.1 version ?

Why does the kernel headers 4.18 is installed when I'm installing ol8-uek-kernel ?

If you have some clue about my error, it would be helpful because I did not find any solution about my case..

Comments
Post Details
Added on Feb 6 2023
0 comments
307 views