Do any of you have any recommendations on how to safely build static/shared libraries for Ubuntu 12.04 on Ubuntu 16.04 without breaking closed source packages such as the nvidia driver? I'm thinking of setting ${CC} and ${CXX} in my ~/.bashrc to point to gcc/g++ 4.8 instead of setting them globally via update-alternative. This should probably be the best solution to ensure that this doesn't happen again.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-graphics-drivers-361 in Ubuntu. https://bugs.launchpad.net/bugs/1591785 Title: nvidia-361 361.42-0ubuntu2: nvidia-361 kernel module failed to build when gcc and g++ are set to v4.8 instead of default v5.3 Status in nvidia-graphics-drivers-361 package in Ubuntu: New Bug description: after a routine system update, Linux kernel was upgraded to 4.4.0-24-generic. Since then, the nvidia graphic drivers simply refuses to build: > Building initial module for 4.4.0-24-generic > Error! Bad return status for module build on kernel: 4.4.0-24-generic (x86_64) > Consult /var/lib/dkms/nvidia-361/361.42/build/make.log for more information. ProblemType: Package DistroRelease: Ubuntu 16.04 Package: nvidia-361 361.42-0ubuntu2 ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10 Uname: Linux 4.4.0-24-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 DKMSKernelVersion: 4.4.0-24-generic Date: Sun Jun 12 19:45:40 2016 DuplicateSignature: dkms:nvidia-361:361.42-0ubuntu2:cc: error: unrecognized command line option ‘-fstack-protector-strong’ InstallationDate: Installed on 2015-10-31 (225 days ago) InstallationMedia: Xubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1) PackageVersion: 361.42-0ubuntu2 RelatedPackageVersions: dpkg 1.18.4ubuntu1.1 apt 1.2.12~ubuntu16.04.1 SourcePackage: nvidia-graphics-drivers-361 Title: nvidia-361 361.42-0ubuntu2: nvidia-361 kernel module failed to build UpgradeStatus: Upgraded to xenial on 2016-05-04 (39 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-361/+bug/1591785/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp