[Webkit-unassigned] [Bug 249841] New: [JSC][ARMv7] Build error ELF section name out of range

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 23 02:46:04 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=249841

            Bug ID: 249841
           Summary: [JSC][ARMv7] Build error ELF section name out of range
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: psaavedra at igalia.com

Nightly build with

```
./Tools/Scripts/build-webkit --release --wpe '--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'
```

fails after applying this commit:

```
commit 189dce5799e8464f6d477a92d8dd7c26c085362d (HEAD)
Author: Joseph Griego <jgriego at igalia.com>
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:


```
: && /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 && :
/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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221223/9c4a1b37/attachment.htm>


More information about the webkit-unassigned mailing list