<?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>301892</bug_id>
          
          <creation_ts>2025-11-03 18:00:08 -0800</creation_ts>
          <short_desc>REGRESSION(302456@main) [GCC14] Hasher.h:83:8: error: call of overloaded ‘add(WTF::Hasher&amp;, uint32_t)’ is ambiguous</short_desc>
          <delta_ts>2025-11-03 20:15:14 -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>Web Template Framework</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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2156109</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-11-03 18:00:08 -0800</bug_when>
    <thetext>REGRESSION(302456@main) [GCC14] Hasher.h:83:8: error: call of overloaded ‘add(WTF::Hasher&amp;, uint32_t)’ is ambiguous

GCC-14 can&apos;t compile WebKit.

FAILED: [code=1] Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextStream.cpp.o 
/usr/bin/g++-14 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WPE__=1 -DBUILDING_WTF -DBWRAP_EXECUTABLE=\&quot;/usr/bin/bwrap\&quot; -DDBUS_PROXY_EXECUTABLE=\&quot;/usr/bin/xdg-dbus-proxy\&quot; -DGETTEXT_PACKAGE=\&quot;WPE\&quot; -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DPAS_BMALLOC=1 -DPKGDATADIR=\&quot;/usr/local/share/wpe-webkit-2.0\&quot; -DSTATICALLY_LINKED_WITH_bmalloc -D_GLIBCXX_ASSERTIONS=1 -I/home/fujii/webkit/wb/WebKitBuild/WPE/Release -I/home/fujii/webkit/wb/WebKitBuild/WPE/Release/WTF/DerivedSources -I/home/fujii/webkit/wb/Source/WTF -I/home/fujii/webkit/wb/Source/WTF/wtf -I/home/fujii/webkit/wb/Source/WTF/wtf/dtoa -I/home/fujii/webkit/wb/Source/WTF/wtf/fast_float -I/home/fujii/webkit/wb/Source/WTF/wtf/persistence -I/home/fujii/webkit/wb/Source/WTF/wtf/simdutf -I/home/fujii/webkit/wb/Source/WTF/wtf/text -I/home/fujii/webkit/wb/Source/WTF/wtf/text/icu -I/home/fujii/webkit/wb/Source/WTF/wtf/threads -I/home/fujii/webkit/wb/Source/WTF/wtf/unicode -I/home/fujii/webkit/wb/WebKitBuild/WPE/Release/bmalloc/Headers -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /home/fujii/webkit/webkit-jhbuild/install/include/sysprof-6 -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-subobject-linkage -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -fasynchronous-unwind-tables -fdebug-types-section -fno-omit-frame-pointer -fno-strict-aliasing -fno-exceptions -fno-rtti -fcoroutines -ffunction-sections -fdata-sections -ffile-prefix-map=/home/fujii/webkit/wb=. -O3 -DNDEBUG -std=c++23 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Werror -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/home/fujii/webkit/webkit-jhbuild/install/include/sysprof-6 -pthread -MD -MT Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextStream.cpp.o -MF Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextStream.cpp.o.d -o Source/WTF/wtf/CMakeFiles/WTF.dir/text/TextStream.cpp.o -c /home/fujii/webkit/wb/Source/WTF/wtf/text/TextStream.cpp
In file included from /home/fujii/webkit/wb/Source/WTF/wtf/Markable.h:39,
                 from /home/fujii/webkit/wb/Source/WTF/wtf/text/TextStream.h:31,
                 from /home/fujii/webkit/wb/Source/WTF/wtf/text/TextStream.cpp:27:
/home/fujii/webkit/wb/Source/WTF/wtf/Hasher.h: In function ‘void WTF::add(Hasher&amp;, UnsignedInteger)’:
/home/fujii/webkit/wb/Source/WTF/wtf/Hasher.h:83:8: error: call of overloaded ‘add(WTF::Hasher&amp;, uint32_t)’ is ambiguous
   83 |     add(hasher, static_cast&lt;uint32_t&gt;(integer));
      |     ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/fujii/webkit/wb/Source/WTF/wtf/Hasher.h:39:6: note: candidate: ‘void WTF::add(Hasher&amp;, UnsignedInteger) [with UnsignedInteger = unsigned int]’
   39 | void add(Hasher&amp;, UnsignedInteger);
      |      ^~~
/home/fujii/webkit/wb/Source/WTF/wtf/Hasher.h:61:17: note: candidate: ‘void WTF::add(Hasher&amp;, UnsignedInteger) [with UnsignedInteger = unsigned int]’
   61 |     friend void add(Hasher&amp; hasher, UnsignedInteger integer)
      |                 ^~~
