Bug 233536 - 32bit cross build on native 64bit host fails with 2.35.1
Summary: 32bit cross build on native 64bit host fails with 2.35.1
Status: RESOLVED DUPLICATE of bug 233564
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-27 08:23 PST by gabriele balducci
Modified: 2021-11-30 23:53 PST (History)
2 users (show)

See Also:


Attachments
failing compile command (108.64 KB, text/plain)
2021-11-27 08:23 PST, gabriele balducci
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description gabriele balducci 2021-11-27 08:23:36 PST
Created attachment 445217 [details]
failing compile command

hello

running on linux (specs enclosed below)

As said in the summary, I get the attached failure for 32bit cross
build

This has started with 2.35.1: 32bit cross build for <=2.34.2 is fine (since quite a bit)

And both 2.34.2 and 2.35.1 build fine for native 64bit architecture

I have no clue as to what might be the origin of the 32bit failure and
I'm hoping that someone can give me hints about where to look for
possible causes

Thank you very much in advance

ciao
-gabriele



32bit configuration:
====================
-DCMAKE_C_FLAGS="-m32   -I/usr/Xorg/include"
-DCMAKE_CXX_FLAGS="-m32   -I/usr/Xorg/include"
-DCMAKE_EXE_LINKER_FLAGS="-L/usr/Xorg/lib "
-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

install:883> uname -srvmo
Linux 5.15.2 #1 SMP Sat Nov 13 09:15:20 CET 2021 x86_64 GNU/Linux

install:872> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/stow.d/versions/gcc-11.2.0/usr/lib64/gcc/x86_64-pc-linux-gnu/11.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /home/balducci/tmp/install-us-d/gcc-11.2.0.d/gcc-11.2.0/configure --prefix=/opt/stow.d/versions/gcc-11.2.0/usr --libdir=/opt/stow.d/versions/gcc-11.2.0/usr/lib64 --libexecdir=/opt/stow.d/versions/gcc-11.2.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 11.2.0 (GCC) 

install:879> /opt/stow.d/versions/glibc-2.34/lib64/libc.so.6
GNU C Library (GNU libc) stable release version 2.34.
Copyright (C) 2021 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 11.2.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<https://www.gnu.org/software/libc/bugs.html>.

install:880> cmake --version
cmake version 3.22.0

install:882> ninja --version
1.10.2
Comment 1 Michael Catanzaro 2021-11-29 10:36:55 PST
Ah, I actually went looking for this bug before reporting bug #233564, but missed it somehow. Should be fixed.

*** This bug has been marked as a duplicate of bug 233564 ***
Comment 2 gabriele balducci 2021-11-30 23:53:18 PST
(In reply to Michael Catanzaro from comment #1)
> Ah, I actually went looking for this bug before reporting bug #233564, but
> missed it somehow. Should be fixed.
> 
> *** This bug has been marked as a duplicate of bug 233564 ***

just confirming

thanks
-g