support kernel 4.8?

what about support kernel 4.8? I can’t install drivers. 375.20, 375.10 and older
my system debian sid x86_64

These versions are compatible with Linux 4.8. I have used them all on Arch Linux with Linux >= 4.8 without needing any patches to compile them.

I try install and have trouble on build modules step
log # cat /var/log/nvidia-installer.log nvidia-installer log file '/var/log/nvidia - Pastebin.com

To know for sure, I’d need to see the contents of “/var/lib/dkms/nvidia/375.20/build/make.log”, but it’s probably a kernel compatibility issue with gcc 6.2.0-7 or greater on debian. Debian enabled the gcc “–enable-default-pie” flag with that version, and that is incompatible with the Linux kernel. Your kernel was likely built with a version of gcc before Debian shipped that change otherwise it would not build either.

You’ll need to patch the Makefile in the kernel headers or rollback to an earlier release of gcc.

The kernel patch series is here:
https://git.kernel.org/cgit/linux/kernel/git/mmarek/kbuild.git/patch/?id=8ae94224c9d72fc4d9aaac93b2d7833cf46d7141
https://git.kernel.org/cgit/linux/kernel/git/mmarek/kbuild.git/patch/?id=82031ea29e454b574bc6f49a33683a693ca5d907
https://git.kernel.org/cgit/linux/kernel/git/mmarek/kbuild.git/patch/?id=90944e40ba1838de4b2a9290cf273f9d76bd3bdd
https://git.kernel.org/cgit/linux/kernel/git/mmarek/kbuild.git/patch/?id=c6a385539175ebc603da53aafb7753d39089f32e

I have this trouble after update from 4.7 to 4.8
now I install 367.57 from repositories and don’t have /var/lib/dkms/nvidia/ directory
I try install 375.20 for have this log

my /var/lib/dkms/nvidia/375.20/build/make.log

Your log says: “error: code model kernel does not support PIC mode”. That is the kernel issue I was discussing. You need to either revert to an earlier revision of gcc or apply the patches I listed to your kernel headers.

do you have step-by-step manual? I’m noob and I don’t know, how to use this patches

So it looks like Debian still depends on gcc 5 to build the kernel for now because of this issue. The easiest fix for you will be to call:

export CC=/usr/bin/gcc-5

before running the script to install the Nvidia driver. The driver will then build with gcc 5.

The debian bug report and discussion is here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841420 .

this doesn’t help me
I try install via sgfxi and he can install driver
he install module-assistant

Same issue occured in Kali Linux with Kernel 4.8.0

Changing the symlink in /usr/bin/gcc to point to /usr/bin/gcc-5 allowed compiling DKMS without errors

Hi !!!

Nvidia driver 375.10 work on linux kernel 3.8.12 on my Debian 8.6 (Jessie),

if wont try just add in /etc/apt/sources.list:
deb APT Jurišić jessie main contrib non-free

and add keyring with:
wget -q http://apt.jurisic.org/Release.key -O- | apt-key add -

apt-get install nvidia-jurisic

sgfxi help me