Skip to content

Commit 792a2ea

Browse files
committed
Disable ASLR on Windows, for now.
1 parent 9f6d27c commit 792a2ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc/back/link.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,8 @@ fn link_args(cmd: &mut Command,
10141014
cmd.arg("-Wl,--nxcompat");
10151015

10161016
// Mark all dynamic libraries and executables as compatible with ASLR
1017-
cmd.arg("-Wl,--dynamicbase");
1017+
// FIXME #17098: ASLR breaks gdb
1018+
// cmd.arg("-Wl,--dynamicbase");
10181019

10191020
// Mark all dynamic libraries and executables as compatible with the larger 4GiB address
10201021
// space available to x86 Windows binaries on x86_64.

0 commit comments

Comments
 (0)