355 branched and committed to SVN

Luca Boccassi luca.boccassi at gmail.com
Sat Oct 17 18:02:09 UTC 2015


On 17 October 2015 at 18:37, Andreas Beckmann <anbe at debian.org> wrote:
> 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!

Also fixed the avoid-ld.gold patch, was not working properly before.

>> 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).

A patch is missing for the new kernel module, I'll add it tomorrow.
Due to the new architecture it's not trivial to simply remove the
script as before, since the makefiles would need a lot of patching. I
found much easier to simply remove the dependency in the makefiles so
that it's not ran, but it needs to be done per-module and the new
nvidia-modeset doesn't have it yet. Once it's there, it won't run
anymore.

Kind regards,
Luca Boccassi



More information about the pkg-nvidia-devel mailing list