-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust179: update CKSUM adjustments for openssl* vendor crate patches.
Also set has_thread_local to false for NetBSD/aarch64*, due to NetBSD PR#58154, ref. comments in rust-lang/rust#123551 Verification remains.
- Loading branch information
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
rust179/patches/patch-compiler_rustc__target_spec_targets_aarch64__unknown__netbsd.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
$NetBSD$ | ||
|
||
NetBSD aarch64 has a bug in the thread-local storage implementation, | ||
ref. PR#58154. Turn it off for now. | ||
Ideally should check whether the version has the fix or not, but | ||
e.g. __NetBSD_Version__ isn't easily available here that I know... | ||
|
||
--- compiler/rustc_target/src/spec/targets/aarch64_unknown_netbsd.rs.orig 2024-07-23 19:18:44.116841966 +0000 | ||
+++ compiler/rustc_target/src/spec/targets/aarch64_unknown_netbsd.rs | ||
@@ -17,6 +17,7 @@ pub fn target() -> Target { | ||
mcount: "__mcount".into(), | ||
max_atomic_width: Some(128), | ||
stack_probes: StackProbeType::Inline, | ||
+ has_thread_local: false, // ref. NetBSD PR#58154 | ||
..base::netbsd::opts() | ||
}, | ||
} |
17 changes: 17 additions & 0 deletions
17
...179/patches/patch-compiler_rustc__target_src_spec_targets_aarch64__be__unknown__netbsd.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
$NetBSD$ | ||
|
||
NetBSD aarch64 has a bug in the thread-local storage implementation, | ||
ref. PR#58154. Turn it off for now. | ||
Ideally should check whether the version has the fix or not, but | ||
e.g. __NetBSD_Version__ isn't easily available here that I know... | ||
|
||
--- compiler/rustc_target/src/spec/targets/aarch64_be_unknown_netbsd.rs.orig 2024-07-23 19:21:34.344805113 +0000 | ||
+++ compiler/rustc_target/src/spec/targets/aarch64_be_unknown_netbsd.rs | ||
@@ -18,6 +18,7 @@ pub fn target() -> Target { | ||
max_atomic_width: Some(128), | ||
stack_probes: StackProbeType::Inline, | ||
endian: Endian::Big, | ||
+ has_thread_local: false, // ref. NetBSD PR#58154 | ||
..base::netbsd::opts() | ||
}, | ||
} |