[381.22] DKMS Driver build error on Fedora Rawhide(Linux 4.12.0)

in /var/lib/dkms/nvidia/381.22/build/make.log:

FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'lockdep_init_map'

Linux version 4.12.0-0.rc1.git1.1.fc27.x86_64 (gcc version 7.1.1 20170503 (Red Hat 7.1.1-1) (GCC) )

How it can be fixed?

Rawhide kernels are built with extra debugging so you will need to use a nodebug kernel.

https://fedoraproject.org/wiki/RawhideKernelNodebug

OK
But now I have a very stupid question: why do I absolutely need a nodebug kernel?
What is wrong on the debug kernel?

i will install the nodebug kernel as here ( https://fedoraproject.org/wiki/RawhideKernelNodebug ) described
and exists any graphics driver that i can install on a debug kernel?

and when i try to install the driver (with Linux 4.12.0-0.rc3.git0.2.fc27.x86_64):

$./NVIDIA-Linux-x86_64-381.22.run
Uncompressing NVIDIA Acclerated Graphics Driver for Linux x86_64 381.22.............................................................................................................................................................................................................................
/NVIDIA-Linux-x86_64-381.22.run: line 1145:	1253 Segmentation fault	(core dumped) $script $scriptargs $*