summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2.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/musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2.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/musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-8/musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2.patch b/recipes-core/openjdk/patches-openjdk-8/musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2.patch
new file mode 100644
index 0000000..91a653c
--- /dev/null
+++ b/recipes-core/openjdk/patches-openjdk-8/musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2.patch
@@ -0,0 +1,34 @@
1From a02a9fbc3f1fed181504bdb5b0a16863247f92fc Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
3Date: Fri, 2 Mar 2018 10:11:51 +0000
4Subject: [PATCH] hotspot: os_linux: remove glibc dependencies (common)
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9* gnu/libc-version.h doesn't exist in musl
10 | hotspot/src/os/linux/vm/os_linux.cpp:97:11: fatal error: gnu/libc-version.h: No such file or directory
11 | # include <gnu/libc-version.h>
12 | ^~~~~~~~~~~~~~~~~~~~
13
14Upstream-Status: Inappropriate [musl specific]
15Signed-off-by: André Draszik <andre.draszik@jci.com>
16---
17 hotspot/src/os/linux/vm/os_linux.cpp | 1 -
18 1 file changed, 1 deletion(-)
19
20diff --git a/hotspot/src/os/linux/vm/os_linux.cpp b/hotspot/src/os/linux/vm/os_linux.cpp
21index 044a70a6..3137796a 100644
22--- a/hotspot/src/os/linux/vm/os_linux.cpp
23+++ b/hotspot/src/os/linux/vm/os_linux.cpp
24@@ -94,7 +94,6 @@
25 # include <string.h>
26 # include <syscall.h>
27 # include <sys/sysinfo.h>
28-# include <gnu/libc-version.h>
29 # include <sys/ipc.h>
30 # include <sys/shm.h>
31 # include <link.h>
32--
332.16.2
34