Re: [PATCH 4/4] kbuild: cross-compile linux-headers package when possible

Kees Cook
2024-07-30T01:03:59Z

On Sat, Jul 27, 2024 at 04:42:04PM +0900, Masahiro Yamada wrote:
> There are known limitations:
>
> - GCC plugins
>
> It would possible to rebuild GCC plugins for the target architecture
> by passing HOSTCXX=${CROSS_COMPILE}g++ with necessary packages
> installed, but gcc on the installed system emits
> "cc1: error: incompatible gcc/plugin versions". I did not find a
> solution for this because 'gcc' on a foreign architecture is a
> different compiler after all.

Do you mean having a plugins as part of a distro package? Does anyone do
this?

--
Kees Cook