diff options
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8')
| -rw-r--r-- | recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch64.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch64.patch b/recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch64.patch new file mode 100644 index 0000000..436f012 --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch64.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From 8e8e79c136fe56db119fd9a76fb881e96727c840 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | ||
| 3 | Date: Tue, 27 Feb 2018 15:33:17 +0000 | ||
| 4 | Subject: [PATCH] hotspot: remaining musl fixes (aarch64) | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | * fpu_control.h doesn't exist in musl | ||
| 10 | | hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp:78:11: fatal error: fpu_control.h: No such file or directory | ||
| 11 | | # include <fpu_control.h> | ||
| 12 | | ^~~~~~~~~~~~~~~ | ||
| 13 | |||
| 14 | Upstream-Status: Inappropriate [OE specific] | ||
| 15 | Signed-off-by: André Draszik <andre.draszik@jci.com> | ||
| 16 | --- | ||
| 17 | hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp | 2 +- | ||
| 18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 19 | |||
| 20 | diff --git a/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp b/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp | ||
| 21 | index 8b985693..23f196cd 100644 | ||
| 22 | --- a/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp | ||
| 23 | +++ b/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp | ||
| 24 | @@ -75,7 +75,7 @@ | ||
| 25 | # include <pwd.h> | ||
| 26 | # include <poll.h> | ||
| 27 | # include <ucontext.h> | ||
| 28 | -# include <fpu_control.h> | ||
| 29 | +# include <linux/types.h> /* provides __u64 */ | ||
| 30 | |||
| 31 | #ifdef BUILTIN_SIM | ||
| 32 | #define REG_SP REG_RSP | ||
| 33 | -- | ||
| 34 | 2.16.1 | ||
| 35 | |||
