From 7bab5dabddc858d7213e2d4d453caa90a86d8586 Mon Sep 17 00:00:00 2001 From: bgermann Date: Wed, 25 Oct 2017 00:52:56 +0200 Subject: [PATCH] Disable jemalloc for sparcv9-sun-solaris Similar to #36994, rust programs segfault on SPARC64 Solaris machines. --- src/librustc_back/target/sparcv9_sun_solaris.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_back/target/sparcv9_sun_solaris.rs b/src/librustc_back/target/sparcv9_sun_solaris.rs index bfe1afebdb3..1d9027275db 100644 --- a/src/librustc_back/target/sparcv9_sun_solaris.rs +++ b/src/librustc_back/target/sparcv9_sun_solaris.rs @@ -17,6 +17,7 @@ pub fn target() -> TargetResult { // llvm calls this "v9" base.cpu = "v9".to_string(); base.max_atomic_width = Some(64); + base.exe_allocation_crate = None; Ok(Target { llvm_target: "sparcv9-sun-solaris".to_string(),