forked from sailfishos/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
/
0007-Disable-aarch64-outline-atomics-for-now.patch
31 lines (27 loc) · 1.3 KB
/
0007-Disable-aarch64-outline-atomics-for-now.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matti=20Lehtim=C3=A4ki?= <[email protected]>
Date: Wed, 18 Jan 2023 20:13:21 +0200
Subject: [PATCH] Disable aarch64 outline atomics for now.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The feature causes linking problems.
Signed-off-by: Matti Lehtimäki <[email protected]>
---
.../rustc_target/src/spec/targets/aarch64_unknown_linux_gnu.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/rustc_target/src/spec/targets/aarch64_unknown_linux_gnu.rs b/compiler/rustc_target/src/spec/targets/aarch64_unknown_linux_gnu.rs
index c0b07db3818..b8f240295be 100644
--- a/compiler/rustc_target/src/spec/targets/aarch64_unknown_linux_gnu.rs
+++ b/compiler/rustc_target/src/spec/targets/aarch64_unknown_linux_gnu.rs
@@ -7,7 +7,7 @@ pub fn target() -> Target {
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".into(),
arch: "aarch64".into(),
options: TargetOptions {
- features: "+v8a,+outline-atomics".into(),
+ features: "+v8a".into(),
mcount: "\u{1}_mcount".into(),
max_atomic_width: Some(128),
supported_sanitizers: SanitizerSet::ADDRESS
--
2.43.0