Source: libatomic-ops
Version: 7.6.10-1
User: [email protected]
Usertags: riscv64

Hello,

libatomic-ops FTBFS on riscv64 due to link failures in the
testsuite. The build log is available at

  
https://buildd.debian.org/status/fetch.php?pkg=libatomic-ops&arch=riscv64&ver=7.6.10-1&stamp=1588631725&raw=0

The source of the link failures is that the tests aren't built
with the "-pthread" compiler flag.

Some architectures such as risc64 have native atomics support,
but only for word-sized operands and not for smaller entities. 
When called with "-pthread", gcc automatically links in the
necessary wrapper functions to provide the missing atomic
operations on those architectures, but this doesn't happen when
one just links in libpthread with "-lpthread".

Building the tests with "-pthread" in CFLAGS solves the build
failures. It would be great if you could upload a new version
of the package with a corresponding change.

Regards,
Karsten
-- 
Ich widerspreche hiermit ausdrücklich der Nutzung sowie der
Weitergabe meiner personenbezogenen Daten für Zwecke der Werbung
sowie der Markt- oder Meinungsforschung.

Reply via email to