Cygwin: disable high-entropy VA for cygcheck and strace
It's not a good idea to enable high-entropy VA for tools loading the
Cygwin DLL dynamically. The addresses used by HEVA tend to collide with
fixed address areas managed by Cygwin.
Fixes: 60675f1a7e
("Cygwin: decouple shared mem regions from Cygwin DLL")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
dc0fe7742b
commit
8d318bf142
|
@ -32,6 +32,7 @@ cygcheck_SOURCES = \
|
||||||
dump_setup.cc \
|
dump_setup.cc \
|
||||||
path.cc
|
path.cc
|
||||||
cygcheck_CPPFLAGS=-I$(srcdir)/.. -idirafter ${top_srcdir}/cygwin/include
|
cygcheck_CPPFLAGS=-I$(srcdir)/.. -idirafter ${top_srcdir}/cygwin/include
|
||||||
|
cygcheck_LDFLAGS = -Wl,--disable-high-entropy-va
|
||||||
cygcheck_LDADD = -lz -lwininet -lpsapi -lntdll
|
cygcheck_LDADD = -lz -lwininet -lpsapi -lntdll
|
||||||
|
|
||||||
cygwin_console_helper_SOURCES = cygwin-console-helper.cc
|
cygwin_console_helper_SOURCES = cygwin-console-helper.cc
|
||||||
|
@ -42,6 +43,7 @@ strace_SOURCES = \
|
||||||
path.cc \
|
path.cc \
|
||||||
strace.cc
|
strace.cc
|
||||||
strace_CPPFLAGS=-I$(srcdir)/.. -idirafter ${top_srcdir}/cygwin/local_includes -idirafter ${top_srcdir}/cygwin/include
|
strace_CPPFLAGS=-I$(srcdir)/.. -idirafter ${top_srcdir}/cygwin/local_includes -idirafter ${top_srcdir}/cygwin/include
|
||||||
|
strace_LDFLAGS = -Wl,--disable-high-entropy-va
|
||||||
strace_LDADD = -lntdll
|
strace_LDADD = -lntdll
|
||||||
|
|
||||||
noinst_PROGRAMS = path-testsuite
|
noinst_PROGRAMS = path-testsuite
|
||||||
|
|
Loading…
Reference in New Issue