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 91ae330 commit 114d0bdCopy full SHA for 114d0bd
Tools/jit/_targets.py
@@ -521,7 +521,11 @@ def get_target(host: str) -> _COFF | _ELF | _MachO:
521
args = ["-fms-runtime-lib=dll"]
522
target = _COFF(host, alignment=8, args=args)
523
elif re.fullmatch(r"aarch64-.*-linux-gnu", host):
524
- args = ["-fpic"]
+ args = ["-fpic",
525
+ # On aarch64 Linux, intrinsics were being emitted and this flag
526
+ # was required to disable them.
527
+ "-mno-outline-atomics",
528
+ ]
529
target = _ELF(host, alignment=8, args=args)
530
elif re.fullmatch(r"i686-pc-windows-msvc", host):
531
args = ["-DPy_NO_ENABLE_SHARED"]
0 commit comments