summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch32.patch
diff options
context:
space:
mode:
authorAndré Draszik <andre.draszik@jci.com>2018-08-22 13:01:42 +0100
committerRichard Leitner <richard.leitner@skidata.com>2018-10-02 07:58:49 +0200
commit75c2622906afba5a53d48fde72dbdef8d81ba05a (patch)
tree72bea95af9d0ba2900c3f5b18d1e98dcee9a852e /recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch32.patch
parentd17c8e8a404c749d3a8c7b72bb8fc7a18cedd0b6 (diff)
downloadmeta-java-75c2622906afba5a53d48fde72dbdef8d81ba05a.tar.gz
openjdk-8: add aarch32 port 8u172b11
Similar to the aarch64 build, we import the specific aarch32 port when building for ARMv7. We also add all the necessary patches to: * compile using gcc v8 * compile against musl This was tested on: * QEMU with cortex A7 emulation (using glibc) * real hardware (using musl) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch32.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch32.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch32.patch b/recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch32.patch
new file mode 100644
index 0000000..1140887
--- /dev/null
+++ b/recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch32.patch
@@ -0,0 +1,35 @@
1From 4bab4a4468a59e303e8d05a409a07a24c2342452 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
3Date: Mon, 20 Aug 2018 12:38:38 +0100
4Subject: [PATCH] hotspot: remaining musl fixes (aarch32)
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_aarch32/vm/os_linux_aarch32.cpp:78:11: fatal error: fpu_control.h: No such file or directory
11| # include <fpu_control.h>
12| ^~~~~~~~~~~~~~~
13| compilation terminated.
14
15Upstream-Status: Inappropriate [OE specific]
16Signed-off-by: André Draszik <andre.draszik@jci.com>
17---
18 hotspot/src/os_cpu/linux_aarch32/vm/os_linux_aarch32.cpp | 1 -
19 1 file changed, 1 deletion(-)
20
21diff --git a/hotspot/src/os_cpu/linux_aarch32/vm/os_linux_aarch32.cpp b/hotspot/src/os_cpu/linux_aarch32/vm/os_linux_aarch32.cpp
22index 052a423c..93a315e4 100644
23--- a/hotspot/src/os_cpu/linux_aarch32/vm/os_linux_aarch32.cpp
24+++ b/hotspot/src/os_cpu/linux_aarch32/vm/os_linux_aarch32.cpp
25@@ -75,7 +75,6 @@
26 # include <pwd.h>
27 # include <poll.h>
28 # include <ucontext.h>
29-# include <fpu_control.h>
30
31 #define REG_FP 29
32 #define SPELL_REG_SP "sp"
33--
342.11.0
35