[debian-mysql] Bug#1024041: mariadb-10.6: FTBFS on riscv64: rocksdb/db/memtable.cc:129: undefined reference to `__atomic_compare_exchange_1'
Otto Kekäläinen
otto at debian.org
Tue Feb 7 16:30:20 GMT 2023
For the record, the recent build
https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=riscv64&ver=1%3A10.11.1-3&stamp=1675655686&raw=0
failed with:
[ 11%] Building C object
libmariadb/unittest/libmariadb/CMakeFiles/misc.dir/misc.c.o
cd /<<PKGBUILDDIR>>/builddir/libmariadb/unittest/libmariadb &&
/usr/bin/cc -DHAVE_CONFIG_H -DHAVE_EMBEDDED -DHAVE_OPENSSL
-DHAVE_REMOTEIO=1 -DHAVE_TLS -DLIBMARIADB
-DMARIADB_MACHINE_TYPE=\"riscv64\" -DMARIADB_SYSTEM_TYPE=\"Linux\"
-D_FILE_OFFSET_BITS=64 -I/<<PKGBUILDDIR>>/builddir/libmariadb/include
-I"/<<PKGBUILDDIR>>/libmariadb/-isystem /usr/include/mit-krb5"
-I/<<PKGBUILDDIR>>/libmariadb/plugins/auth
-I/<<PKGBUILDDIR>>/libmariadb/include
-I/<<PKGBUILDDIR>>/libmariadb/plugins/compress
-I/<<PKGBUILDDIR>>/libmariadb/plugins/pvio
-I/<<PKGBUILDDIR>>/libmariadb/unittest/mytap
-I/<<PKGBUILDDIR>>/libmariadb/unittest/libmariadb -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time
-D_FORTIFY_SOURCE=2 -pie -fPIC -fstack-protector
--param=ssp-buffer-size=4 -Wunused -Wlogical-op -Wno-uninitialized
-Wall -Wextra -Wformat-security -Wno-init-self -Wwrite-strings
-Wshift-count-overflow -Wdeclaration-after-statement -Wno-undef
-Wno-unknown-pragmas -O2 -g -static-libgcc -fno-omit-frame-pointer
-fno-strict-aliasing -Wno-uninitialized -fno-omit-frame-pointer
-D_FORTIFY_SOURCE=2 -DDBUG_OFF -Wall -Wdeclaration-after-statement
-Wenum-compare -Wenum-conversion -Wextra -Wformat-security
-Wmissing-braces -Wno-format-truncation -Wno-init-self
-Wno-nonnull-compare -Wno-unused-parameter -Wvla -Wwrite-strings
-DDBUG_OFF -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99 -MD -MT
libmariadb/unittest/libmariadb/CMakeFiles/misc.dir/misc.c.o -MF
CMakeFiles/misc.dir/misc.c.o.d -o CMakeFiles/misc.dir/misc.c.o -c
/<<PKGBUILDDIR>>/libmariadb/unittest/libmariadb/misc.c
/<<PKGBUILDDIR>>/storage/rocksdb/rocksdb/db/range_tombstone_fragmenter.cc:439:1:
internal compiler error: Segmentation fault
439 | } // namespace ROCKSDB_NAMESPACE
| ^
0xde8813 internal_error(char const*, ...)
???:0
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-12/README.Bugs> for instructions.
However, on a rebuild it passed:
https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=riscv64&ver=1%3A10.11.1-3&stamp=1675701158&raw=0
More information about the pkg-mysql-maint
mailing list