https://bugzilla.redhat.com/show_bug.cgi?id=2121894
--- Comment #2 from Robert Elliott elliott@hpe.com --- Thanks, installing gcc-plugin-devel makes the native builds work like the others:
$ gcc -print-file-name=plugin /usr/lib/gcc/x86_64-redhat-linux/12/plugin
make allmodconfig now generates all of these for the native x86 arch: CONFIG_HAVE_GCC_PLUGINS=y CONFIG_GCC_PLUGINS=y CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y CONFIG_GCC_PLUGIN_STACKLEAK=y CONFIG_GCC_PLUGIN_RANDSTRUCT=y
It joins the others in having a builtins.h that includes mpc.h: $ grep mpc.h /usr/lib/gcc/*/12/plugin/include/builtins.h /usr/lib/gcc/aarch64-linux-gnu/12/plugin/include/builtins.h:#include <mpc.h> /usr/lib/gcc/arm-linux-gnueabi/12/plugin/include/builtins.h:#include <mpc.h> /usr/lib/gcc/mips64-linux-gnu/12/plugin/include/builtins.h:#include <mpc.h> /usr/lib/gcc/powerpc64-linux-gnu/12/plugin/include/builtins.h:#include <mpc.h> /usr/lib/gcc/s390x-linux-gnu/12/plugin/include/builtins.h:#include <mpc.h> /usr/lib/gcc/sparc64-linux-gnu/12/plugin/include/builtins.h:#include <mpc.h> /usr/lib/gcc/x86_64-redhat-linux/12/plugin/include/builtins.h:#include <mpc.h>