https://github.com/python/cpython/commit/793293dcb944c0d71824e9a9a2548ece304e4e2f commit: 793293dcb944c0d71824e9a9a2548ece304e4e2f branch: 3.13 author: Donghee Na <donghee...@python.org> committer: corona10 <donghee.n...@gmail.com> date: 2025-04-11T06:52:46-07:00 summary:
[3.13] gh-130834: Fix free-threaded build with JIT for aarch64 linux (#132368) * [3.13] gh-130834: Fix free-threaded build with JIT for arm * lint files: M Tools/jit/_targets.py diff --git a/Tools/jit/_targets.py b/Tools/jit/_targets.py index 50b5d923a355ce..fb30bdb774a33b 100644 --- a/Tools/jit/_targets.py +++ b/Tools/jit/_targets.py @@ -525,7 +525,12 @@ def get_target(host: str) -> _COFF | _ELF | _MachO: args = ["-fms-runtime-lib=dll"] target = _COFF(host, alignment=8, args=args) elif re.fullmatch(r"aarch64-.*-linux-gnu", host): - args = ["-fpic"] + args = [ + "-fpic", + # On aarch64 Linux, intrinsics were being emitted and this flag + # was required to disable them. + "-mno-outline-atomics", + ] target = _ELF(host, alignment=8, args=args) elif re.fullmatch(r"i686-pc-windows-msvc", host): args = ["-DPy_NO_ENABLE_SHARED"] _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com