/hg/icedtea7: 2 new changesets
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Wed Nov 9 18:00:00 UTC 2016
changeset ae65c7a53ada in /hg/icedtea7
details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=ae65c7a53ada
author: Andrew John Hughes <gnu_andrew at member.fsf.org>
date: Tue Nov 08 19:54:30 2016 +0000
PR3212: Disable ARM32 JIT by default
2016-11-08 Andrew John Hughes <gnu.andrew at member.fsf.org>
PR3212: Disable ARM32 JIT by default
* NEWS: Updated.
* acinclude.m4:
(IT_ENABLE_ARM32JIT): Set default to no.
changeset bb5cee047e34 in /hg/icedtea7
details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=bb5cee047e34
author: Andrew John Hughes <gnu_andrew at member.fsf.org>
date: Wed Nov 09 18:05:24 2016 +0000
PR3136: CACAO is broken due to 2 new native methods in sun.misc.Unsafe (from S8158260)
2016-08-18 Stefan Ring <stefan at complang.tuwien.ac.at>
PR3136: CACAO is broken due to 2 new native
methods in sun.misc.Unsafe (from S8158260)
* Makefile.am:
(ICEDTEA_PATCHES): Add CACAO patch for PR3136.
* NEWS: Updated.
* patches/cacao/pr3136-unsafe_methods.patch:
Add implementation of isBigEndian0 and unalignedAccess0.
diffstat:
ChangeLog | 17 ++++++++++++
Makefile.am | 3 +-
NEWS | 3 ++
acinclude.m4 | 2 +-
patches/cacao/pr3136-unsafe_methods.patch | 43 +++++++++++++++++++++++++++++++
5 files changed, 66 insertions(+), 2 deletions(-)
diffs (109 lines):
diff -r 8366c521e84f -r bb5cee047e34 ChangeLog
--- a/ChangeLog Fri Nov 04 03:44:17 2016 +0000
+++ b/ChangeLog Wed Nov 09 18:05:24 2016 +0000
@@ -1,3 +1,20 @@
+2016-08-18 Stefan Ring <stefan at complang.tuwien.ac.at>
+
+ PR3136: CACAO is broken due to 2 new native
+ methods in sun.misc.Unsafe (from S8158260)
+ * Makefile.am:
+ (ICEDTEA_PATCHES): Add CACAO patch for PR3136.
+ * NEWS: Updated.
+ * patches/cacao/pr3136-unsafe_methods.patch:
+ Add implementation of isBigEndian0 and unalignedAccess0.
+
+2016-11-08 Andrew John Hughes <gnu.andrew at member.fsf.org>
+
+ PR3212: Disable ARM32 JIT by default
+ * NEWS: Updated.
+ * acinclude.m4:
+ (IT_ENABLE_ARM32JIT): Set default to no.
+
2016-11-03 Andrew John Hughes <gnu.andrew at member.fsf.org>
PR3202: Update infinality configure test
diff -r 8366c521e84f -r bb5cee047e34 Makefile.am
--- a/Makefile.am Fri Nov 04 03:44:17 2016 +0000
+++ b/Makefile.am Wed Nov 09 18:05:24 2016 +0000
@@ -387,7 +387,8 @@
patches/cacao/pr2032.patch \
patches/cacao/pr2520-tempdir.patch \
patches/cacao/pr2652-classloader.patch \
- patches/cacao/pr2781-refactoring_error.patch
+ patches/cacao/pr2781-refactoring_error.patch \
+ patches/cacao/pr3136-unsafe_methods.patch
else
if USING_CACAO
ICEDTEA_PATCHES += \
diff -r 8366c521e84f -r bb5cee047e34 NEWS
--- a/NEWS Fri Nov 04 03:44:17 2016 +0000
+++ b/NEWS Wed Nov 09 18:05:24 2016 +0000
@@ -60,6 +60,9 @@
- PR3162: Remove reference to AbstractPlainDatagramSocketImpl.c, removed in 8072466
- PR3166: invalid zip timestamp handling leads to error building bootstrap-javac
- PR3202: Update infinality configure test
+ - PR3212: Disable ARM32 JIT by default
+* CACAO
+ - PR3136: CACAO is broken due to 2 new native methods in sun.misc.Unsafe (from S8158260)
* AArch64 port
- S8167200: AArch64: Broken stack pointer adjustment in interpreter
- PR3211: AArch64 build fails with pre-compiled headers disabled
diff -r 8366c521e84f -r bb5cee047e34 acinclude.m4
--- a/acinclude.m4 Fri Nov 04 03:44:17 2016 +0000
+++ b/acinclude.m4 Wed Nov 09 18:05:24 2016 +0000
@@ -2728,7 +2728,7 @@
esac
],
[
- enable_arm32jit=yes
+ enable_arm32jit=no
])
AC_MSG_RESULT([$enable_arm32jit])
AM_CONDITIONAL([ENABLE_ARM32JIT], test x"${enable_arm32jit}" = "xyes")
diff -r 8366c521e84f -r bb5cee047e34 patches/cacao/pr3136-unsafe_methods.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/cacao/pr3136-unsafe_methods.patch Wed Nov 09 18:05:24 2016 +0000
@@ -0,0 +1,43 @@
+diff --git a/src/native/vm/sun_misc_Unsafe.cpp b/src/native/vm/sun_misc_Unsafe.cpp
+--- cacao.orig/cacao/src/native/vm/sun_misc_Unsafe.cpp
++++ cacao/cacao/src/native/vm/sun_misc_Unsafe.cpp
+@@ -1303,6 +1303,30 @@
+ return result;
+ }
+
++/*
++ * Class: sun/misc/Unsafe
++ * Method: isBigEndian0
++ * Signature: ()Z
++ */
++JNIEXPORT jboolean JNICALL Java_sun_misc_Unsafe_isBigEndian0(JNIEnv *env, jobject _this)
++{
++#if WORDS_BIGENDIAN == 1
++ return true;
++#else
++ return false;
++#endif
++}
++
++/*
++ * Class: sun/misc/Unsafe
++ * Method: unalignedAccess0
++ * Signature: ()Z
++ */
++JNIEXPORT jboolean JNICALL Java_sun_misc_Unsafe_unalignedAccess0(JNIEnv *env, jobject _this)
++{
++ return false;
++}
++
+ } // extern "C"
+
+
+@@ -1390,6 +1414,8 @@
+ { (char*) "unpark", (char*) "(Ljava/lang/Object;)V", (void*) (uintptr_t) &Java_sun_misc_Unsafe_unpark },
+ { (char*) "park", (char*) "(ZJ)V", (void*) (uintptr_t) &Java_sun_misc_Unsafe_park },
+ { (char*) "getLoadAverage", (char*) "([DI)I", (void*) (uintptr_t) &Java_sun_misc_Unsafe_getLoadAverage },
++ { (char*) "isBigEndian0", (char*) "()Z", (void*) (uintptr_t) &Java_sun_misc_Unsafe_isBigEndian0 },
++ { (char*) "unalignedAccess0", (char*) "()Z", (void*) (uintptr_t) &Java_sun_misc_Unsafe_unalignedAccess0 },
+ };
+
+
More information about the distro-pkg-dev
mailing list