<?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>241009</bug_id>
          
          <creation_ts>2022-05-27 06:13:57 -0700</creation_ts>
          <short_desc>[JSC] Port and enable Wasm BBQ JIT on ARMv7</short_desc>
          <delta_ts>2022-12-23 02:47:08 -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=249841</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="Geza Lore">glore</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>psaavedra</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1872309</commentid>
    <comment_count>0</comment_count>
    <who name="Geza Lore">glore</who>
    <bug_when>2022-05-27 06:13:57 -0700</bug_when>
    <thetext>Patch pending.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1872325</commentid>
    <comment_count>1</comment_count>
    <who name="Geza Lore">glore</who>
    <bug_when>2022-05-27 07:37:49 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/1093</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873872</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-06-03 06:14:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/94342856&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1880712</commentid>
    <comment_count>3</comment_count>
    <who name="Joseph Griego">joseph.j.griego</who>
    <bug_when>2022-07-05 09:25:30 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/2080</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915382</commentid>
    <comment_count>4</comment_count>
    <who name="Joseph Griego">joseph.j.griego</who>
    <bug_when>2022-11-29 11:34:04 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/6930</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1918830</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-12-13 09:27:54 -0800</bug_when>
    <thetext>Committed 257793@main (cac02a1a9807): &lt;https://commits.webkit.org/257793@main&gt;

Reviewed commits have been landed. Closing PR #6930 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1918877</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-12-13 12:08:04 -0800</bug_when>
    <thetext>Committed 257808@main (189dce5799e8): &lt;https://commits.webkit.org/257808@main&gt;

Reviewed commits have been landed. Closing PR #2080 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1921647</commentid>
    <comment_count>7</comment_count>
    <who name="Pablo Saavedra">psaavedra</who>
    <bug_when>2022-12-23 02:43:55 -0800</bug_when>
    <thetext>
Nightly build with

```
./Tools/Scripts/build-webkit --release --wpe &apos;--cmakeargs= 			-DLIBEXEC_INSTALL_DIR=/home/bot/webkit/WebKitBuild/Release/bin/ 			-DLIB_INSTALL_DIR=/home/bot/webkit/WebKitBuild/Release/lib/ 		-DENABLE_DFG_JIT=ON 			-DENABLE_JIT=ON -DENABLE_C_LOOP=OFF 						-DENABLE_ENCRYPTED_MEDIA=OFF 			-DENABLE_MEDIA_STREAM=OFF 						-DUSE_LCMS=OFF -DUSE_SOUP2=ON 			-DENABLE_INTROSPECTION=OFF -DENABLE_DOCUMENTATION=OFF 			-DENABLE_MINIBROWSER=ON -DDEVELOPER_MODE=OFF -DENABLE_WEBXR=OFF -DENABLE_WPE_QT_API=OFF -DENABLE_BUBBLEWRAP_SANDBOX=OFF&apos;
```

fails after applying this commit:

```
commit 189dce5799e8464f6d477a92d8dd7c26c085362d (HEAD)
Author: Joseph Griego &lt;jgriego@igalia.com&gt;
Date:   Tue Dec 13 12:06:30 2022 -0800

    [JSC] Port and enable Wasm BBQ JIT on ARMv7
    https://bugs.webkit.org/show_bug.cgi?id=241009
    
    Reviewed by Justin Michaud.
    
    This patch enables the Wasm BBQ JIT on ARMv7.
```


Error:


```
: &amp;&amp; /home/bot/toolchain_env_wandboard-mesa-wpe-candidate/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++   -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/bot/toolchain_env_wandboard-mesa-wpe-candidate/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi --sysroot=/home/bot/toolchain_env_wandboard-mesa-wpe-candidate/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi -fPIC -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-uninitialized -Wno-mismatched-new-delete -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare  -O2 -pipe -g -feliminate-unused-debug-types  -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -Wl,-z,relro,-z,now -Wl,--disable-new-dtags -shared  -o lib/libWPEInjectedBundle.so Source/WebKit/CMakeFiles/WPEInjectedBundle.dir/WebProcess/InjectedBundle/API/glib/WebKitInjectedBundleMain.cpp.o  -Wl,-rpath,/home/bot/webkit/WebKitBuild/Release/lib:  lib/libWPEWebKit-1.0.so.3.19.0  /home/bot/toolchain_env_wandboard-mesa-wpe-candidate/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/lib/libcairo.so  /home/bot/toolchain_env_wandboard-mesa-wpe-candidate/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/lib/libfreetype.so  /home/bot/toolchain_env_wandboard-mesa-wpe-candidate/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/lib/libharfbuzz.so  /home/bot/toolchain_env_wandboard-mesa-wpe-candidate/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/lib/libharfbuzz-icu.so  /home/bot/toolchain_env_wandboard-mesa-wpe-candidate/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/lib/libwpe-1.0.so  /home/bot/toolchain_env_wandboard-mesa-wpe-candidate/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/lib/libatk-1.0.so  /home/bot/toolchain_env_wandboard-mesa-wpe-candidate/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/lib/libglib-2.0.so  /home/bot/toolchain_env_wandboard-mesa-wpe-candidate/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/lib/libgmodule-2.0.so  /home/bot/toolchain_env_wandboard-mesa-wpe-candidate/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/lib/libsoup-2.4.so  /home/bot/toolchain_env_wandboard-mesa-wpe-candidate/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/lib/libatk-bridge-2.0.so  /home/bot/toolchain_env_wandboard-mesa-wpe-candidate/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/lib/libgstreamer-1.0.so &amp;&amp; :
/home/bot/toolchain_env_wandboard-mesa-wpe-candidate/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/11.3.0/ld: error: lib/libWPEWebKit-1.0.so.3.19.0: ELF section name out of range
collect2: error: ld returned 1 exit status
```</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>