diff options
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/0012-hotspot-aarch64-fix-undefined-behaviour-gcc-v8-fix.patch')
-rw-r--r-- | recipes-core/openjdk/patches-openjdk-8/0012-hotspot-aarch64-fix-undefined-behaviour-gcc-v8-fix.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/0012-hotspot-aarch64-fix-undefined-behaviour-gcc-v8-fix.patch b/recipes-core/openjdk/patches-openjdk-8/0012-hotspot-aarch64-fix-undefined-behaviour-gcc-v8-fix.patch deleted file mode 100644 index e11c19c..0000000 --- a/recipes-core/openjdk/patches-openjdk-8/0012-hotspot-aarch64-fix-undefined-behaviour-gcc-v8-fix.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From 1fa1097d45afa2fe2bfd989fbd90578f5c5fc540 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | ||
3 | Date: Mon, 13 Aug 2018 12:14:21 +0100 | ||
4 | Subject: [PATCH] hotspot/aarch64: fix undefined behaviour (gcc v8 fix) | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Backport patch from | ||
10 | http://hg.openjdk.java.net/aarch64-port/jdk8u/hotspot/rev/253b0c304db6 | ||
11 | to address segfaults due to undefined behaviour. | ||
12 | |||
13 | |# HG changeset patch | ||
14 | |# User shade | ||
15 | |# Date 1526068247 -7200 | ||
16 | |# Node ID 253b0c304db6d31be3d3d7cf7cf1b3561a16dc3a | ||
17 | |# Parent 1ced2ae00e35e6f855175fc44500b37fbac9e314 | ||
18 | UB in os_linux_aarch64.cpp SpinPause | ||
19 | Reviewed-by: aph, shade, adinn | ||
20 | |||
21 | Signed-off-by: André Draszik <andre.draszik@jci.com> | ||
22 | Upstream-Status: Backport [http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/ca4663e58916] | ||
23 | --- | ||
24 | hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp | 1 + | ||
25 | 1 file changed, 1 insertion(+) | ||
26 | |||
27 | 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 | ||
28 | index 8b985693..f536817e 100644 | ||
29 | --- a/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp | ||
30 | +++ b/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp | ||
31 | @@ -699,6 +699,7 @@ void os::verify_stack_alignment() { | ||
32 | |||
33 | extern "C" { | ||
34 | int SpinPause() { | ||
35 | + return 0; | ||
36 | } | ||
37 | |||
38 | void _Copy_conjoint_jshorts_atomic(jshort* from, jshort* to, size_t count) { | ||
39 | -- | ||
40 | 2.18.0 | ||
41 | |||