pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

rust176: change stack probing method for i586-unknown-netbsd.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Tue Feb 27 11:19:28 2024 +0000
Changeset:	4973581223406a5e6390fdd7c3c4cb828d214dca

Modified Files:
	rust176/distinfo
Added Files:
	rust176/patches/patch-compiler_rustc__target_src_spec_targets_i586__unknown__netbsd.rs

Log Message:
rust176: change stack probing method for i586-unknown-netbsd.

Ref.
https://github.com/rust-lang/rust/pull/120411

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4973581223406a5e6390fdd7c3c4cb828d214dca

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rust176/distinfo                                         |  1 +
 ...stc__target_src_spec_targets_i586__unknown__netbsd.rs | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diffs:
diff --git a/rust176/distinfo b/rust176/distinfo
index 18a5715c16..4db71ceee0 100644
--- a/rust176/distinfo
+++ b/rust176/distinfo
@@ -118,6 +118,7 @@ SHA1 (patch-compiler_rustc__codegen__ssa_src_back_linker.rs) = 62819cf6db7d2e3e7
 SHA1 (patch-compiler_rustc__llvm_build.rs) = a4a66d449fc9eb99d648d02a041778a68f4f7ce8
 SHA1 (patch-compiler_rustc__target_src_spec_base_netbsd.rs) = 7fb6ec6d45a9bf4525c675390117e9e61b8023cd
 SHA1 (patch-compiler_rustc__target_src_spec_mod.rs) = a22b5d28997ed9a5565deec9c34322165d563d00
+SHA1 (patch-compiler_rustc__target_src_spec_targets_i586__unknown__netbsd.rs) = 8dff96d99e5f774adeb7c41eabcc3b8737a18b09
 SHA1 (patch-compiler_rustc__target_src_spec_targets_mips64el__unknown__netbsd.rs) = d38c3b43656917e60312a842e6a0c37776bbd5d0
 SHA1 (patch-library_backtrace_src_symbolize_gimli.rs) = 1ab343595e65ff6348f83cffc30e53d764485ff8
 SHA1 (patch-library_backtrace_src_symbolize_gimli_elf.rs) = 3b84a462c6bc8245d579452e4c37e3ce13314952
diff --git a/rust176/patches/patch-compiler_rustc__target_src_spec_targets_i586__unknown__netbsd.rs b/rust176/patches/patch-compiler_rustc__target_src_spec_targets_i586__unknown__netbsd.rs
new file mode 100644
index 0000000000..c7dc641d12
--- /dev/null
+++ b/rust176/patches/patch-compiler_rustc__target_src_spec_targets_i586__unknown__netbsd.rs
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Change to Inline stack probing, as suggested by
+https://github.com/rust-lang/rust/pull/120411
+
+--- compiler/rustc_target/src/spec/targets/i586_unknown_netbsd.rs.orig	2024-02-26 11:56:11.087253310 +0000
++++ compiler/rustc_target/src/spec/targets/i586_unknown_netbsd.rs
+@@ -4,7 +4,7 @@ pub fn target() -> Target {
+     let mut base = base::netbsd::opts();
+     base.cpu = "pentium".into();
+     base.max_atomic_width = Some(64);
+-    base.stack_probes = StackProbeType::Call;
++    base.stack_probes = StackProbeType::Inline;
+ 
+     Target {
+         llvm_target: "i586-unknown-netbsdelf".into(),


Home | Main Index | Thread Index | Old Index