On Tue, 12 Mar 2019, Hans-Peter Nilsson wrote: > When is it appropriate to make the user add -latomic to link > their program? Perhaps different answers for fortran and C++. > I'm guessing "always when using any atomic construct" for C.
I think we should link with --as-needed -latomic --no-as-needed by default when --as-needed is supported (see bug 81358). -- Joseph S. Myers jos...@codesourcery.com