------------------------------------------------------------
revno: 662
committer: Matthias Klose <d...@ubuntu.com>
branch nick: openjdk8
timestamp: Sat 2015-12-12 20:58:56 +0100
message:
  openjdk-8 (8u72-b05-3) unstable; urgency=medium
  
    * Fix stripping packages (use bash instead of expr substring, Roderich
      Schupp). Closes: #806421.
    * Fix StackOverflowError on Zero JVM initialization on non x86 platforms,
      when built with GCC 5.
    * Build with GCC 5 everywhere.
    * Build using giflib 5.
  
   -- Matthias Klose <d...@ubuntu.com>  Mon, 30 Nov 2015 06:22:36 +0100
added:
  debian/patches/8087120.diff
modified:
  debian/changelog
  debian/rules


--
lp:~openjdk/openjdk/openjdk8
https://code.launchpad.net/~openjdk/openjdk/openjdk8

Your team Debian Java Maintainers is subscribed to branch 
lp:~openjdk/openjdk/openjdk8.
To unsubscribe from this branch go to 
https://code.launchpad.net/~openjdk/openjdk/openjdk8/+edit-subscription
=== modified file 'debian/changelog'
--- debian/changelog	2015-11-30 05:26:59 +0000
+++ debian/changelog	2015-12-12 19:58:56 +0000
@@ -1,7 +1,11 @@
-openjdk-8 (8u72-b05-3) UNRELEASED; urgency=medium
+openjdk-8 (8u72-b05-3) unstable; urgency=medium
 
   * Fix stripping packages (use bash instead of expr substring, Roderich
     Schupp). Closes: #806421.
+  * Fix StackOverflowError on Zero JVM initialization on non x86 platforms,
+    when built with GCC 5.
+  * Build with GCC 5 everywhere.
+  * Build using giflib 5.
 
  -- Matthias Klose <d...@ubuntu.com>  Mon, 30 Nov 2015 06:22:36 +0100
 

=== added file 'debian/patches/8087120.diff'
--- debian/patches/8087120.diff	1970-01-01 00:00:00 +0000
+++ debian/patches/8087120.diff	2015-12-12 19:58:56 +0000
@@ -0,0 +1,25 @@
+
+# HG changeset patch
+# User sgehwolf
+# Date 1434121785 -3600
+# Node ID c6ef40024aa22ade9b735c2fad2fef44780170f0
+# Parent  9f8038f83a6ee82fe7b8211dd46b4599b669eb17
+8087120: [GCC5] java.lang.StackOverflowError on Zero JVM initialization on non x86 platforms.
+Summary: Use __builtin_frame_address(0) rather than returning address of local variable.
+Reviewed-by: dholmes
+
+diff -r 9f8038f83a6e -r c6ef40024aa2 src/os_cpu/linux_zero/vm/os_linux_zero.cpp
+--- a/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp	Tue Nov 17 09:39:45 2015 -0800
++++ b/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp	Fri Jun 12 16:09:45 2015 +0100
+@@ -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) {
+

=== modified file 'debian/rules'
--- debian/rules	2015-11-30 05:26:59 +0000
+++ debian/rules	2015-12-12 19:58:56 +0000
@@ -304,6 +304,8 @@
   else
     export CC = $(DEB_HOST_GNU_TYPE)-gcc-4.9
     export CXX = $(DEB_HOST_GNU_TYPE)-g++-4.9
+    export CC = $(DEB_HOST_GNU_TYPE)-gcc-5
+    export CXX = $(DEB_HOST_GNU_TYPE)-g++-5
   endif
 else
   export CC = $(DEB_HOST_GNU_TYPE)-gcc-5
@@ -418,6 +420,7 @@
 	jdk-target-arch-define.diff \
 	m68k-support.diff \
 	javadoc-sort-enum-and-annotation-types.diff \
+	8087120.diff \
 
 # FIXME: update patches
 	#accessible-toolkit.patch # update for 8

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to