Re: meta-riscv: building curl, "undefined reference to '__atomic_exchange_1'
On Thu, Jul 7, 2022 at 1:06 PM Robert P. J. Day <rpjday@...> wrote:
this would mean that you want to rely on side effects of -pthread which may work with gcc but may not work with clang or other compiler drivers. The issue you have is that some variables are needing atomics and solution is either you link with libatomic or avoid using the code which needs them https://blog.jiejiss.com/A-RISC-V-gcc-pitfall-revealed-by-a-glibc-update/ |
|