[Webkit-unassigned] [Bug 191944] New: 32bit cross build on a native 64bit host fails with 2.23.1
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Nov 24 09:21:46 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=191944
Bug ID: 191944
Summary: 32bit cross build on a native 64bit host fails with
2.23.1
Product: WebKit
Version: Other
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: balducci at units.it
hello
running on linux (my complete specs are at the end of this report)
Cross building for 32bit on a 64bit machine doesn't work for me
with recently released 2.23.1; the build stops with:
----8<----
[1108/2860] cd /home/balducci/tmp/install-us-d/webkitgtk-2.22.4.d/webkitgtk-2.23.1/Source/JavaScriptCore && /usr/bin/ruby /home/balducci/tmp/install-us-d/webkitgtk-2.22.4.d/webkitgtk-2.23.1/Source/JavaScriptCore/offlineasm/generate_offset_extractor.rb -I/home/balducci/tmp/install-us-d/webkitgtk-2.22.4.d/webkitgtk-2.23.1/DerivedSources/JavaScriptCore/ /home/balducci/tmp/install-us-d/webkitgtk-2.22.4.d/webkitgtk-2.23.1/Source/JavaScriptCore/llint/LowLevelInterpreter.asm /home/balducci/tmp/install-us-d/webkitgtk-2.22.4.d/webkitgtk-2.23.1/bin/LLIntSettingsExtractor /home/balducci/tmp/install-us-d/webkitgtk-2.22.4.d/webkitgtk-2.23.1/DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h X86
FAILED: DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h
cd /home/balducci/tmp/install-us-d/webkitgtk-2.22.4.d/webkitgtk-2.23.1/Source/JavaScriptCore && /usr/bin/ruby /home/balducci/tmp/install-us-d/webkitgtk-2.22.4.d/webkitgtk-2.23.1/Source/JavaScriptCore/offlineasm/generate_offset_extractor.rb -I/home/balducci/tmp/install-us-d/webkitgtk-2.22.4.d/webkitgtk-2.23.1/DerivedSources/JavaScriptCore/ /home/balducci/tmp/install-us-d/webkitgtk-2.22.4.d/webkitgtk-2.23.1/Source/JavaScriptCore/llint/LowLevelInterpreter.asm /home/balducci/tmp/install-us-d/webkitgtk-2.22.4.d/webkitgtk-2.23.1/bin/LLIntSettingsExtractor /home/balducci/tmp/install-us-d/webkitgtk-2.22.4.d/webkitgtk-2.23.1/DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h X86
OffsetExtractor: No magic values found. Skipping offsets extractor file generation.
---->8----
I had a similar problem in the past, for versions >=2.17.91, which was
solved by running the 32bit build with -DWTF_CPU_X86=X86; however, it
seems to me that now generate_offset_extractor.rb is run with the
correct backend name (ie X86)...
I can add that 32bit cross builds of versions <=2.22.4 have always
worked without problems (with -DWTF_CPU_X86=X86, as I said above)
Also: building 2.23.1 for native 64bit arch works without problems
I thank you very much in advance for any help
-gabriele
Here are my specs
=================
install:287> uname -sr
Linux 4.19.3
install:288> ruby --version
ruby 2.6.0preview3 (2018-11-06 trunk 65578) [x86_64-linux]
32bit configuration:
-DCMAKE_INSTALL_PREFIX=/opt/stow.d/versions/webkitgtk-2.23.1/usr
-DCMAKE_INSTALL_LIBDIR=lib
-DCMAKE_C_FLAGS=" -I/usr/include/gstreamer-1.0"
-DCMAKE_CXX_FLAGS="-fpermissive -I/usr/include/gstreamer-1.0"
-DPORT=GTK
-DCMAKE_BUILD_TYPE=Release
-DENABLE_CREDENTIAL_STORAGE=OFF
-DENABLE_GEOLOCATION=OFF
-DUSE_LIBNOTIFY=OFF
-DUSE_LIBHYPHEN=OFF
-DENABLE_FTL_JIT=OFF
-DUSE_GSTREAMER_GL=OFF
-DUSE_WOFF2=OFF
-DENABLE_JIT=ON
-DWTF_CPU_X86=X86
-DENABLE_BUBBLEWRAP_SANDBOX=OFF
environment:
export CC="gcc -m32"
export CXX="g++ -m32"
install:291> cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 21
model : 16
model name : AMD Athlon(tm) X4 740 Quad Core Processor
stepping : 1
microcode : 0x6001116
cpu MHz : 1955.274
cache size : 2048 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 16
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb cpb hw_pstate ssbd vmmcall bmi1 arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
bugs : fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips : 6400.58
TLB size : 1536 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm 100mhzsteps hwpstate cpb eff_freq_ro
[cpus 1-3 omitted]
install:289> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/stow.d/versions/gcc-8.2.0/usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /home/balducci/tmp/install-us-d/gcc-8.1.0.d/gcc-8.2.0/configure --prefix=/opt/stow.d/versions/gcc-8.2.0/usr --libdir=/opt/stow.d/versions/gcc-8.2.0/usr/lib64 --libexecdir=/opt/stow.d/versions/gcc-8.2.0/usr/lib64 --enable-shared --disable-bootstrap --enable-languages=c,c++,objc,fortran --enable-multilib
Thread model: posix
gcc version 8.2.0 (GCC)
--
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/20181124/d5ac4d89/attachment-0001.html>
More information about the webkit-unassigned
mailing list