Package: opendht
Version: 2.1.1-1
Severity: wishlist

I had a look at the build failure on RISC-V, as reported by the
autobuilders[1], and the problem seem to be that -latomic is not used
during linking.

 [1] <URL: https://buildd.debian.org/status/package.php?p=opendht >

A similar problem is reported against aktualizr on github[2], which in
turn link to a riscv-gnu-toolchain issue[3] suggesting that every use of
'include <atomic>' should be accompanied by -latomic to the linker.

  [2] <URL: https://github.com/advancedtelematic/aktualizr/issues/1427
  [3] <URL: 
https://github.com/riscv/riscv-gnu-toolchain/issues/183#issuecomment-253721765 >

Setting severity to wishlist as the RISC-V architecture is not a release
architecture.

A similar problem exist with restinio[4], for a different set of atomic
operations, and for this issue I found a cmake recipe/patch[5] that
might be useful to look at when trying to fix opendht too.

 [4] <URL: https://buildd.debian.org/status/package.php?p=restinio&suite=sid >
 [5] <URL: https://github.com/kimwalisch/primesieve/pull/46 >.

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to