[8u] RFR (XS) 8265832: runtime/StackGap/testme.sh fails to compile in 8u

Severin Gehwolf sgehwolf at redhat.com
Fri Apr 23 11:55:02 UTC 2021


On Fri, 2021-04-23 at 09:44 +0200, Aleksey Shipilev wrote:
diff -r d05490a39074 test/runtime/StackGap/testme.sh
--- a/test/runtime/StackGap/testme.sh   Thu Apr 22 20:27:11 2021+0200
+++ b/test/runtime/StackGap/testme.sh   Fri Apr 23 09:37:01 2021+0200
@@ -65,9 +65,10 @@
  # for /usr/lib/`uname -m`-linux-gnu version ensure to add that part
to below compilation.

  $gcc_cmd -DLINUX ${CFLAGS} -o stack-gap \
      -I${COMPILEJAVA}/include -I${COMPILEJAVA}/include/linux \
      -L${COMPILEJAVA}/jre/lib/${VM_CPU}/${VM_TYPE} \
-    -ljvm -lpthread exestack-gap.c
+    exestack-gap.c \
+    -ljvm -lpthread

  ./stack-gap || exit $?
  ./stack-gap -XX:+DisablePrimordialThreadGuardPages || exit $?

Looks fine.

Thanks,
Severin



More information about the jdk8u-dev mailing list