1.1 --- a/common/autoconf/generated-configure.sh Fri May 25 10:37:07 2018 +0100 1.2 +++ b/common/autoconf/generated-configure.sh Thu May 31 03:58:03 2018 -0400 1.3 @@ -4305,7 +4305,7 @@ 1.4 #CUSTOM_AUTOCONF_INCLUDE 1.5 1.6 # Do not change or remove the following line, it is needed for consistency checks: 1.7 -DATE_WHEN_GENERATED=1527191982 1.8 +DATE_WHEN_GENERATED=1527649790 1.9 1.10 ############################################################################### 1.11 # 1.12 @@ -41654,9 +41654,10 @@ 1.13 LDFLAGS_JDK="${LDFLAGS_JDK} -Xlinker --hash-style=both " 1.14 fi 1.15 if test "x$OPENJDK_TARGET_OS" = xlinux; then 1.16 - # And since we now know that the linker is gnu, then add -z defs, to forbid 1.17 - # undefined symbols in object files. 1.18 - LDFLAGS_JDK="${LDFLAGS_JDK} -Xlinker -z -Xlinker defs" 1.19 + # And since we now know that the linker is gnu, then add: 1.20 + # -z defs, to forbid undefined symbols in object files 1.21 + # -z noexecstack, to mark stack regions as non-executable 1.22 + LDFLAGS_JDK="${LDFLAGS_JDK} -Xlinker -z -Xlinker defs -Xlinker -z -Xlinker noexecstack" 1.23 if test "x$DEBUG_LEVEL" = "xrelease"; then 1.24 # When building release libraries, tell the linker optimize them. 1.25 # Should this be supplied to the OSS linker as well?