<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>305836</bug_id>
          
          <creation_ts>2026-01-20 07:35:54 -0800</creation_ts>
          <short_desc>[GCC] Build failure with GCC 12.2.0 or lower after 305289@main</short_desc>
          <delta_ts>2026-01-21 02:58:25 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WPE WebKit</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Carlos Alberto Lopez Perez">clopez</assigned_to>
          <cc>angelos</cc>
    
    <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2173317</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2026-01-20 07:35:54 -0800</bug_when>
    <thetext>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&amp;, const auto:304&amp;, JSC::JSValueRegs, JSC::JSValueRegs, JSC::GPRReg, JSC::JIT::WriteBarrierMode) [with auto:303 = JSC::LOL::RegisterAllocator&lt;JSC::LOL::LOLJIT&gt;; auto:304 = JSC::LOL::AllocationBindings&lt;2, 0, 1&gt;; 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 &lt;file:///usr/share/doc/gcc-12/README.Bugs&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2173321</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2026-01-20 07:47:47 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/56899</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2173614</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-21 02:58:22 -0800</bug_when>
    <thetext>Committed 305931@main (d82b68d06902): &lt;https://commits.webkit.org/305931@main&gt;

Reviewed commits have been landed. Closing PR #56899 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>