After applying CVE 3639 getting CONFIG_RETPOLINE=y but not supported by the compiler.
RHEL 7.4 getting error below when compiling
CONFIG_RETPOLINE=y, but not supported by the compiler. Compiler update recommended..
[root@xxxxxx build]# cat make.log
DKMS make.log for nvidia-375.26 for kernel 3.10.0-862.3.3.el7.x86_64 (x86_64)
Sat Jun 23 00:36:48 CDT 2018
make "CC=cc" KBUILD_OUTPUT=/lib/modules/3.10.0-862.3.3.el7.x86_64/build KBUILD_VERBOSE= -C /lib/modules/3.10.0-862.3.3.el7.x86_64/source M=/var/lib/dkms/nvidia/375.26/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/3.10.0-862.3.3.el7.x86_64/source NV_KERNEL_OUTPUT=/lib/modules/3.10.0-862.3.3.el7.x86_64/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm" INSTALL_MOD_DIR=kernel/drivers/video modules
make[1]: Entering directory /usr/src/kernels/3.10.0-862.3.3.el7.x86_64'/usr/src/kernels/3.10.0-862.3.3.el7.x86_64'
make -C /lib/modules/3.10.0-862.3.3.el7.x86_64/build \
KBUILD_SRC=/usr/src/kernels/3.10.0-862.3.3.el7.x86_64 \
KBUILD_EXTMOD="/var/lib/dkms/nvidia/375.26/build" -f /usr/src/kernels/3.10.0-862.3.3.el7.x86_64/Makefile \
modules
/usr/src/kernels/3.10.0-862.3.3.el7.x86_64/arch/x86/Makefile:166: *** CONFIG_RETPOLINE=y, but not supported by the compiler. Compiler update recommended.. Stop.
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory
make: *** [modules] Error 2
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
