[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
Sat Jan 21 22:27:25 GMT 2023


Control: retitle -1 mariadb: FTBFS on riscv64:
rocksdb/db/memtable.cc:129: undefined reference to
`__atomic_compare_exchange_1' to misc functions and files
Control: reassign -1 mariadb
Control: found -1 mariadb-10.6/1:10.6.9-1
Control: found -1 mariadb/1:10.11.1-1

I reviewed recent builds of the new MariaDB 10.11[1] and similar
failures still exist.

If you have a suggestion for a fix - Merge Requests[2] on Salsa are
very welcome!

[1] https://buildd.debian.org/status/package.php?p=mariadb
[2] https://salsa.debian.org/mariadb-team/mariadb-server/-/wikis/Contributing-to-MariaDB-packaging-in-Debian
> >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.



More information about the pkg-mysql-maint mailing list