[debian-mysql] Bug#970662: mariadb-105: FTBFS on x32: operand size mismatch for `crc32'

Otto Kekäläinen otto at debian.org
Sun Sep 20 23:09:58 BST 2020


Source: mariadb-10.5
Version: 1:10.5.5-1~exp1
Severity: serious
Justification: fails to build from source
User: debian-x32 at lists.debian.org
Usertags: x32

After uploading the latest mariadb-10.5 I noticed it fails to build.
However, mariadb-10.4 built just fine on x32.

The failure is:
************
[ 48%] Building CXX object
storage/innobase/CMakeFiles/innobase_embedded.dir/ut/ut0crc32.cc.o
cd /<<PKGBUILDDIR>>/builddir/storage/innobase &&
/usr/bin/x86_64-linux-gnux32-g++ -DBTR_CUR_ADAPT -DBTR_CUR_HASH_ADAPT
-DCOMPILER_HINTS -DDBUG_TRACE -DEMBEDDED_LIBRARY
-DHAVE_C99_INITIALIZERS -DHAVE_CONFIG_H
-DHAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE=1 -DHAVE_IB_LINUX_FUTEX=1
-DHAVE_LZ4=1 -DHAVE_LZ4_COMPRESS_DEFAULT=1 -DHAVE_NANOSLEEP=1
-DHAVE_SCHED_GETCPU=1 -DHAVE_SNAPPY=1 -DLINUX_NATIVE_AIO=1
-DMUTEX_EVENT -DWITH_INNODB_DISALLOW_WRITES -D_FILE_OFFSET_BITS=64
-I/<<PKGBUILDDIR>>/wsrep-lib/include
-I/<<PKGBUILDDIR>>/wsrep-lib/wsrep-API/v26
-I/<<PKGBUILDDIR>>/builddir/include
-I/<<PKGBUILDDIR>>/storage/innobase/include
-I/<<PKGBUILDDIR>>/storage/innobase/handler
-I/<<PKGBUILDDIR>>/libbinlogevents/include -I/<<PKGBUILDDIR>>/tpool
-I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/sql
-I/<<PKGBUILDDIR>>/builddir/extra/wolfssl
-I/<<PKGBUILDDIR>>/extra/wolfssl/wolfssl
-I/<<PKGBUILDDIR>>/extra/wolfssl/wolfssl/wolfssl -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pie
-fPIC -fstack-protector --param=ssp-buffer-size=4 -Wconversion
-Wno-sign-conversion -O2 -g -static-libgcc -fno-omit-frame-pointer
-fno-strict-aliasing -Wno-uninitialized -fno-omit-frame-pointer
-D_FORTIFY_SOURCE=2 -DDBUG_OFF -Wall -Wextra -Wformat-security
-Wno-format-truncation -Wno-init-self -Wno-nonnull-compare
-Wno-unused-parameter -Woverloaded-virtual -Wnon-virtual-dtor -Wvla
-Wwrite-strings   -Wdate-time -D_FORTIFY_SOURCE=2 -DUNIV_LINUX
-D_GNU_SOURCE=1 -DHAVE_OPENSSL -DHAVE_WOLFSSL  -DWOLFSSL_USER_SETTINGS
-fPIC -fvisibility=hidden -std=gnu++11 -o
CMakeFiles/innobase_embedded.dir/ut/ut0crc32.cc.o -c
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc: Assembler messages:
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
/<<PKGBUILDDIR>>/storage/innobase/ut/ut0crc32.cc:167: Error: operand
size mismatch for `crc32'
make[4]: *** [storage/innobase/CMakeFiles/innobase_embedded.dir/build.make:1499:
storage/innobase/CMakeFiles/innobase_embedded.dir/ut/ut0crc32.cc.o]
Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
make[3]: *** [CMakeFiles/Makefile2:5499:
storage/innobase/CMakeFiles/innobase_embedded.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
************



More information about the pkg-mysql-maint mailing list