IMHO this bug is valid. # Steps to reproduce
As root: apt-get purge nvidia-driver-418 # or any other version apt-get install clang update-alternatives --set cc /usr/bin/clang apt install nvidia-driver-418 insmod /lib/modules/4.15.0-46-generic/updates/dkms/nvidia.ko # adjust for your kernel version # Expected * Module loads. * Rebooting allows to load nvidia driver. # Observed * Module fails to load. * dmesg shows: module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 00000000e944e06d, val ffffffffc4ada2e0 * Rebooting does not load nvidia driver. # Additional information There is definitely a bug here, because observations don't match expectations. * Offering clang as alternative to gcc seems fine. But if it breaks things, ahem. Is it so wise to enable that? * If clang cannot properly compile kernel modules, then perhaps programs compiling kernel modules should explicitly call gcc, or something? In the first case it is a bug in Ubuntu? In the second case it is a bug in nVidia's installer? Any comment welcome. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1763842 Title: Nvidia invalid relocation target when performing 'modprobe nvidia' on 18.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1763842/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs