-
-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DKMS] AUR DKMS Module Fails to Link With Linux-tkg-pds-llvm #390
Comments
Which dkms version youre running ? |
|
clang, lld, llvm installed? and output of: |
Yes neko-san@ARCH ~ [1]> doas dkms install --no-depmod hid-nintendo/3.2 -k 5.14.21-230-tkg-pds-llvm
doas (neko-san@ARCH) password:
Building module:
cleaning build area...(bad exit status: 2)
make -j16 KERNELRELEASE=5.14.21-230-tkg-pds-llvm -C /usr/lib/modules/5.14.21-230-tkg-pds-llvm/build M=/var/lib/dkms/hid-nintendo/3.2/build/src modules CC=clang LD=ld.lld...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.14.21-230-tkg-pds-llvm (x86_64)
Consult /var/lib/dkms/hid-nintendo/3.2/build/make.log for more information.
neko-san@ARCH ~/w/proton-tkg (master) [10]> cat /var/lib/dkms/hid-nintendo/3.2/build/make.log
DKMS make.log for hid-nintendo-3.2 for kernel 5.14.21-230-tkg-pds-llvm (x86_64)
Mon Dec 27 13:35:17 CST 2021
make: Entering directory '/usr/lib/modules/5.14.21-230-tkg-pds-llvm/build'
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
make: *** [Makefile:748: include/config/auto.conf] Error 1
make: Leaving directory '/usr/lib/modules/5.14.21-230-tkg-pds-llvm/build'
neko-san@ARCH ~> |
However, other DKMS modules I have have no problem with my kernel |
Rebuild the package which got the hid-nintendo moduel in with llvm. that will work :) |
Its only dependencies are: |
This package ships a dkms.conf and overrides the default with it, and that's likely the issue. Download the package from AUR, and modify the dkms.conf to work with Clang, then makepkg manually. |
Yeah, did tested it. Since its more a -bin then a make pkgbuild. With the dkms config i dont get it worked. Even if i got a custom compiled gcc, the dkms installation fails. Maybe manually compile the module with llvm. Or live without lto or without the module :D |
I don't know how to do this?
I've never compiled a module by itself before?
But doing it manually like this would also mean that I wouldn't know when the package has an update :/ I had made a request over at the community-patches repo about adding support for the driver a while ago (before I realized there was a DKMS AUR package for it) but struggling with this is kind of making me feel more strongly about that :/ |
Put |
@C43H66N12O12S2 This didn't work; it produces the same result |
It seems to be an issue with A bit off-topic, but from the
|
I already know about that but performing this (basically already done automatically in linux-tkg) makes no difference |
configuration-info.zip
I was trying to add the Nintendo Switch Joy-Con controller DKMS module from the AUR but it "returned a bad status" for some reason? It builds against other kernels just fine :/
The text was updated successfully, but these errors were encountered: