On Feb 12 2018, Jim Wilson <j...@sifive.com> wrote:
> I don't know the history here, but I do know that the most common atomic
> related bug report we get is for people using pthread, so we were probably
> thinking about that when this was written. But handling the two cases
> differently does look like a bug. I'm OK with a patch that makes it
> unconditional in the LD_AS_NEEDED_OPTION case also. Particularly if you
> have a good case to justify it.
This is needed by jemalloc, which needs -latomic because it uses byte
atomics. It does not know about -pthread.
I haven't yet seen other packages that need this though.
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."