提交 d8360f99 编写于 作者: S stuefe

8196488: [aix] TOC overflow for libjvm.so in fastdebug build

Reviewed-by: goetz, mbaesken, erikj
上级 2aeb6e40
...@@ -1030,9 +1030,9 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER], ...@@ -1030,9 +1030,9 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER],
-qalias=noansi -qstrict -qtls=default -qlanglvl=c99vla \ -qalias=noansi -qstrict -qtls=default -qlanglvl=c99vla \
-qlanglvl=noredefmac -qnortti -qnoeh -qignerrno" -qlanglvl=noredefmac -qnortti -qnoeh -qignerrno"
# We need '-qminimaltoc' or '-qpic=large -bbigtoc' if the TOC overflows. # We need '-qminimaltoc' or '-qpic=large -bbigtoc' if the TOC overflows.
# Hotspot now overflows its 64K TOC (currently only for slowdebug), # Hotspot now overflows its 64K TOC (currently only for debug),
# so for slowdebug we build with '-qpic=large -bbigtoc'. # so for debug we build with '-qpic=large -bbigtoc'.
if test "x$DEBUG_LEVEL" = xslowdebug; then if test "x$DEBUG_LEVEL" = xslowdebug || test "x$DEBUG_LEVEL" = xfastdebug; then
$2JVM_CFLAGS="[$]$2JVM_CFLAGS -qpic=large" $2JVM_CFLAGS="[$]$2JVM_CFLAGS -qpic=large"
fi fi
elif test "x$OPENJDK_$1_OS" = xbsd; then elif test "x$OPENJDK_$1_OS" = xbsd; then
...@@ -1284,9 +1284,9 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER], ...@@ -1284,9 +1284,9 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK_HELPER],
$2LDFLAGS_JDK="${$2LDFLAGS_JDK} $LDFLAGS_XLC" $2LDFLAGS_JDK="${$2LDFLAGS_JDK} $LDFLAGS_XLC"
$2JVM_LDFLAGS="[$]$2JVM_LDFLAGS $LDFLAGS_XLC" $2JVM_LDFLAGS="[$]$2JVM_LDFLAGS $LDFLAGS_XLC"
# We need '-qminimaltoc' or '-qpic=large -bbigtoc' if the TOC overflows. # We need '-qminimaltoc' or '-qpic=large -bbigtoc' if the TOC overflows.
# Hotspot now overflows its 64K TOC (currently only for slowdebug), # Hotspot now overflows its 64K TOC (currently only for debug),
# so for slowdebug we build with '-qpic=large -bbigtoc'. # so we build with '-qpic=large -bbigtoc'.
if test "x$DEBUG_LEVEL" = xslowdebug; then if test "x$DEBUG_LEVEL" = xslowdebug || test "x$DEBUG_LEVEL" = xfastdebug; then
$2JVM_LDFLAGS="[$]$2JVM_LDFLAGS -bbigtoc" $2JVM_LDFLAGS="[$]$2JVM_LDFLAGS -bbigtoc"
fi fi
fi fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册