]> git.lizzy.rs Git - rust.git/commitdiff
Disable ASLR on Windows, for now.
authorVadim Chugunov <vadimcn@gmail.com>
Tue, 9 Sep 2014 01:00:54 +0000 (18:00 -0700)
committerVadim Chugunov <vadimcn@gmail.com>
Wed, 10 Sep 2014 23:52:21 +0000 (16:52 -0700)
src/librustc/back/link.rs

index bf026560c6afd9ccfb552919ac27abd1d7619a54..63a8e9d13b882af8d5e661cd092ca35dbb0b9daf 100644 (file)
@@ -1014,7 +1014,8 @@ fn link_args(cmd: &mut Command,
         cmd.arg("-Wl,--nxcompat");
 
         // Mark all dynamic libraries and executables as compatible with ASLR
-        cmd.arg("-Wl,--dynamicbase");
+        // FIXME #17098: ASLR breaks gdb
+        // 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.