Best practice for linking against libatomic?

Simon Richter Simon.Richter@hogyros.de
Tue Jan 13 13:30:03 GMT 2026


Hi,

On 1/13/26 7:41 PM, Florian Weimer wrote:

>> Wasn't this issue resolved when libatomic calls started to be inlined
>> (GCC 13)? See:
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104338

> Oh, right.  So that's why there are only sizes 1 & 2.  This suggests
> that there are outdated binaries in the link.

Yes, gcc 12 is involved here.

Is that the only compiler we need to worry about (i.e. we ignore the 
problem and wait for it to go away once Debian bookworm is unsupported), 
or does it still make sense for packages to provide an appropriate 
configure script?

    Simon


More information about the Gcc-help mailing list