[debian-mysql] Bug#1024041: mariadb-10.6: FTBFS on riscv64: rocksdb/db/memtable.cc:129: undefined reference to `__atomic_compare_exchange_1'
Bo YU
tsu.yubo at gmail.com
Mon Nov 14 02:46:40 GMT 2022
Hi,
On Sun, Nov 13, 2022 at 02:49:13PM -0800, Otto Kekäläinen wrote:
>Source: mariadb-10.6
>Version: 1:10.6.9-1
>Tags: upstream, confirmed, ftbfs
>User: debian-riscv at lists.debian.org
>Usertags: riscv64, riscv
>X-Debbugs-CC: debian-riscv at lists.debian.org
>
>After upload of mariadb-10.6 1:10.6.9-1 I noticed that riscv64 builds
>at https://buildd.debian.org/status/package.php?p=mariadb-10.6 were
>failing:
>
>************************************************************************************
...
>/usr/bin/ld: /usr/include/c++/12/bits/atomic_base.h:523: undefined
>reference to `__atomic_compare_exchange_1'
>/usr/bin/ld: librocksdblib.a(memtable.cc.o):/usr/include/c++/12/bits/atomic_base.h:523:
>more undefined references to `__atomic_compare_exchange_1' follow
...
>storage/sphinx/CMakeFiles/sphinx.dir/snippets_udf.cc.o -MF
>CMakeFiles/sphinx.dir/snippets_udf.cc.o.d -o
>CMakeFiles/sphinx.dir/snippets_udf.cc.o -c
>/<<PKGBUILDDIR>>/storage/sphinx/snippets_udf.cc
>collect2: error: ld returned 1 exit status
>make[4]: *** [storage/rocksdb/CMakeFiles/sst_dump.dir/build.make:105:
>storage/rocksdb/sst_dump] Error 1
>make[4]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
>make[3]: *** [CMakeFiles/Makefile2:7827:
>storage/rocksdb/CMakeFiles/sst_dump.dir/all] Error 2
>************************************************************************************
>
>This is a regression as riscv64 builds used to work on MariaD 10.6.8-1:
>https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.6&arch=riscv64&ver=1%3A10.6.8-1&stamp=1653304190&raw=0
This build failure due to atomic issue on riscv64. Now we have a lot of
packages has the issue. While waiting for the gcc patch(can be
backported is ok also), we are also thinking of a better solution to
sove the issue from a broader perspective.
For mariadb-10.6-1:10.6.10-1, I will test the patch and it will be sent
if everything is ok.
PS: I remerber try to build it with fixed the issue, but still fail due to
another issue.
--
Regards,
--
Bo YU
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20221114/b0aca218/attachment-0003.sig>
More information about the pkg-mysql-maint
mailing list