diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-04-04 15:09:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-04 15:09:08 +0200 |
| commit | 31c2f5d228cd662f7696de666ba98732a1d3be08 (patch) | |
| tree | 4918afd2620b6936d875bf1bf7978997ba44cba1 | |
| parent | 4954cae24109973f6c242483f1c1a40cbef7b818 (diff) | |
| parent | 42d652ecd6709b756d95fc42615b166aacd2ea07 (diff) | |
| download | rust-31c2f5d228cd662f7696de666ba98732a1d3be08.tar.gz rust-31c2f5d228cd662f7696de666ba98732a1d3be08.zip | |
Rollup merge of #59686 - crlf0710:disable_gnux32_stackprobe, r=luqmana
Temporarily disable stack probing for gnux32.
| -rw-r--r-- | src/librustc_target/spec/x86_64_unknown_linux_gnux32.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc_target/spec/x86_64_unknown_linux_gnux32.rs b/src/librustc_target/spec/x86_64_unknown_linux_gnux32.rs index 0b2d7aacc4d..73151b194de 100644 --- a/src/librustc_target/spec/x86_64_unknown_linux_gnux32.rs +++ b/src/librustc_target/spec/x86_64_unknown_linux_gnux32.rs @@ -5,7 +5,8 @@ pub fn target() -> TargetResult { base.cpu = "x86-64".to_string(); base.max_atomic_width = Some(64); base.pre_link_args.get_mut(&LinkerFlavor::Gcc).unwrap().push("-mx32".to_string()); - base.stack_probes = true; + // BUG: temporarily workaround #59674 + base.stack_probes = false; base.has_elf_tls = false; // BUG(GabrielMajeri): disabling the PLT on x86_64 Linux with x32 ABI // breaks code gen. See LLVM bug 36743 |
