From a571b2b955c5fac8e0dcd1fc75c5401a36448d0d Mon Sep 17 00:00:00 2001 From: Julian Date: Mon, 28 Oct 2024 09:15:33 -0400 Subject: [PATCH] Set AIX executables to have exempt SED status Customers complained IBM SDK8 has this status, but Semeru Runtimes don't, such that they cannot run Semeru Runtimes on their systems when migrating from IBM SDK8. This is a temporary fix without any other impacts, while we are investigating a complete solution for a larger issue (HugePages are not used for codeCache even though proper -Xlp option is specified). Signed-off-by: Julian --- make/autoconf/flags-ldflags.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make/autoconf/flags-ldflags.m4 b/make/autoconf/flags-ldflags.m4 index b0bdbb7412a..d0c6d0351e7 100644 --- a/make/autoconf/flags-ldflags.m4 +++ b/make/autoconf/flags-ldflags.m4 @@ -27,7 +27,7 @@ # # =========================================================================== -# (c) Copyright IBM Corp. 2019, 2019 All Rights Reserved +# (c) Copyright IBM Corp. 2019, 2024 All Rights Reserved # =========================================================================== AC_DEFUN([FLAGS_SETUP_LDFLAGS], @@ -87,7 +87,7 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER], -fPIC" elif test "x$TOOLCHAIN_TYPE" = xxlc; then - BASIC_LDFLAGS="-b64 -brtl -bnolibpath -bexpall -bernotok -btextpsize:64K \ + BASIC_LDFLAGS="-b64 -brtl -bnolibpath -bexpall -bernotok -brwexec_must -btextpsize:64K \ -bdatapsize:64K -bstackpsize:64K" # libjvm.so has gotten too large for normal TOC size; compile with qpic=large and link with bigtoc BASIC_LDFLAGS_JVM_ONLY="-Wl,-lC_r -bbigtoc"