diff options
author | André Draszik <andre.draszik@jci.com> | 2018-03-05 09:31:06 +0000 |
---|---|---|
committer | Maxin B. John <maxin.john@intel.com> | 2018-03-06 11:03:31 +0200 |
commit | 0325253a995039f70836c6d6d98e6cb315fa297f (patch) | |
tree | 96502d7881b84e2bd0bc8fdf0235de4e1e3171b9 /recipes-core/openjdk/patches-openjdk-8/hotspot-remaining-musl-fixes-aarch64.patch | |
parent | 3668ba76f44bc778ba4446236088c22948a644d0 (diff) | |
download | meta-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.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 | |||