Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8257181: s390x builds are very noisy with gc-sections messages
Reviewed-by: mdoerr, lucy
  • Loading branch information
shipilev committed Nov 27, 2020
1 parent 9a468d8 commit a3eec39b014fe406ed9fb43d72173f4670e8ebea
Showing with 1 addition and 1 deletion.
  1. +1 −1 make/autoconf/flags-ldflags.m4
@@ -70,7 +70,7 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
# Linux : remove unused code+data in link step
if test "x$ENABLE_LINKTIME_GC" = xtrue; then
if test "x$OPENJDK_TARGET_CPU" = xs390x; then
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,--gc-sections -Wl,--print-gc-sections"
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,--gc-sections"
else
BASIC_LDFLAGS_JDK_ONLY="$BASIC_LDFLAGS_JDK_ONLY -Wl,--gc-sections"
fi

0 comments on commit a3eec39

Please sign in to comment.