[PATCH 21/22] Define __HAVE_64B_ATOMICS from compiler support

Florian Weimer fweimer@redhat.com
Thu Nov 13 15:18:34 GMT 2025


* 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



More information about the Libc-alpha mailing list