We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88c1ca9 commit 793293dCopy full SHA for 793293d
Tools/jit/_targets.py
@@ -525,7 +525,12 @@ def get_target(host: str) -> _COFF | _ELF | _MachO:
525
args = ["-fms-runtime-lib=dll"]
526
target = _COFF(host, alignment=8, args=args)
527
elif re.fullmatch(r"aarch64-.*-linux-gnu", host):
528
- args = ["-fpic"]
+ args = [
529
+ "-fpic",
530
+ # On aarch64 Linux, intrinsics were being emitted and this flag
531
+ # was required to disable them.
532
+ "-mno-outline-atomics",
533
+ ]
534
target = _ELF(host, alignment=8, args=args)
535
elif re.fullmatch(r"i686-pc-windows-msvc", host):
536
args = ["-DPy_NO_ENABLE_SHARED"]
0 commit comments