Skip to content
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 1 changed file with 1 addition and 1 deletion.
@@ -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

1 comment on commit a3eec39

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on a3eec39 Nov 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.