From 30ff1715cd95f9a0f20d12891f3ea390e0bbe4b1 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 30 Apr 2013 17:46:53 +0200 Subject: openjdk6: update version 1.12 to 1.12.5 * move some directivies to the included release file * remove patches which are applied upstream now --- .../openjdk/openjdk-6-6b27/arm-thumb2-fix.patch | 95 ---------------------- .../openjdk/openjdk-6-6b27/remove_libxp.patch | 21 ----- 2 files changed, 116 deletions(-) delete mode 100644 recipes-core/openjdk/openjdk-6-6b27/arm-thumb2-fix.patch delete mode 100644 recipes-core/openjdk/openjdk-6-6b27/remove_libxp.patch (limited to 'recipes-core/openjdk/openjdk-6-6b27') diff --git a/recipes-core/openjdk/openjdk-6-6b27/arm-thumb2-fix.patch b/recipes-core/openjdk/openjdk-6-6b27/arm-thumb2-fix.patch deleted file mode 100644 index 54b8b7b..0000000 --- a/recipes-core/openjdk/openjdk-6-6b27/arm-thumb2-fix.patch +++ /dev/null @@ -1,95 +0,0 @@ - -# HG changeset patch -# User chrisphi -# Date 1365166908 14400 -# Node ID 623621d29d04d87dc17f376b3917464e59026248 -# Parent 12f5fe9e85d373261c29be3bbd37ffc364678978 -Bug 1362: Fedora 19 / rawhide FTBFS SIGILL -Summary: Fix reg alloc problem in thumb2.cpp compiler. - -diff -r 12f5fe9e85d3 -r 623621d29d04 arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp ---- a/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Wed Mar 20 11:00:45 2013 +0000 -+++ b/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp Fri Apr 05 09:01:48 2013 -0400 -@@ -1,5 +1,6 @@ - /* - * Copyright 2009, 2010 Edward Nevill -+ * Copyright 2013 Red Hat - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as -@@ -399,6 +400,8 @@ - - static jmp_buf compiler_error_env; - -+#define J_BogusImplementation() longjmp(compiler_error_env, COMPILER_RESULT_FAILED) -+ - #ifdef PRODUCT - - #define JASSERT(cond, msg) 0 -@@ -3505,8 +3508,6 @@ - #define TOSM2(jstack) ((jstack)->stack[(jstack)->depth-3]) - #define TOSM3(jstack) ((jstack)->stack[(jstack)->depth-4]) - --#define POP(jstack) ((jstack)->stack[--(jstack)->depth]) --#define PUSH(jstack, r) ((jstack)->stack[(jstack)->depth++] = (r)) - #define SWAP(jstack) do { \ - Reg r = (jstack)->stack[(jstack)->depth-1]; \ - (jstack)->stack[(jstack)->depth-1] = (jstack)->stack[(jstack)->depth-2]; \ -@@ -3516,6 +3517,17 @@ - #define JSTACK_REG(jstack) jstack_reg(jstack) - #define JSTACK_PREFER(jstack, prefer) jstack_prefer(jstack, prefer) - -+int PUSH(Thumb2_Stack *jstack, unsigned reg) { -+ jstack->stack[jstack->depth] = reg; -+ jstack->depth++; -+ return reg; -+} -+ -+int POP(Thumb2_Stack *jstack) { -+ jstack->depth--; -+ return jstack->stack[jstack->depth]; -+} -+ - static const unsigned last_clear_bit[] = { - 3, // 0000 - 3, // 0001 -@@ -3532,11 +3544,13 @@ - 1, // 1100 - 1, // 1101 - 0, // 1110 -- 0, // 1111 -+ 0, // 1111 // No registers available... - }; - - #define LAST_CLEAR_BIT(mask) last_clear_bit[mask] - -+unsigned long thumb2_register_allocation_failures = 0; -+ - unsigned jstack_reg(Thumb2_Stack *jstack) - { - unsigned *stack = jstack->stack; -@@ -3547,7 +3561,10 @@ - - for (i = 0; i < depth; i++) mask |= 1 << stack[i]; - mask &= (1 << STACK_REGS) - 1; -- JASSERT(mask != (1 << STACK_REGS) - 1, "No free reg in push"); -+ if (mask >= (1 << STACK_REGS) - 1) { // No free registers -+ thumb2_register_allocation_failures++; -+ J_BogusImplementation(); -+ } - r = LAST_CLEAR_BIT(mask); - return r; - } -@@ -3563,7 +3580,10 @@ - for (i = 0; i < depth; i++) mask |= 1 << stack[i]; - mask &= (1 << STACK_REGS) - 1; - if ((prefer & ~mask) & 0x0f) mask |= (~prefer & ((1 << STACK_REGS) - 1)); -- JASSERT(mask != (1 << STACK_REGS) - 1, "No free reg in push"); -+ if (mask >= (1 << STACK_REGS) - 1) { // No free registers -+ thumb2_register_allocation_failures++; -+ J_BogusImplementation(); -+ } - r = LAST_CLEAR_BIT(mask); - return r; - } - diff --git a/recipes-core/openjdk/openjdk-6-6b27/remove_libxp.patch b/recipes-core/openjdk/openjdk-6-6b27/remove_libxp.patch deleted file mode 100644 index 7161b75..0000000 --- a/recipes-core/openjdk/openjdk-6-6b27/remove_libxp.patch +++ /dev/null @@ -1,21 +0,0 @@ -Index: icedtea6-1.12.4/configure.ac -=================================================================== ---- icedtea6-1.12.4.orig/configure.ac 2013-03-10 14:04:34.072354787 +0100 -+++ icedtea6-1.12.4/configure.ac 2013-03-10 14:07:48.201849004 +0100 -@@ -283,16 +283,6 @@ - AC_SUBST(XT_CFLAGS) - AC_SUBST(XT_LIBS) - --dnl Check for libXp headers and libraries. --PKG_CHECK_MODULES(XP, xp,[XP_FOUND=yes],[XP_FOUND=no]) --if test "x${XP_FOUND}" = xno --then -- AC_MSG_ERROR([Could not find Xp - \ -- Try installing libXp-devel.]) --fi --AC_SUBST(XP_CFLAGS) --AC_SUBST(XP_LIBS) -- - dnl Check for libX11 headers and libraries. - PKG_CHECK_MODULES(X11, x11,[X11_FOUND=yes],[X11_FOUND=no]) - if test "x${X11_FOUND}" = xno -- cgit v1.2.3-54-g00ecf