Bug 305836

Summary: [GCC] Build failure with GCC 12.2.0 or lower after 305289@main
Product: WebKit Reporter: Carlos Alberto Lopez Perez <clopez>
Component: WPE WebKitAssignee: Carlos Alberto Lopez Perez <clopez>
Status: RESOLVED FIXED    
Severity: Normal CC: angelos, bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Carlos Alberto Lopez Perez
Reported 2026-01-20 07:35:54 PST
The build is failing on the WPE/GTK Debian stable bots after 305289@main: In file included from ../../../Source/JavaScriptCore/lol/LOLJIT.cpp:27, from JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-40392603-1.cpp:1: ../../../Source/JavaScriptCore/lol/LOLJIT.h: In instantiation of ‘void JSC::LOL::LOLJIT::emitWriteBarrier(const auto:303&, const auto:304&, JSC::JSValueRegs, JSC::JSValueRegs, JSC::GPRReg, JSC::JIT::WriteBarrierMode) [with auto:303 = JSC::LOL::RegisterAllocator<JSC::LOL::LOLJIT>; auto:304 = JSC::LOL::AllocationBindings<2, 0, 1>; JSC::GPRReg = JSC::ARM64Registers::RegisterID]’: ../../../Source/JavaScriptCore/lol/LOLJIT.cpp:1917:29: required from here ../../../Source/JavaScriptCore/lol/LOLJIT.h:313:18: internal compiler error: in tsubst_copy, at cp/pt.cc:17004 313 | if (mode == ShouldFilterBase || mode == ShouldFilterBaseAndValue) | ~~~~~^~~~~~~~~~~~~~~~~~~ 0x18e9577 internal_error(char const*, ...) ???:0 0x6a6c8f fancy_abort(char const*, int, char const*) ???:0 0x818a53 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) ???:0 0x81a94f tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) ???:0 0x81a92f tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool) ???:0 0x82959f instantiate_decl(tree_node*, bool, bool) ???:0 0x83da9f instantiate_pending_templates(int) ???:0 0x73cfef c_parse_final_cleanups() ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <file:///usr/share/doc/gcc-12/README.Bugs> for instructions. See: https://build.webkit.org/#/builders/859/builds/26621 However it passes on the Ubuntu 22.04 bots (those have GCC 12.3.0) and as well as on the other bots with GCC 13 or newer.
Attachments
Carlos Alberto Lopez Perez
Comment 1 2026-01-20 07:47:47 PST
EWS
Comment 2 2026-01-21 02:58:22 PST
Committed 305931@main (d82b68d06902): <https://commits.webkit.org/305931@main> Reviewed commits have been landed. Closing PR #56899 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.