*** This bug is a duplicate of bug 1830961 *** https://bugs.launchpad.net/bugs/1830961
This bug is already fixed in current Ubuntu versions (see bug 1830961) The only problem here is that you still have an old kernel installed that's not compatible with gcc-9. Just uninstall kernel 4.15.0-1018-oracle. ** Summary changed: - nvidia-dkms-435 435.21-0ubuntu1: nvidia kernel module failed to build + nvidia-dkms-435 435.21-0ubuntu1: nvidia kernel module failed to build [error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible] ** This bug has been marked a duplicate of bug 1830961 Kernels & kernel drivers fail to build with gcc-9 [error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1847678 Title: nvidia-dkms-435 435.21-0ubuntu1: nvidia kernel module failed to build [error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-435/+bug/1847678/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs