<?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>266331</bug_id>
          
          <creation_ts>2023-12-13 02:22:39 -0800</creation_ts>
          <short_desc>REGRESSION(271819@main): Build fails due to undeclared identifier InlineCallFrameMalloc</short_desc>
          <delta_ts>2023-12-19 14:54:03 -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>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=266080</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=266662</see_also>
          <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="Adrian Perez">aperez</reporter>
          <assigned_to name="Adrian Perez">aperez</assigned_to>
          <cc>d_degazio</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1999226</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2023-12-13 02:22:39 -0800</bug_when>
    <thetext>% NUMBER_OF_PROCESSORS=33 ./Tools/Scripts/build-webkit --wpe --no-unified-builds
Building flatpak based environment
+  cmake --build /app/webkit/WebKitBuild/WPE/Release --config Release -- -j33
[1/1/2|0.0/s|  0%] Re-checking globbed directories...
[33/38/8065|0.3/s|  0%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/bytecode/InlineCallFrameSet.cpp.o
FAILED: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/bytecode/InlineCallFrameSet.cpp.o 
/usr/bin/ccache /usr/lib/sdk/llvm16/bin/clang++ -DBUILDING_JavaScriptCore -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WPE__=1 -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 -DPKGLIBDIR=\&quot;/usr/local/lib/wpe-webkit-2.0\&quot; -DSTATICALLY_LINKED_WITH_WTF -DSTATICALLY_LINKED_WITH_bmalloc -I/app/webkit/WebKitBuild/WPE/Release/JavaScriptCore/Headers -I/app/webkit/WebKitBuild/WPE/Release -I/app/webkit/Source/JavaScriptCore -I/app/webkit/Source/JavaScriptCore/API -I/app/webkit/Source/JavaScriptCore/assembler -I/app/webkit/Source/JavaScriptCore/b3 -I/app/webkit/Source/JavaScriptCore/b3/air -I/app/webkit/Source/JavaScriptCore/bindings -I/app/webkit/Source/JavaScriptCore/builtins -I/app/webkit/Source/JavaScriptCore/bytecode -I/app/webkit/Source/JavaScriptCore/bytecompiler -I/app/webkit/Source/JavaScriptCore/dfg -I/app/webkit/Source/JavaScriptCore/disassembler -I/app/webkit/Source/JavaScriptCore/disassembler/ARM64 -I/app/webkit/Source/JavaScriptCore/disassembler/zydis/Zydis -I/app/webkit/Source/JavaScriptCore/domjit -I/app/webkit/Source/JavaScriptCore/ftl -I/app/webkit/Source/JavaScriptCore/fuzzilli -I/app/webkit/Source/JavaScriptCore/heap -I/app/webkit/Source/JavaScriptCore/debugger -I/app/webkit/Source/JavaScriptCore/inspector -I/app/webkit/Source/JavaScriptCore/inspector/agents -I/app/webkit/Source/JavaScriptCore/inspector/augmentable -I/app/webkit/Source/JavaScriptCore/inspector/remote -I/app/webkit/Source/JavaScriptCore/interpreter -I/app/webkit/Source/JavaScriptCore/jit -I/app/webkit/Source/JavaScriptCore/llint -I/app/webkit/Source/JavaScriptCore/parser -I/app/webkit/Source/JavaScriptCore/profiler -I/app/webkit/Source/JavaScriptCore/runtime -I/app/webkit/Source/JavaScriptCore/tools -I/app/webkit/Source/JavaScriptCore/wasm -I/app/webkit/Source/JavaScriptCore/wasm/js -I/app/webkit/Source/JavaScriptCore/yarr -I/app/webkit/WebKitBuild/WPE/Release/JavaScriptCore/DerivedSources -I/app/webkit/WebKitBuild/WPE/Release/JavaScriptCore/DerivedSources/inspector -I/app/webkit/WebKitBuild/WPE/Release/JavaScriptCore/DerivedSources/runtime -I/app/webkit/WebKitBuild/WPE/Release/JavaScriptCore/DerivedSources/yarr -I/app/webkit/Source/JavaScriptCore/API/glib -I/app/webkit/WebKitBuild/WPE/Release/JavaScriptCoreGLib/DerivedSources -I/app/webkit/WebKitBuild/WPE/Release/JavaScriptCoreGLib/DerivedSources/jsc -I/app/webkit/WebKitBuild/WPE/Release/JavaScriptCoreGLib/Headers -I/app/webkit/Source/JavaScriptCore/inspector/remote/glib -I/app/webkit/WebKitBuild/WPE/Release/WTF/Headers -I/app/webkit/WebKitBuild/WPE/Release/bmalloc/Headers -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -fdiagnostics-color=always -fcolor-diagnostics -Wextra -Wall -pipe -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-parentheses-equality -Qunused-arguments -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare  -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -ffp-contract=off -fno-slp-vectorize -Werror -MD -MT Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/bytecode/InlineCallFrameSet.cpp.o -MF Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/bytecode/InlineCallFrameSet.cpp.o.d -o Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/bytecode/InlineCallFrameSet.cpp.o -c /app/webkit/Source/JavaScriptCore/bytecode/InlineCallFrameSet.cpp
In file included from /app/webkit/Source/JavaScriptCore/bytecode/InlineCallFrameSet.cpp:27:
/app/webkit/Source/JavaScriptCore/bytecode/InlineCallFrameSet.h:44:74: error: use of undeclared identifier &apos;InlineCallFrameMalloc&apos;
    using FrameBag = Bag&lt;InlineCallFrame, RawPtrTraits&lt;InlineCallFrame&gt;, InlineCallFrameMalloc&gt;;
                                                                         ^
/app/webkit/Source/JavaScriptCore/bytecode/InlineCallFrameSet.h:45:13: error: use of undeclared identifier &apos;FrameBag&apos;
    typedef FrameBag::iterator iterator;
            ^
/app/webkit/Source/JavaScriptCore/bytecode/InlineCallFrameSet.h:50:5: error: unknown type name &apos;FrameBag&apos;
    FrameBag m_frames;
    ^
%</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999227</commentid>
    <comment_count>1</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2023-12-13 02:25:08 -0800</bug_when>
    <thetext>It seems that InlineCallFrameMalloc is not defined anywhere, using
“git grep InlineCallFrameMalloc Source/” renders no results (also
no results grepping in the derived sources). Maybe the intention
was to leave out the last parameter of the template and let the C++
compiler pick the Malloc=FastMalloc default instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999229</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2023-12-13 02:28:50 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/21727</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999245</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-12-13 06:39:27 -0800</bug_when>
    <thetext>Committed 271979@main (cfd1072e6014): &lt;https://commits.webkit.org/271979@main&gt;

Reviewed commits have been landed. Closing PR #21727 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999246</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-12-13 06:40:14 -0800</bug_when>
    <thetext>&lt;rdar://problem/119610848&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>