summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/1402-hotspot-aarch64-remaining-musl-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/1402-hotspot-aarch64-remaining-musl-fixes.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-8/1402-hotspot-aarch64-remaining-musl-fixes.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/1402-hotspot-aarch64-remaining-musl-fixes.patch b/recipes-core/openjdk/patches-openjdk-8/1402-hotspot-aarch64-remaining-musl-fixes.patch
new file mode 100644
index 0000000..2aafd82
--- /dev/null
+++ b/recipes-core/openjdk/patches-openjdk-8/1402-hotspot-aarch64-remaining-musl-fixes.patch
@@ -0,0 +1,37 @@
1From 033183cd3598ff8ba4a40ef529dfad89c6226ca6 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
3Date: Tue, 27 Feb 2018 15:33:17 +0000
4Subject: [PATCH 1402/1402] hotspot/aarch64: remaining musl fixes
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-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
14Upstream-Status: Inappropriate [OE specific]
15
16Signed-off-by: André Draszik <andre.draszik@jci.com>
17Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
18---
19 src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --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
23index 27dcbfa97..33779ae57 100644
24--- a/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp
25+++ b/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp
26@@ -72,7 +72,7 @@
27 # include <pwd.h>
28 # include <poll.h>
29 # include <ucontext.h>
30-# include <fpu_control.h>
31+# include <linux/types.h> /* provides __u64 */
32
33 #define REG_FP 29
34
35--
362.26.2
37