View previous topic :: View next topic |
Author |
Message |
freke Veteran
Joined: 23 Jan 2003 Posts: 1029 Location: Somewhere in Denmark
|
Posted: Sat Sep 21, 2024 5:38 pm Post subject: Unable to make kernel with gcc15 |
|
|
When trying to make kernel with gcc15 I get Code: | CC arch/x86/kernel/cpu/topology.o
CC arch/x86/kernel/cpu/proc.o
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event | Plugins
PLUGIN_FINISH_TYPE | randomize_layout_plugin
PLUGIN_FINISH_DECL | randomize_layout_plugin
PLUGIN_ATTRIBUTES | latent_entropy_plugin randomize_layout_plugin
PLUGIN_START_UNIT | latent_entropy_plugin stackleak_plugin
PLUGIN_ALL_IPA_PASSES_START | randomize_layout_plugin
arch/x86/kernel/cpu/proc.c:174:14: internal compiler error: in comptypes_check_enum_int, at c/c-typeck.cc:1251
174 | const struct seq_operations cpuinfo_op = {
| ^~~~~~~~~~~~~~
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <https://bugs.gentoo.org/> for instructions.
make[5]: *** [scripts/Makefile.build:244: arch/x86/kernel/cpu/proc.o] Error 1
make[4]: *** [scripts/Makefile.build:485: arch/x86/kernel/cpu] Error 2
make[3]: *** [scripts/Makefile.build:485: arch/x86/kernel] Error 2
make[2]: *** [scripts/Makefile.build:485: arch/x86] Error 2
make[1]: *** [/usr/src/linux-6.11.0-gentoo/Makefile:1926: .] Error 2
make: *** [Makefile:224: __sub-make] Error 2
ns /usr/src/linux # | It says to not report as bug if disabling plugins works - and indeed simply disabling GCC plugins works just fine (tested withgentoo-sources-6.6.xx - gentoo-sources-6.11.0).
If this is not to reported then - is there anything I can do to fix it?
Simply switching to gcc14 and all is fine with GCC plugins enabled.
Originally posten in Unsupported software a couple of months ago when first swtiching to gcc15.
https://forums.gentoo.org/viewtopic-t-1169891.html |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1957
|
Posted: Sun Sep 22, 2024 2:36 am Post subject: |
|
|
You can report it as a kernel bug, just not as a GCC bug. The idea is that the presumption is the plugin is broken or needs adaptation unless proven otherwise. |
|
Back to top |
|
|
|