diff options
author | André Draszik <andre.draszik@jci.com> | 2018-08-22 13:01:42 +0100 |
---|---|---|
committer | Richard Leitner <richard.leitner@skidata.com> | 2018-10-02 07:58:49 +0200 |
commit | 75c2622906afba5a53d48fde72dbdef8d81ba05a (patch) | |
tree | 72bea95af9d0ba2900c3f5b18d1e98dcee9a852e /recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch32.patch | |
parent | d17c8e8a404c749d3a8c7b72bb8fc7a18cedd0b6 (diff) | |
download | meta-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.patch | 35 |
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 @@ | |||
1 | From 4bab4a4468a59e303e8d05a409a07a24c2342452 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | ||
3 | Date: Mon, 20 Aug 2018 12:38:38 +0100 | ||
4 | Subject: [PATCH] hotspot: remaining musl fixes (aarch32) | ||
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_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 | |||
15 | Upstream-Status: Inappropriate [OE specific] | ||
16 | Signed-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 | |||
21 | diff --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 | ||
22 | index 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 | -- | ||
34 | 2.11.0 | ||
35 | |||