Work-around confirmed: After adding these two lines in my ~/.bashrc # For Ubuntu 12.04 backward compatibility. export CC=gcc-4.7 export CXX=g++-4.7
Then I can build our products with the correct glibc version for Ubuntu 12.04, while gcc-5.3 is used during the updates and via sudo. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-361/+bug/1591785/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs