[Webkit-unassigned] [Bug 243149] New: i386 cross build on native x86_64 host fails for 2.37.1 tarball
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 24 01:55:38 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=243149
Bug ID: 243149
Summary: i386 cross build on native x86_64 host fails for
2.37.1 tarball
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore JavaScript
Assignee: webkit-unassigned at lists.webkit.org
Reporter: balducci at units.it
Created attachment 461172
--> https://bugs.webkit.org/attachment.cgi?id=461172&action=review
failing command
hello
running on linux (specs enclosed below)
With 2.37.1 I'm getting the attached failure for 32bit (i386) cross build on
a native 64bit (x86_64) host
2.37.1 64bit build works fine, as well as 32bit cross build for 2.36.x
If I run the offending command in attachment with
----8<----
-I/home/balducci/tmp/install-us-d/webkitgtk-2.37.1.d/webkitgtk-2.37.1/Source/JavaScriptCore/interpreter
---->8----
to make the compiler find the CLoopStack.h header, then I get a
similar error for another header:
----8<----
/home/balducci/tmp/install-us-d/webkitgtk-2.37.1.d/webkitgtk-2.37.1/Source/JavaScriptCore/interpreter/Register.h:31:10: fatal error: JSCJSValue.h: No such file or directory
31 | #include "JSCJSValue.h"
| ^~~~~~~~~~~~~~
---->8----
If I further add
----8<----
-I/home/balducci/tmp/install-us-d/webkitgtk-2.37.1.d/webkitgtk-2.37.1/Source/JavaScriptCore/runtime
---->8----
to fix that error, I end up with a bunch of:
----8<----
/home/balducci/tmp/install-us-d/webkitgtk-2.37.1.d/webkitgtk-2.37.1/Source/JavaScriptCore/runtime/Concurrency.h:32:12: error: multiple definition of �enum class JSC::Concurrency�
32 | enum class Concurrency : uint8_t {
| ^~~~~~~~~~~
---->8----
Thank you very much in advance for any help
ciao
-gabriele
32bit configuration:
====================
-DCMAKE_C_FLAGS="-m32"
-DCMAKE_CXX_FLAGS="-m32"
-DCMAKE_EXE_LINKER_FLAGS="-m32"
-DPORT=GTK
-DCMAKE_BUILD_TYPE=Release
-DENABLE_CREDENTIAL_STORAGE=OFF
-DENABLE_GEOLOCATION=OFF
-DUSE_LIBNOTIFY=OFF
-DUSE_LIBHYPHEN=OFF
-DENABLE_FTL_JIT=OFF
-DUSE_WOFF2=OFF
-DWTF_CPU_X86=X86
-DENABLE_JIT=OFF
-DENABLE_C_LOOP=ON
-DFORCE_32BIT=ON
-DCMAKE_LIBRARY_ARCHITECTURE=x86
-DUSE_OPENJPEG:BOOL=OFF
-DUSE_WPE_RENDERER:BOOL=OFF
-DENABLE_BUBBLEWRAP_SANDBOX=OFF
-DUSE_SYSTEMD=OFF
-DENABLE_GAMEPAD=OFF
-DUSE_LD_GOLD:BOOL=OFF
-DUSE_SOUP2=OFF
-DENABLE_JOURNALD_LOG=OFF
tmpsh:20> uname -srvmo
Linux 5.18.12 #1 SMP Sat Jul 16 08:27:34 CEST 2022 x86_64 GNU/Linux
tmpsh:21> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/stow.d/versions/gcc-12.1.0/usr/lib64/gcc/x86_64-pc-linux-gnu/12.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /home/balducci/tmp/install-us-d/gcc-12.1.0.d/gcc-12.1.0/configure --prefix=/opt/stow.d/versions/gcc-12.1.0/usr --libdir=/opt/stow.d/versions/gcc-12.1.0/usr/lib64 --libexecdir=/opt/stow.d/versions/gcc-12.1.0/usr/lib64 --enable-shared --disable-bootstrap --enable-languages=c,c++,objc,fortran --enable-multilib
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.1.0 (GCC)
tmpsh:22> /lib64/libc.so.6
GNU C Library (GNU libc) stable release version 2.35.
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 12.1.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<https://www.gnu.org/software/libc/bugs.html>.
tmpsh:23> cmake --version
cmake version 3.24.0-rc4
tmpsh:24> ninja --version
1.11.0
--
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/20220724/c7f92d05/attachment.htm>
More information about the webkit-unassigned
mailing list