The version in the toolchain ppa currently does not match the "retpoline" changes in the new kernel ( see discussion above), so should not be used to compile modules. Which is a pain if you still want to use a newer gcc alongside for other purposes, because adding the ppa upgrades the default gcc.
I still managed to install gcc-7 from the toolchains ppa while maintaining the official gcc-5, but I had to pin the ppa with priority <100 (with a file in /etc/apt/preferences.d/) to prevent automatic upgrades when doing apt upgrade. I then selected a solution with no removals an minimum upgrading of existing packages in aptitude. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1750937 Title: 4.4.0-116 Kernel update on 2/21 breaks Nvidia drivers (on 14.04 and 16.04) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1750937/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs