-
Notifications
You must be signed in to change notification settings - Fork 1
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
cannot use dkms to compile kernel modules #17
Comments
I'm just going to throw https://www.kernel.org/doc/html/latest/kbuild/headers_install.html in here. This is what's killing us:
One way to bypass this is to manually build the kernel makepkg on the mister itself. Might take forever though. You could speed it up by editing the makepkg to not compile anything but the headers (not sure what that flag is though, we don't use headers_install). Anyway, i'll fix this at some point. |
Ok, let's rewind. The way I see it there's 2 ways to fix this bug:
|
I think GCC plugins are tied to your host compiler. I don't know if there is a standard way to compile plugins for the target archicteture. Anyway, a third option:
|
Fouth option:
|
CONFIG_GCC_PLUGIN_ARM_SSP_PER_TASK is the only plugin enabled by default. I did some research and it seems related to stack overflow proction on ARM: https://lwn.net/Articles/770984/. Not a deal breaker IMHO. ArchlinuxARM enables GCC plugins support, but none is enabled: https://archlinuxarm.org/packages/armv7h/linux-armv7-headers/files/config. |
Ok, so are you saying disabling that CONFIG is all that's needed? That seems easy. Have you tested it? |
Trying to install aur/xone-dkms-git
The text was updated successfully, but these errors were encountered: