Re: mips gcc plugin issues

2024-06-19 Thread Arnd Bergmann
On Wed, Jun 19, 2024, at 23:17, Kees Cook wrote: > On Wed, Jun 19, 2024 at 11:12:25PM +0200, Arnd Bergmann wrote: >> On Wed, Jun 19, 2024, at 22:50, Kees Cook wrote: >> The problem here is that a gcc plugin links against the >> compiler, not against code produced by it. I'm linking the >> crosstoo

Re: mips gcc plugin issues

2024-06-19 Thread Kees Cook
On Wed, Jun 19, 2024 at 11:12:25PM +0200, Arnd Bergmann wrote: > On Wed, Jun 19, 2024, at 22:50, Kees Cook wrote: > > On Tue, Jun 18, 2024 at 04:41:01PM -0700, Jeff Johnson wrote: > >> I see the following in my .config: > >> CONFIG_HAVE_GCC_PLUGINS=y > >> CONFIG_GCC_PLUGINS=y > >> CONFIG_GCC_PLUGIN

Re: mips gcc plugin issues

2024-06-19 Thread Arnd Bergmann
On Wed, Jun 19, 2024, at 22:50, Kees Cook wrote: > On Tue, Jun 18, 2024 at 04:41:01PM -0700, Jeff Johnson wrote: >> I see the following in my .config: >> CONFIG_HAVE_GCC_PLUGINS=y >> CONFIG_GCC_PLUGINS=y >> CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y >> CONFIG_GCC_PLUGIN_RANDSTRUCT=y >> >> So I'll turn tho

Re: mips gcc plugin issues

2024-06-19 Thread Kees Cook
On Tue, Jun 18, 2024 at 04:41:01PM -0700, Jeff Johnson wrote: > I'm trying to do an allmodconfig build for ARCH=mips using: > https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/13.2.0/x86_64-gcc-13.2.0-nolibc-mips-linux.tar.gz > > This build dies quickly with: > CC scripts

mips gcc plugin issues

2024-06-18 Thread Jeff Johnson
I'm trying to do an allmodconfig build for ARCH=mips using: https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/13.2.0/x86_64-gcc-13.2.0-nolibc-mips-linux.tar.gz This build dies quickly with: CC scripts/mod/empty.o cc1: error: cannot load plugin ./scripts/gcc-plugins/rando