Bug#962917: libatomic-ops: FTBFS in the testsuite on riscv64 due to missing -pthread

2020-06-22 Thread Karsten Merker
On Sat, Jun 20, 2020 at 12:20:14AM +0300, Ivan Maidanski wrote: > Please disregard my previous patch, and use the following one: > https://github.com/ivmai/libatomic_ops/commit/f067c258d5df3dc364857c11718be4516ca73ea0.patch >   > Karsten, could you please test it? Hello, will do, but it will

Bug#962917: libatomic-ops: FTBFS in the testsuite on riscv64 due to missing -pthread

2020-06-19 Thread Ivan Maidanski
Please disregard my previous patch, and use the following one: https://github.com/ivmai/libatomic_ops/commit/f067c258d5df3dc364857c11718be4516ca73ea0.patch   Karsten, could you please test it?   Regards, Ivan

Bug#962917: Re[2]: Bug#962917: libatomic-ops: FTBFS in the testsuite on riscv64 due to missing -pthread

2020-06-19 Thread Ivan Maidanski
At the same time, I checked clang for riscv (64-bit) without patch — it works, e.g.:   unsigned /**/ short AO_char_fetch_and_add( volatile   unsigned /**/ short  *addr,  unsigned /**/ short  incr) {    return  __atomic_fetch_add(addr, incr, __ATOMIC_RELEASE); }   ->  

Bug#962917: libatomic-ops: FTBFS in the testsuite on riscv64 due to missing -pthread

2020-06-19 Thread Ivan Maidanski
Hello Karsten,   Please test the attached patch. (I have not tested it on riscv)   Regards, Ivan     riscv64-fix-missing-byte-short-primitives.diff Description: Binary data

Bug#962917: libatomic-ops: FTBFS in the testsuite on riscv64 due to missing -pthread

2020-06-18 Thread Ivan Maidanski
It would to solve the issue by adding -pthread because pthread-based implementation is not lock-free.   I have created the issue in upstream ( https://github.com/ivmai/libatomic_ops/issues/46 ). By design of libatomic_ops, if a particular operation (e.g.  __atomic_compare_exchange_1) is not

Bug#962917: libatomic-ops: FTBFS in the testsuite on riscv64 due to missing -pthread

2020-06-17 Thread Karsten Merker
control: severity 962917 important control: tags 962917 patch On Tue, Jun 16, 2020 at 12:40:52AM +0200, Karsten Merker wrote: > libatomic-ops FTBFS on riscv64 due to link failures in the > testsuite. The build log is available at > > >

Bug#962917: libatomic-ops: FTBFS in the testsuite on riscv64 due to missing -pthread

2020-06-15 Thread Karsten Merker
Source: libatomic-ops Version: 7.6.10-1 User: debian-ri...@lists.debian.org 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=riscv64=7.6.10-1=1588631725=0