/home/fujii/webkit/wb/Source/WTF/wtf/Hasher.h:84:8: error: call of overloaded ‘add(WTF::Hasher&amp;, uint32_t)’ is ambiguous
   84 |     add(hasher, static_cast&lt;uint32_t&gt;(integer &gt;&gt; 32));
      |     ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/fujii/webkit/wb/Source/WTF/wtf/Hasher.h:39:6: note: candidate: ‘void WTF::add(Hasher&amp;, UnsignedInteger) [with UnsignedInteger = unsigned int]’
   39 | void add(Hasher&amp;, UnsignedInteger);
      |      ^~~
/home/fujii/webkit/wb/Source/WTF/wtf/Hasher.h:61:17: note: candidate: ‘void WTF::add(Hasher&amp;, UnsignedInteger) [with UnsignedInteger = unsigned int]’
   61 |     friend void add(Hasher&amp; hasher, UnsignedInteger integer)
      |                 ^~~</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156110</commentid>
    <comment_count>1</comment_count>
      <attachid>477273</attachid>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-11-03 18:00:52 -0800</bug_when>
    <thetext>Created attachment 477273
repro

https://godbolt.org/z/4aW41Phbh</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156112</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-11-03 18:05:52 -0800</bug_when>
    <thetext>Reported to GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122550</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156128</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-11-03 19:00:37 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/53369</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156155</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-11-03 20:14:43 -0800</bug_when>
    <thetext>Committed 302514@main (b99cb96a7a3e): &lt;https://commits.webkit.org/302514@main&gt;

Reviewed commits have been landed. Closing PR #53369 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156157</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-11-03 20:15:14 -0800</bug_when>
    <thetext>&lt;rdar://problem/163982760&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>477273</attachid>
            <date>2025-11-03 18:00:52 -0800</date>
            <delta_ts>2025-11-03 18:00:52 -0800</delta_ts>
            <desc>repro</desc>
            <filename>a.cpp</filename>
            <type>text/x-c++src</type>
            <size>705</size>
            <attacher name="Fujii Hironori">fujii</attacher>
            
              <data encoding="base64">I2luY2x1ZGUgPGNvbmNlcHRzPgojaW5jbHVkZSA8Y3N0ZGludD4KCmNsYXNzIEhhc2hlcjsKCnRl
bXBsYXRlPHN0ZDo6dW5zaWduZWRfaW50ZWdyYWwgVW5zaWduZWRJbnRlZ2VyPgpyZXF1aXJlcyAo
c2l6ZW9mKFVuc2lnbmVkSW50ZWdlcikgPD0gc2l6ZW9mKHVpbnQzMl90KSAmJiAhc3RkOjppc19l
bnVtX3Y8VW5zaWduZWRJbnRlZ2VyPikKdm9pZCBhZGQoSGFzaGVyJiwgVW5zaWduZWRJbnRlZ2Vy
KTsKCmNsYXNzIEhhc2hlciB7CiAgICB0ZW1wbGF0ZTxzdGQ6OnVuc2lnbmVkX2ludGVncmFsIFVu
c2lnbmVkSW50ZWdlcj4KICAgIHJlcXVpcmVzIChzaXplb2YoVW5zaWduZWRJbnRlZ2VyKSA8PSBz
aXplb2YodWludDMyX3QpICYmICFzdGQ6OmlzX2VudW1fdjxVbnNpZ25lZEludGVnZXI+KQogICAg
ZnJpZW5kIHZvaWQgYWRkKEhhc2hlciYgaGFzaGVyLCBVbnNpZ25lZEludGVnZXIgaW50ZWdlcikg
ewogICAgfQp9OwoKdGVtcGxhdGU8dHlwZW5hbWUgVW5zaWduZWRJbnRlZ2VyPgpyZXF1aXJlcyAo
c3RkOjppc191bnNpZ25lZDxVbnNpZ25lZEludGVnZXI+Ojp2YWx1ZSAmJiBzaXplb2YoVW5zaWdu
ZWRJbnRlZ2VyKSA9PSBzaXplb2YodWludDY0X3QpKQp2b2lkIGFkZChIYXNoZXImIGhhc2hlciwg
VW5zaWduZWRJbnRlZ2VyIGludGVnZXIpCnsKICAgIGFkZChoYXNoZXIsIHN0YXRpY19jYXN0PHVp
bnQzMl90PihpbnRlZ2VyKSk7Cn0K
</data>

          </attachment>
      

    </bug>

</bugzilla>