It's a compiler bug you are experiencing, not a bug in the Nvidia driver...
/var/lib/dkms/nvidia-384/384.90/build/nvidia-uvm/uvm_common.c:392:1: internal compiler error: in pop_scope, at c/c-decl.c:1221 MODULE_INFO(supported, "external"); ^~~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions. ** Summary changed: - nvidia-384 384.90-0ubuntu0.17.04.1: nvidia-384 kernel module failed to build + nvidia-384 384.90-0ubuntu0.17.04.1: nvidia-384 kernel module failed to build [uvm_common.c:392:1: internal compiler error: in pop_scope, at c/c-decl.c:1221] ** Package changed: nvidia-graphics-drivers-384 (Ubuntu) => gcc-6 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1730432 Title: nvidia-384 384.90-0ubuntu0.17.04.1: nvidia-384 kernel module failed to build [uvm_common.c:392:1: internal compiler error: in pop_scope, at c/c-decl.c:1221] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-6/+bug/1730432/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs