1
0
Fridrich Strba 2015-06-10 08:21:58 +00:00 committed by Git OBS Bridge
parent 79057bcd68
commit c482290a9f
3 changed files with 24 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jun 10 08:10:23 UTC 2015 - fstrba@suse.com
- Added patch:
* zero-dummy.patch
- Fix crash of ZERO VM built with gcc5
-------------------------------------------------------------------
Fri Jun 5 12:58:27 UTC 2015 - fstrba@suse.com

View File

@ -225,6 +225,8 @@ Patch13: implicit-pointer-decl.patch
Patch14: zero-javadoc-verbose.patch
# Fix to build the C++ interpreter that does not have Interpreter::remove_activation_entry
Patch15: cplusplus-interpreter.patch
# Fix crash on zero virtual machine built with gcc5
Patch16: zero-dummy.patch
#
# OpenJDK specific patches
#
@ -311,7 +313,7 @@ BuildRequires: libXinerama-devel
BuildRequires: libXt-devel
BuildRequires: libXtst-devel
%endif
%if %{bootcycle}
%if %{bootcycle}5321d26956b2
BuildRequires: java-bootstrap-devel >= 1.6.0
%else
BuildRequires: java-devel >= %{javaver}
@ -519,6 +521,7 @@ rm -rvf jdk/src/share/native/sun/java2d/cmm/lcms/lcms2*
%if %{with zero}
%patch14 -p1
%patch16 -p1
%endif
%ifnarch %aarch64

13
zero-dummy.patch Normal file
View File

@ -0,0 +1,13 @@
--- jdk8/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp 2015-06-10 10:06:49.485230587 +0200
+++ jdk8/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp 2015-06-10 10:07:33.645229254 +0200
@@ -55,8 +55,8 @@
#include "utilities/vmError.hpp"
address os::current_stack_pointer() {
- address dummy = (address) &dummy;
- return dummy;
+ // return the address of the current function
+ return (address)__builtin_frame_address(0);
}
frame os::get_sender_for_C_frame(frame* fr) {