diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2014-10-01 09:38:42 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2014-10-05 19:02:36 -0400 |
| commit | 6bb648fadcc946f7cbce4644c0a7daa73fc0dab8 (patch) | |
| tree | c794c1703c30e79f7cd365c891d73c37ebce7e8e | |
| parent | f56c1c91f39b25aaa6453359c0a1da9269d5238f (diff) | |
| download | rust-6bb648fadcc946f7cbce4644c0a7daa73fc0dab8.tar.gz rust-6bb648fadcc946f7cbce4644c0a7daa73fc0dab8.zip | |
work around yet another MinGW-w64 ASLR bug
| -rw-r--r-- | src/librustc/back/link.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librustc/back/link.rs b/src/librustc/back/link.rs index 0708fdc6eba..1cc60fcdb5e 100644 --- a/src/librustc/back/link.rs +++ b/src/librustc/back/link.rs @@ -1025,10 +1025,10 @@ fn link_args(cmd: &mut Command, cmd.arg("-Wl,--nxcompat"); // Mark all dynamic libraries and executables as compatible with ASLR - // FIXME #17098: ASLR breaks gdb - if sess.opts.debuginfo == NoDebugInfo { - cmd.arg("-Wl,--dynamicbase"); - } + // FIXME #16514: ASLR is disabled on Windows due to MinGW-w64 bugs: + // FIXME #17098: ASLR breaks gdb on Windows + // FIXME #17684: ASLR breaks thread-local storage on Windows + //cmd.arg("-Wl,--dynamicbase"); // Mark all dynamic libraries and executables as compatible with the larger 4GiB address // space available to x86 Windows binaries on x86_64. |
