Bug#897068: openjdk-8: Please include patch to fix Zero on ia64
John Paul Adrian Glaubitz <[email protected]>
| Newsgroups | gmane.linux.debian.ports.ia64 |
|---|---|
| Message-ID | <152486707725.10551.16588029332502404245.reportbug__41643.1535072208$1524868113$gmane$org@z6.physik.fu-berlin.de> |
Source: openjdk-8 Version: 8u162-b12-1 Severity: normal Tags: patch User: [email protected] Usertags: ia64 Hi! As promised in #897066, here's a patch to fix the Zero build on ia64. Just copy it to debian/patches and add it to the patch list in debian/rules. I'm bootstrapping openjdk-8 for ia64 now. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - [email protected] `. `' Freie Universitaet Berlin - [email protected] `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
hotspot-ia64.diff
(text/plain, 667 B)
--- openjdk/hotspot/src/share/vm/runtime/os.cpp 2018-03-19 19:46:40.000000000 +0100
+++ openjdk/hotspot/src/share/vm/runtime/os.cpp 2018-04-27 23:22:22.321348018 +0200
@@ -1038,7 +1038,7 @@
// if C stack is walkable beyond current frame. The check for fp() is not
// necessary on Sparc, but it's harmless.
bool os::is_first_C_frame(frame* fr) {
-#if (defined(IA64) && !defined(AIX)) && !defined(_WIN32)
+#if (defined(IA64) && !defined(AIX)) && !defined(_WIN32) && !defined(LINUX)
// On IA64 we have to check if the callers bsp is still valid
// (i.e. within the register stack bounds).
// Notice: this only works for threads created by the VM and only if