https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104338

rvalue <i at rvalue dot moe> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |i at rvalue dot moe

--- Comment #4 from rvalue <i at rvalue dot moe> ---
In short term, maybe we can change the spec to link against libatomic by
default (implemented in
https://github.com/riscv-collab/riscv-gcc/commit/2c4857d0981501b7c50bbf228de9e287611f8ae5).
It will solve a lot of build errors if we revert the value of `LIB_SPEC`
instead of only link against libatomic when `-pthread` is present.

Detailed talk about this: https://github.com/riscv-collab/riscv-gcc/issues/337

Reply via email to