summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch64.patch
diff options
context:
space:
mode:
authorAndré Draszik <andre.draszik@jci.com>2018-03-05 09:31:06 +0000
committerMaxin B. John <maxin.john@intel.com>2018-03-06 11:03:31 +0200
commit0325253a995039f70836c6d6d98e6cb315fa297f (patch)
tree96502d7881b84e2bd0bc8fdf0235de4e1e3171b9 /recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch64.patch
parent3668ba76f44bc778ba4446236088c22948a644d0 (diff)
downloadmeta-java-0325253a995039f70836c6d6d98e6cb315fa297f.tar.gz
openjdk-8: add aarch64 support
This is using the aarch64 port to make it work, which is at version u161b15. We also add one patch to make this work with musl, too. Because the aarch64 port is fetched from a different repository, the version specific include has been split so as to have all common parts (URIs, patches, configuration bits) in one single file, and version specific bits (checksum, mercurial commit ID), in another file, to ease maintenance, and make distinguishing easier. Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch64.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch64.patch35
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 @@
1From 8e8e79c136fe56db119fd9a76fb881e96727c840 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] hotspot: remaining musl fixes (aarch64)
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]
15Signed-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
20diff --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
21index 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--
342.16.1
35