Skip to content
Permalink
Browse files
8238960: linux-i586 builds are inconsistent as the newly build jdk is…
… not able to reserve enough space for object heap

Reviewed-by: ihse, tbell, ahgross, jwilhelm
  • Loading branch information
erikj79 committed Feb 20, 2020
1 parent 5fff050 commit 7e20cf75f9583f58cd5f9e20675d450666e10526
Showing 1 changed file with 6 additions and 1 deletion.
@@ -151,7 +151,12 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
# Setup LDFLAGS for linking executables
if test "x$TOOLCHAIN_TYPE" = xgcc; then
EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-shlib-undefined -pie"
EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-shlib-undefined"
# Enabling pie on 32 bit builds prevents the JVM from allocating a continuous
# java heap.
if test "x$OPENJDK_TARGET_CPU_BITS" != "x32"; then
EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -pie"
fi
fi
if test "x$ALLOW_ABSOLUTE_PATHS_IN_OUTPUT" = "xfalse"; then

0 comments on commit 7e20cf7

Please sign in to comment.