[Clfs-support] problem cross building webkitgtk>=2.17.91 for 32 bit arch on a multilib x86_64 system

balducci at units.it balducci at units.it
Wed Dec 20 07:43:27 PST 2017


hello everybody

I maintain a CLFS multilib (32/64 bit) x86_64 system since quite a
bit.

Since 2.17.91, I'm not able to cross build webkitgtk for ABI32. The
build stops with the following error:

    offlineasm: No magic values found. Skipping assembly file generation.
    make[3]: *** [Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/build.make:100: DerivedSources/JavaScriptCore/LLIntAssembly.h] Error 1
    make[3]: *** Waiting for unfinished jobs....
    make[3]: Leaving directory '/home/balducci/tmp/install-us-d/webkitgtk-2.18.0.d/webkitgtk-2.18.0'


The error message comes from the asm.rb ruby script:

#> egrep -i magic Source/JavaScriptCore/offlineasm/asm.rb
rescue MissingMagicValuesException
    $stderr.puts "offlineasm: No magic values found. Skipping assembly file generation."

Unfortunately, I don't speak ruby, so it's difficult for me to
go deeper into the issue.

If someone is interested, here is my build configuration for ABI32:

gcc version:
-----------
#> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/stow.d/versions/gcc-7.2.0/usr/lib64/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /home/balducci/tmp/install-us-d/gcc-7.2.0.d/gcc-7.2.0/configure --prefix=/opt/stow.d/versions/gcc-7.2.0/usr --libdir=/opt/stow.d/versions/gcc-7.2.0/usr/lib64 --libexecdir=/opt/stow.d/versions/gcc-7.2.0/usr/lib64 --enable-shared --disable-bootstrap --enable-languages=c,c++,objc,fortran --enable-multilib
Thread model: posix
gcc version 7.2.0 (GCC) 

environment:
-----------
export CC="gcc -m32"
export CXX="g++ -m32"

cmake options:
-------------
-DCMAKE_INSTALL_PREFIX=/opt/stow.d/versions/webkitgtk-2.18.2/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


Other facts worth mentioning:
=> ABI32 builds fine for webkitgtk versions <=2.17.90
=> ABI64 builds fine for any version up to current one
=> trying different versions of ruby doesn't help

Just curious to know if somebody on this list stumbled on the same
problem.

Many thanks in advance for any hint/help

ciao
gabriele



More information about the Clfs-support mailing list