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

--- Comment #6 from Jim Wilson <wilson at gcc dot gnu.org> ---
Looking at Alpine Linux discussions, I see that it has a
--enable-autolink-libatomic configure option which links in libatomic by
default.  This could break the libatomic autoconf tests that check to see if
libatomic functions exist, by linking in libatomic when we aren't expecting it.
 The libatomic autoconf tests are really checking to see if the calls get
inline expanded.  They don't want the calls to be satisified by a library. 
They want the calls to be undefined functions if they aren't inline expanded. 
These autoconf tests might need to be rewritten if more distros start linking
in libatomic by default.

Reply via email to