[8u] RFR 8256618: Zero: Linux x86_32 build still fails
Aleksey Shipilev
shade at redhat.com
Wed Nov 25 09:23:42 UTC 2020
Original fix:
https://bugs.openjdk.java.net/browse/JDK-8256618
https://github.com/openjdk/jdk/commit/7b3d0958
Unlike 15u and 11u, the fix does not apply to 8u cleanly.
8u variant:
diff -r 9cf4c59c7395 src/os/linux/vm/os_linux.cpp
--- a/src/os/linux/vm/os_linux.cpp Fri Dec 01 17:03:07 2017 +0100
+++ b/src/os/linux/vm/os_linux.cpp Wed Nov 25 10:21:37 2020 +0100
@@ -5177,11 +5177,11 @@
Linux::capture_initial_stack(JavaThread::stack_size_at_create());
-#if defined(IA32)
+#if defined(IA32) && !defined(ZERO)
workaround_expand_exec_shield_cs_limit();
#endif
Linux::libpthread_init();
(Note the original patch and all backports is the concession to build Zero without reshuffling the
relationship between os_linux_zero and os_linux_x86. Alas.)
Testing: Linux x86_32 Zero build
--
Thanks,
-Aleksey
More information about the jdk8u-dev
mailing list