https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98146
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Also affecting Linux kernel build:
In file included from ./include/trace/define_trace.h:102,
from ./include/trace/events/tlb.h:62,
from arch/x86/mm/init.c:35:
./include/trace/trace_events.h:41:9: error:
??__TRACE_SYSTEM_TLB_REMOTE_SEND_IPI?? causes a section type conflict with
??can_use_brk_pgt??
41 | __##TRACE_SYSTEM##_##a = \
| ^~
./include/trace/events/tlb.h:25:25: note: in expansion of macro
??TRACE_DEFINE_ENUM??
25 | #define EMe(a,b) TRACE_DEFINE_ENUM(a);
| ^~~~~~~~~~~~~~~~~
./include/trace/events/tlb.h:16:9: note: in expansion of macro ??EMe??
16 | EMe( TLB_REMOTE_SEND_IPI, "remote ipi send" )
| ^~~
./include/trace/events/tlb.h:27:1: note: in expansion of macro
??TLB_FLUSH_REASON??
27 | TLB_FLUSH_REASON
| ^~~~~~~~~~~~~~~~
arch/x86/mm/init.c:103:24: note: ??can_use_brk_pgt?? was declared here
103 | static bool __initdata can_use_brk_pgt = true;