<?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>246816</bug_id>
          
          <creation_ts>2022-10-20 10:15:00 -0700</creation_ts>
          <short_desc>[GTK] [2.38.1] Non-unified builds broken</short_desc>
          <delta_ts>2022-10-24 04:32:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</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="Alberto Garcia">berto</reporter>
          <assigned_to name="Carlos Garcia Campos">cgarcia</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1907092</commentid>
    <comment_count>0</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2022-10-20 10:15:00 -0700</bug_when>
    <thetext>I had this while building for i386:

[1/8330] cd /tmp/webkit2gtk-2.38.1 &amp;&amp; /usr/bin/cmake -E env CC=/usr/bin/cc /usr/bin/g-ir-scanner --quiet --warn-all --warn-error --no-libtool --output=/tmp/webkit2gtk-2.38.1/build-soup2/JavaScriptCore-4.0.gir --library=javascriptcoregtk-4.0 --library-path=/tmp/webkit2gtk-2.38.1/build-soup2/lib --namespace=JavaScriptCore --nsversion=4.0 --c-include=jsc/jsc.h --identifier-prefix=JSC --symbol-prefix=jsc --pkg-export=javascriptcoregtk-4.0 -DBUILDING_JavaScriptCore -DJSC_COMPILATION -DBUILDING_WITH_CMAKE=1 -DHAVE_CONFIG_H=1 -DPAS_BMALLOC=1 -DBUILDING_GTK__=1 -DGETTEXT_PACKAGE=\&quot;WebKit2GTK-4.0\&quot; -DWEBKITGTK_API_VERSION_STRING=\&quot;4.0\&quot; -DJSC_GLIB_API_ENABLED -DBWRAP_EXECUTABLE=\&quot;/usr/bin/bwrap\&quot; -DDBUS_PROXY_EXECUTABLE=\&quot;/usr/bin/xdg-dbus-proxy\&quot; -DSTATICALLY_LINKED_WITH_WTF -I/tmp/webkit2gtk-2.38.1/build-soup2/JavaScriptCore/Headers --sources-top-dirs=/tmp/webkit2gtk-2.38.1 --include=GObject-2.0 --pkg=gobject-2.0 -I/tmp/webkit2gtk-2.38.1/build-soup2/JavaScriptCore/Headers -I/tmp/webkit2gtk-2.38.1/build-soup2/JavaScriptCore/PrivateHeaders -I/tmp/webkit2gtk-2.38.1/build-soup2/JavaScriptCoreGLib/Headers -I/tmp/webkit2gtk-2.38.1/build-soup2/JavaScriptCoreGLib/DerivedSources /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCAutocleanups.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCClass.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCContext.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCDefines.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCException.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCOptions.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCValue.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCVirtualMachine.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCWeakValue.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/jsc.h /tmp/webkit2gtk-2.38.1/build-soup2/JavaScriptCoreGLib/DerivedSources/jsc/JSCVersion.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSAPIWrapperGlobalObject.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSAPIWrapperObjectGLib.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCCallbackFunction.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCClass.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCContext.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCException.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCOptions.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCValue.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCVersion.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCVirtualMachine.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCWeakValue.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCWrapperMap.cpp
FAILED: JavaScriptCore-4.0.gir /tmp/webkit2gtk-2.38.1/build-soup2/JavaScriptCore-4.0.gir
cd /tmp/webkit2gtk-2.38.1 &amp;&amp; /usr/bin/cmake -E env CC=/usr/bin/cc /usr/bin/g-ir-scanner --quiet --warn-all --warn-error --no-libtool --output=/tmp/webkit2gtk-2.38.1/build-soup2/JavaScriptCore-4.0.gir --library=javascriptcoregtk-4.0 --library-path=/tmp/webkit2gtk-2.38.1/build-soup2/lib --namespace=JavaScriptCore --nsversion=4.0 --c-include=jsc/jsc.h --identifier-prefix=JSC --symbol-prefix=jsc --pkg-export=javascriptcoregtk-4.0 -DBUILDING_JavaScriptCore -DJSC_COMPILATION -DBUILDING_WITH_CMAKE=1 -DHAVE_CONFIG_H=1 -DPAS_BMALLOC=1 -DBUILDING_GTK__=1 -DGETTEXT_PACKAGE=\&quot;WebKit2GTK-4.0\&quot; -DWEBKITGTK_API_VERSION_STRING=\&quot;4.0\&quot; -DJSC_GLIB_API_ENABLED -DBWRAP_EXECUTABLE=\&quot;/usr/bin/bwrap\&quot; -DDBUS_PROXY_EXECUTABLE=\&quot;/usr/bin/xdg-dbus-proxy\&quot; -DSTATICALLY_LINKED_WITH_WTF -I/tmp/webkit2gtk-2.38.1/build-soup2/JavaScriptCore/Headers --sources-top-dirs=/tmp/webkit2gtk-2.38.1 --include=GObject-2.0 --pkg=gobject-2.0 -I/tmp/webkit2gtk-2.38.1/build-soup2/JavaScriptCore/Headers -I/tmp/webkit2gtk-2.38.1/build-soup2/JavaScriptCore/PrivateHeaders -I/tmp/webkit2gtk-2.38.1/build-soup2/JavaScriptCoreGLib/Headers -I/tmp/webkit2gtk-2.38.1/build-soup2/JavaScriptCoreGLib/DerivedSources /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCAutocleanups.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCClass.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCContext.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCDefines.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCException.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCOptions.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCValue.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCVirtualMachine.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCWeakValue.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/jsc.h /tmp/webkit2gtk-2.38.1/build-soup2/JavaScriptCoreGLib/DerivedSources/jsc/JSCVersion.h /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSAPIWrapperGlobalObject.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSAPIWrapperObjectGLib.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCCallbackFunction.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCClass.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCContext.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCException.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCOptions.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCValue.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCVersion.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCVirtualMachine.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCWeakValue.cpp /tmp/webkit2gtk-2.38.1/Source/JavaScriptCore/API/glib/JSCWrapperMap.cpp
/usr/bin/ld: /tmp/webkit2gtk-2.38.1/build-soup2/lib/libjavascriptcoregtk-4.0.so: undefined reference to `JSC::ExecutableBase::implementationVisibility() const&apos;
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command &apos;[&apos;/usr/bin/cc&apos;, &apos;-o&apos;, &apos;/tmp/webkit2gtk-2.38.1/tmp-introspectnljrxjc5/JavaScriptCore-4.0&apos;, &apos;/tmp/webkit2gtk-2.38.1/tmp-introspectnljrxjc5/JavaScriptCore-4.0.o&apos;, &apos;-L.&apos;, &apos;-Wl,-rpath,.&apos;, &apos;-Wl,--no-as-needed&apos;, &apos;-L/tmp/webkit2gtk-2.38.1/build-soup2/lib&apos;, &apos;-Wl,-rpath,/tmp/webkit2gtk-2.38.1/build-soup2/lib&apos;, &apos;-ljavascriptcoregtk-4.0&apos;, &apos;-lgio-2.0&apos;, &apos;-Wl,--export-dynamic&apos;, &apos;-lgmodule-2.0&apos;, &apos;-pthread&apos;, &apos;-lgobject-2.0&apos;, &apos;-lglib-2.0&apos;]&apos; returned non-zero exit status 1.
ninja: build stopped: subcommand failed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1907290</commentid>
    <comment_count>1</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2022-10-21 06:28:37 -0700</bug_when>
    <thetext>This fixes the problem for me:

--- webkitgtk.orig/Source/JavaScriptCore/interpreter/StackVisitor.cpp
+++ webkitgtk/Source/JavaScriptCore/interpreter/StackVisitor.cpp
@@ -28,6 +28,7 @@
 
 #include &quot;ClonedArguments.h&quot;
 #include &quot;DebuggerPrimitives.h&quot;
+#include &quot;ExecutableBaseInlines.h&quot;
 #include &quot;InlineCallFrame.h&quot;
 #include &quot;JSCInlines.h&quot;
 #include &quot;RegisterAtOffsetList.h&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1907739</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2022-10-24 01:11:31 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/5700</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1907765</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-10-24 04:32:45 -0700</bug_when>
    <thetext>Committed 255910@main (c5856430df80): &lt;https://commits.webkit.org/255910@main&gt;

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

    </bug>

</bugzilla>