[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1093752: coot: fix ftbfs on riscv64 and mips64el



Source: coot
Version: 1.1.09+dfsg-3
Severity: important
Tags: ftbfs patch
User: debian-riscv@lists.debian.org
Usertags: riscv64
User: debian-mips@lists.debian.org
Usertags: mips64el
X-Debbugs-Cc: debian-riscv@lists.debian.org, debian-mips@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

Attachment: signature.asc
Description: PGP signature


Reply to: