[PATCH 21/22] Define __HAVE_64B_ATOMICS from compiler support
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Thu Nov 13 16:58:34 GMT 2025
On 13/11/25 16:18, Florian Weimer wrote:
> * Stefan Liebler:
>
>> __HAVE_64B_ATOMICS is now defined to 1 on s390 due to new
>> configure-check. Before it was set to 0 in s390-header-file.
>
> We need to revert that, i386 has the same issue:
>
> sysdeps/x86/atomic-machine.h-/* Since the Pentium, i386 CPUs have supported 64-bit atomics, but the
> sysdeps/x86/atomic-machine.h- i386 psABI supplement provides only 4-byte alignment for uint64_t
> sysdeps/x86/atomic-machine.h- inside structs, so it is currently not possible to use 64-bit
> sysdeps/x86/atomic-machine.h- atomics on this platform. */
> sysdeps/x86/atomic-machine.h:# define __HAVE_64B_ATOMICS 0
>
> Thanks,
> Florian
>
Alright, it seems the best strategy to avoid breakages. I will revert it.
More information about the Libc-alpha
mailing list