Open tcamargo opened 2 years ago
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:
ARCH indicates which architecture to produce headers for, and defaults to the current architecture.
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