355 branched and committed to SVN

Andreas Beckmann anbe at debian.org
Sat Oct 17 17:37:34 UTC 2015


On 2015-10-17 18:40, Luca Boccassi wrote:
> Wanna guess? :-) They pass down "CC=$(CC)" (line 81). Removing that
> solves the problem, and the compiler version used to build the kernel
> gets used. I tested this in a sid chroot, and 3.16 gets build with gcc
> 4.6 now instead of gcc 5.

Sounds good!

> I am sorry for this merry-go-round, I should have noticed immediately
> when I did the upgrade.

If all things would be obvious, we would have noticed the device
permission problem a year ago :-)

Previously nvidia's conftest.sh script would not run at all with Debian
packaged kernel headers, but maybe this has changed now. At least I saw
something like enumerating all the tests when building 358.xx modules.
So maybe we can stop maintaining out own conftest.h in the 355+ future.
But also here it would be important to delegate compiler and options
selection to kbuild. Checkin for header existence should be via
compiling stuff, not test -f (the kernel source layout must be opaque).


Andreas



More information about the pkg-nvidia-devel mailing list