Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to make kernel with gcc15
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
freke
Veteran
Veteran


Joined: 23 Jan 2003
Posts: 1023
Location: Somewhere in Denmark

PostPosted: Sat Sep 21, 2024 5:38 pm    Post subject: Unable to make kernel with gcc15 Reply with quote

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?sid=6389f3c4e69e6b9bf823446d3bf328bd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum