nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Wed Apr 26 23:15:01 2023 installer version: 525.116.03 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin nvidia-installer command line: ./nvidia-installer Using: nvidia-installer ncurses v6 user interface -> Detected 32 CPUs online; setting concurrency level to 32. -> Installing NVIDIA driver version 525.116.03. -> An alternate method of installing the NVIDIA driver was detected. (This is usually a package provided by your distributor.) A driver installed via that method may integrate better with your system than a driver installed by nvidia-installer. Please review the message provided by the maintainer of this alternate installation method and decide how to proceed: The NVIDIA driver provided by Ubuntu can be installed by launching the "Software & Updates" application, and by selecting the NVIDIA driver from the "Additional Drivers" tab. (Answer: Continue installation) -> Performing CC sanity check with CC="/usr/bin/cc". -> Performing CC check. -> Kernel source path: '/lib/modules/5.15.0-71-generic/build' -> Kernel output path: '/lib/modules/5.15.0-71-generic/build' -> Performing Compiler check. -> Performing Dom0 check. -> Performing Xen check. -> Performing PREEMPT_RT check. -> Performing vgpu_kvm check. -> Cleaning kernel module build directory. executing: 'cd ./kernel; /usr/bin/make -k -j32 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.15.0-71-generic/build" SYSOUT="/lib/modules/5.15.0-71-generic/build" clean'... rm -f -r conftest make[1]: Entering directory '/usr/src/linux-headers-5.15.0-71-generic' make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-71-generic' -> Building kernel modules executing: 'cd ./kernel; /usr/bin/make -k -j32 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.15.0-71-generic/build" SYSOUT="/lib/modules/5.15.0-71-generic/build" '... make[1]: Entering directory '/usr/src/linux-headers-5.15.0-71-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 You are using: cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 SYMLINK /tmp/selfgz13571/NVIDIA-Linux-x86_64-525.116.03/kernel/nvidia/nv-kernel.o Segmentation fault (core dumped) Segmentation fault (core dumped) Segmentation fault (core dumped) Segmentation fault (core dumped) SYMLINK /tmp/selfgz13571/NVIDIA-Linux-x86_64-525.116.03/kernel/nvidia-modeset/nv-modeset-kernel.o Segmentation fault (core dumped) Segmentation fault (core dumped) make[2]: *** [/tmp/selfgz13571/NVIDIA-Linux-x86_64-525.116.03/kernel/Kbuild:310: /tmp/selfgz13571/NVIDIA-Linux-x86_64-525.116.03/kernel/conftest/header_presence/linux/printk.h.part] Error 139 make[2]: *** Deleting file '/tmp/selfgz13571/NVIDIA-Linux-x86_64-525.116.03/kernel/conftest/header_presence/linux/printk.h.part' make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1907: /tmp/selfgz13571/NVIDIA-Linux-x86_64-525.116.03/kernel] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-71-generic' make: *** [Makefile:82: modules] Error 2 -> Error.