<?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>249841</bug_id>
          
          <creation_ts>2022-12-23 02:46:04 -0800</creation_ts>
          <short_desc>[JSC][ARMv7] Build error ELF section name out of range</short_desc>
          <delta_ts>2023-01-06 15:57: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>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=241009</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="Pablo Saavedra">psaavedra</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>glore</cc>
    
    <cc>joseph.j.griego</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1921648</commentid>
    <comment_count>0</comment_count>
    <who name="Pablo Saavedra">psaavedra</who>
    <bug_when>2022-12-23 02:46:04 -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
```

Arise of: https://bugs.webkit.org/show_bug.cgi?id=241009</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1922272</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-12-30 02:47:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/103774130&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>