Bug#1093752: coot: fix ftbfs on riscv64 and mips64el
Bo YU
tsu.yubo at gmail.com
Wed Jan 22 07:51:38 GMT 2025
Source: coot
Version: 1.1.09+dfsg-3
Severity: important
Tags: ftbfs patch
User: debian-riscv at lists.debian.org
Usertags: riscv64
User: debian-mips at lists.debian.org
Usertags: mips64el
X-Debbugs-Cc: debian-riscv at lists.debian.org, debian-mips at lists.debian.org
Dear Maintainer,
coot has FTBFS issues on riscv64 and mips64el due to atomic issue:
```
...
/usr/bin/ld: mini-rsr.o: in function `bool boost::lockfree::queue<std::function<void (int)>*>::pop<std::function<void (int)>*>(std::function<void (int)>*&)':
/usr/include/boost/lockfree/queue.hpp:448:(.text._ZN5boost8lockfree5queueIPSt8functionIFviEEJEE3popIS5_EEbRT_[_ZN5boost8lockfree5queueIPSt8functionIFviEEJEE3popIS5_EEbRT_]+0xfa): undefined reference to `__atomic_compare_exchange_16'
collect2: error: ld returned 1 exit status
...
```
See https://buildd.debian.org/status/fetch.php?pkg=coot&arch=mips64el&ver=1.1.09%2Bdfsg-3&stamp=1736993525&raw=0
and https://buildd.debian.org/status/fetch.php?pkg=coot&arch=riscv64&ver=1.1.09%2Bdfsg-3&stamp=1737361754&raw=0
The workaround is to link libatomic explicitly and I have tested it on
riscv64 but no test on mips64el.
Please let me know if any issues.
--
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/debian-science-maintainers/attachments/20250122/4bd580b4/attachment.sig>
More information about the debian-science-maintainers
mailing list