Re: [PATCH] riscv: Don't add -latomic with -pthread

2023-05-03 Thread Kito Cheng via Gcc-patches
OK, thanks :) On Wed, May 3, 2023 at 6:55 PM Andreas Schwab via Gcc-patches wrote: > > Now that we have support for inline subword atomic operations, it is no > longer necessary to link against libatomic. This also fixes testsuite > failures because the framework does not properly set up the lin

[PATCH] riscv: Don't add -latomic with -pthread

2023-05-03 Thread Andreas Schwab via Gcc-patches
Now that we have support for inline subword atomic operations, it is no longer necessary to link against libatomic. This also fixes testsuite failures because the framework does not properly set up the linker flags for finding libatomic. The use of atomic operations is also independent of the use