summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Build/2023-09-07-19-58-05.gh-issue-109054.5r3S3l.rst
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.13.0a1v3.13.0a1Thomas Wouters2023-10-131-6/+0
|
* gh-109054: configure checks if libatomic is needed (#109101)Victor Stinner2023-09-081-0/+6
Fix building the _testcapi extension on Linux AArch64 which requires linking to libatomic when <cpython/pyatomic.h> is used: the _Py_atomic_or_uint64() function requires libatomic __atomic_fetch_or_8() on this platform. The configure script now checks if linking to libatomic is needed and generates a new LIBATOMIC variable used to build the _testcapi extension. Building the _testcapi extension now uses the LIBATOMIC variable in its LDFLAGS, since Modules/_testcapi/pyatomic.c uses <cpython/pyatomic.h>. Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>