8227171: provide function names in native stack trace on aix with xlc16
Reviewed-by: stuefe
--- a/make/autoconf/flags-cflags.m4 Thu Jul 04 09:12:21 2019 +0200
+++ b/make/autoconf/flags-cflags.m4 Wed Jul 03 13:34:10 2019 +0200
@@ -576,8 +576,9 @@
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
# Suggested additions: -qsrcmsg to get improved error reporting
- TOOLCHAIN_CFLAGS_JDK="-qchars=signed -qfullpath -qsaveopt -qstackprotect" # add on both CFLAGS
- TOOLCHAIN_CFLAGS_JVM="-qtune=balanced \
+ # set -qtbtable=full for a better traceback table/better stacks in hs_err when xlc16 is used
+ TOOLCHAIN_CFLAGS_JDK="-qtbtable=full -qchars=signed -qfullpath -qsaveopt -qstackprotect" # add on both CFLAGS
+ TOOLCHAIN_CFLAGS_JVM="-qtbtable=full -qtune=balanced \
-qalias=noansi -qstrict -qtls=default -qlanglvl=c99vla \
-qlanglvl=noredefmac -qnortti -qnoeh -qignerrno -qstackprotect"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then