[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
Tue Feb 7 14:16:26 GMT 2023
Hi,
On Sun, Feb 5, 2023 at 5:31 PM Otto Kekäläinen <otto at debian.org> wrote:
>
> FYI, this was merged in
> https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/3062888cb67ba22a5e0acaeb3321a06cb7d07ea3
> and uploaded to Debian.
>
> Latest build statuses: https://buildd.debian.org/status/package.php?p=mariadb
Thanks, yeah mariadb has been uploaded some days ago.
>
> Upstream seems to also do their fixes:
> - https://github.com/MariaDB/server/pull/2477
> - https://github.com/MariaDB/server/pull/2472
>
> What do you think is the best long-term fix?
I agreed with @grooverdan's statement here. The upstream fix is better
for a long term.
The ld flags was added for the entire build by hand were robust and not elegant.
Because we have many packages that need to deal with the same issue,
so sometime
we choose the directly, simple way but rude way to fix it. Sorry
again. I know this is a workaround
if gcc supports libatomic link the flags were removed without effort.
But for upstream fix, we don't need
to focus on the issue anymore I think.
BR,
Bo
More information about the pkg-mysql-maint
mailing list