*** 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 Kernel Packages, which is subscribed to nvidia-graphics-drivers-435 in 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] Status in nvidia-graphics-drivers-435 package in Ubuntu: New Bug description: not sure sorry ProblemType: Package DistroRelease: Ubuntu 19.10 Package: nvidia-dkms-435 435.21-0ubuntu1 ProcVersionSignature: Ubuntu 5.3.0-13.14-generic 5.3.0 Uname: Linux 5.3.0-13-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu8 Architecture: amd64 DKMSKernelVersion: 4.15.0-1018-oracle Date: Thu Oct 10 18:19:31 2019 DuplicateSignature: dkms:nvidia-dkms-435:435.21-0ubuntu1:/var/lib/dkms/nvidia/435.21/build/common/inc/nvmisc.h:572:1: error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible InstallationDate: Installed on 2019-10-10 (0 days ago) InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Beta amd64 (20190926.1) PackageVersion: 435.21-0ubuntu1 Python3Details: /usr/bin/python3.7, Python 3.7.5rc1, python3-minimal, 3.7.3-1 PythonDetails: /usr/bin/python2.7, Python 2.7.16+, python-minimal, 2.7.16-1 RelatedPackageVersions: dpkg 1.19.7ubuntu2 apt 1.9.4 SourcePackage: nvidia-graphics-drivers-435 Title: nvidia-dkms-435 435.21-0ubuntu1: nvidia kernel module failed to build UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-435/+bug/1847678/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp