Skip to contentSkip to conversation

Update OpenJDK7 to IcedTea 2.5.4 und OpenJDK 7u75b13

PATCH Superseded Sven Ebenfeld 3 participants 13 messages Apr 13, 2015 – Apr 22, 2015

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover Update OpenJDK7 to IcedTea 2.5.4 und OpenJDK 7u75b13

There were some mistakes in my former recipes. This version fixes them. OpenJDK-7 did not depend on krb5 but excluded it in OECONF. Now I changed to depending on krb5 and not excluding it. I've tested building and running it against dizzy and master branches of oe-core, bitbake and meta-openembedded. Built with qemux86 and qemuarm. This release switches the HotSpot-Release to a newer one because of a segfault bug in the ARM Thumb2 JIT.

Sven Ebenfeld (7):
icedtea7-native: Add missing dependencies
icedtea7-native: fix build with gcc 4.9
icedtea7-native: Remove unused patch
openjdk-7: Add Version 75b13 with IcedTea 2.5.4
openjdk-7: Remove OpenJDK 25b30 and IcedTea 2.3.12
java-test-image: Add openjdk-7 ZeroVM and remove busybox-hwclock Update README to new OpenJDK-7

 README                                             |   2 +-
 recipes-core/icedtea/icedtea7-native.inc           |   4 +-
 .../icedtea-change-to-gdb-debug-format.patch       |  29 ++
 .../icedtea-disable-desktop-dirs.patch             |  91 ------
 recipes-core/icedtea/openjdk-7-release-03b147.inc  |   2 +
 .../openjdk/openjdk-7-25b30/build-hacks.patch      |  60 ----
 .../openjdk-7-25b30/cacao-arm-ucontext.patch       |  24 --
 .../openjdk/openjdk-7-25b30/cacao-libtoolize.patch |  12 -
 .../openjdk-7-25b30/cacao-loadavg-makefile.patch   |  13 -
 .../openjdk/openjdk-7-25b30/cacao-loadavg.patch    |  27 --
 .../openjdk/openjdk-7-25b30/cacao-update.patch     |  63 ----
 .../openjdk/openjdk-7-25b30/fix-checksums.patch    |  13 -
 .../openjdk-7-25b30/fix_hotspot_crosscompile.patch |  51 ---
 ...cedtea-add-usr-lib-jni-to-DEFAULT_LIBPATH.patch |  19 --
 .../icedtea-corba-parallel-make.patch              |  31 --
 .../openjdk-7-25b30/icedtea-crosscompile-fix.patch | 363 ---------------------
 .../openjdk-7-25b30/icedtea-fix-xrender.patch      |  13 -
 .../icedtea-hotspot-dlvsym-uclibc.patch            |  16 -
 .../icedtea-hotspot-glibc-version.patch            |  23 --
 .../openjdk-7-25b30/icedtea-hotspot-isfinte.patch  |  15 -
 .../openjdk-7-25b30/icedtea-hotspot-isnanf.patch   |  13 -
 .../openjdk-7-25b30/icedtea-hotspot-loadavg.patch  |  28 --
 .../openjdk-7-25b30/icedtea-jdk-iconv-uclibc.patch |  39 ---
 .../icedtea-jdk-nio-use-host-cc.patch              |  73 -----
 .../icedtea-jdk-powerpc-atomic64.patch             |  65 ----
 .../icedtea-jdk-ppc64-jvm-cfg.patch                |  41 ---
 .../icedtea-jdk-remove-unused-backtrace.patch      |  41 ---
 .../icedtea-jdk-unpack-uclibc.patch                |  10 -
 .../openjdk-7-25b30/icedtea-launcher-stdc++.patch  |  13 -
 .../openjdk-7-25b30/icedtea-libnet-renaming.patch  | 188 -----------
 ...njdk-remove-currency-data-generation-expi.patch |  25 --
 .../openjdk-7-25b30/icedtea-remove_werror.patch    |  16 -
 .../icedtea-shark-arm-linux-cpu-detection.patch    | 113 -------
 .../openjdk-7-25b30/icedtea-unbreak-float.patch    |  18 -
 ...edtea-unset-NIO_PLATFORM_CLASSES_ROOT_DIR.patch |  13 -
 .../openjdk-7-25b30/icedtea-zero-hotspotfix.patch  |  37 ---
 recipes-core/openjdk/openjdk-7-25b30/jvm.cfg       |  43 ---
 .../remove-sun.misc.Perf-debug-code.patch          |  47 ---
 .../openjdk/openjdk-7-75b13/build-hacks.patch      |  71 ++++
 .../openjdk-7-75b13/cacao-arm-ucontext.patch       |  24 ++
 .../openjdk/openjdk-7-75b13/cacao-libtoolize.patch |  12 +
 .../openjdk-7-75b13/cacao-loadavg-makefile.patch   |  13 +
 .../openjdk/openjdk-7-75b13/cacao-loadavg.patch    |  27 ++
 .../openjdk/openjdk-7-75b13/fix-checksums.patch    |  28 ++
 .../openjdk-7-75b13/fix_hotspot_crosscompile.patch |  52 +++
 ...cedtea-add-usr-lib-jni-to-DEFAULT_LIBPATH.patch |  19 ++
 .../openjdk-7-75b13/icedtea-crosscompile-fix.patch | 355 ++++++++++++++++++++
 .../icedtea-jdk-nio-use-host-cc.patch              |  74 +++++
 .../icedtea-jdk-rmi-crosscompile.patch             |  13 +
 .../openjdk-7-75b13/icedtea-libnet-renaming.patch  | 236 ++++++++++++++
 ...njdk-remove-currency-data-generation-expi.patch |  25 ++
 .../openjdk-7-75b13/icedtea-remove_werror.patch    |  16 +
 .../icedtea-shark-arm-linux-cpu-detection.patch    | 113 +++++++
 .../openjdk-7-75b13/icedtea-unbreak-float.patch    |  18 +
 ...edtea-unset-NIO_PLATFORM_CLASSES_ROOT_DIR.patch |  13 +
 .../openjdk-7-75b13/icedtea-zero-hotspotfix.patch  |  36 ++
 recipes-core/openjdk/openjdk-7-75b13/jvm.cfg       |  43 +++
 .../remove-sun.misc.Perf-debug-code.patch          |  47 +++
 recipes-core/openjdk/openjdk-7-common.inc          |   9 +-
 recipes-core/openjdk/openjdk-7-release-25b30.inc   | 137 --------
 recipes-core/openjdk/openjdk-7-release-75b13.inc   | 102 ++++++
 recipes-core/openjdk/openjdk-7_25b30-2.3.12.bb     |  36 --
 recipes-core/openjdk/openjdk-7_75b13-2.5.4.bb      |  36 ++
 recipes-images/images/java-test-image.bb           |   4 +-
 64 files changed, 1414 insertions(+), 1839 deletions(-)
 create mode 100644 recipes-core/icedtea/openjdk-7-03b147/icedtea-change-to-gdb-debug-format.patch
 delete mode 100644 recipes-core/icedtea/openjdk-7-03b147/icedtea-disable-desktop-dirs.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/build-hacks.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/cacao-arm-ucontext.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/cacao-libtoolize.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/cacao-loadavg-makefile.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/cacao-loadavg.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/cacao-update.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/fix-checksums.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/fix_hotspot_crosscompile.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-add-usr-lib-jni-to-DEFAULT_LIBPATH.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-corba-parallel-make.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-crosscompile-fix.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-fix-xrender.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-hotspot-dlvsym-uclibc.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-hotspot-glibc-version.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-hotspot-isfinte.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-hotspot-isnanf.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-hotspot-loadavg.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-iconv-uclibc.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-nio-use-host-cc.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-powerpc-atomic64.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-ppc64-jvm-cfg.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-remove-unused-backtrace.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-unpack-uclibc.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-launcher-stdc++.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-libnet-renaming.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-openjdk-remove-currency-data-generation-expi.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-remove_werror.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-shark-arm-linux-cpu-detection.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-unbreak-float.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-unset-NIO_PLATFORM_CLASSES_ROOT_DIR.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-zero-hotspotfix.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/jvm.cfg
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/remove-sun.misc.Perf-debug-code.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/build-hacks.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/cacao-arm-ucontext.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/cacao-libtoolize.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/cacao-loadavg-makefile.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/cacao-loadavg.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/fix-checksums.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/fix_hotspot_crosscompile.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-add-usr-lib-jni-to-DEFAULT_LIBPATH.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-crosscompile-fix.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-jdk-nio-use-host-cc.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-jdk-rmi-crosscompile.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-libnet-renaming.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-openjdk-remove-currency-data-generation-expi.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-remove_werror.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-shark-arm-linux-cpu-detection.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-unbreak-float.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-unset-NIO_PLATFORM_CLASSES_ROOT_DIR.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-zero-hotspotfix.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/jvm.cfg
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/remove-sun.misc.Perf-debug-code.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-release-25b30.inc
 create mode 100644 recipes-core/openjdk/openjdk-7-release-75b13.inc
 delete mode 100644 recipes-core/openjdk/openjdk-7_25b30-2.3.12.bb
 create mode 100644 recipes-core/openjdk/openjdk-7_75b13-2.5.4.bb
Signature · 1 line
1.8.1.rc3
#1 lore raw

PATCH v2 1/7 icedtea7-native: Add missing dependencies

From: Sven Ebenfeld <[email protected]>

icedtea7 is looking for xsltproc and attr during configuration process.

---
 recipes-core/icedtea/icedtea7-native.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-core/icedtea/icedtea7-native.inc +2 -2
index 1f193e1..ff0c998 100644
@@ -4,12 +4,12 @@ LICENSE  = "GPL-2.0-with-classpath-exception"
 INC_PR = "r1"
 
 DEPENDS = "virtual/javac-native virtual/java-native classpath-native \
-           rhino-native ant-native \
+           rhino-native ant-native libxslt-native attr-native \
            libx11-native xproto-native libxt-native libxext-native libxrender-native \
            giflib-native jpeg-native libpng-native \
            glib-2.0-native freetype-native zlib-native \
            fontconfig-native zip-native alsa-lib-native \
-	   unzip-native \
+           unzip-native \
           "
 
 inherit native java autotools
Signature · 1 line
1.8.1.rc3
#2 lore raw

PATCH v2 2/7 icedtea7-native: fix build with gcc 4.9

The stabs debug format is not supported by our toolchain. It works if we use gdb debug format.

---
 .../icedtea-change-to-gdb-debug-format.patch       | 29 ++++++++++++++++++++++
 recipes-core/icedtea/openjdk-7-release-03b147.inc  |  2 ++
 2 files changed, 31 insertions(+)
 create mode 100644 recipes-core/icedtea/openjdk-7-03b147/icedtea-change-to-gdb-debug-format.patch
recipes-core/icedtea/openjdk-7-03b147/icedtea-change-to-gdb-debug-format.patch new file +29 -0
new file mode 100644
index 0000000..c0a3c9f
@@ -0,0 +1,29 @@
+--- openjdk/hotspot/make/linux/makefiles/gcc.make	2015-04-02 08:02:31.301728214 +0200
++++ openjdk/hotspot/make/linux/makefiles/gcc.make.new	2015-04-02 08:19:55.502171268 +0200
+@@ -233,7 +233,7 @@
+ DEBUG_CFLAGS/ppc   = -g
+ DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH))
+ ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),)
+-DEBUG_CFLAGS += -gstabs
++DEBUG_CFLAGS += -ggdb
+ endif
+ 
+ ifneq ($(OBJCOPY),)
+@@ -244,7 +244,7 @@
+   FASTDEBUG_CFLAGS/zero  = -g
+   FASTDEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH))
+   ifeq ($(FASTDEBUG_CFLAGS/$(BUILDARCH)),)
+-    FASTDEBUG_CFLAGS += -gstabs
++    FASTDEBUG_CFLAGS += -ggdb
+   endif
+ 
+   OPT_CFLAGS/ia64  = -g
+@@ -254,7 +254,7 @@
+   OPT_CFLAGS/zero  = -g
+   OPT_CFLAGS += $(OPT_CFLAGS/$(BUILDARCH))
+   ifeq ($(OPT_CFLAGS/$(BUILDARCH)),)
+-    OPT_CFLAGS += -gstabs
++    OPT_CFLAGS += -ggdb
+   endif
+ endif
+ 
recipes-core/icedtea/openjdk-7-release-03b147.inc +2 -0
index 47813cd..01e7a3d 100644
@@ -81,6 +81,7 @@ OPENJDK_PATCHES = " \
         file://icedtea-jdk-sane-x86-arch.patch;apply=no \
 	file://icedtea-flags.patch;apply=no \
 	file://icedtea-openjdk-remove-currency-data-generation-expi.patch;apply=no \
+	file://icedtea-change-to-gdb-debug-format.patch;apply=no \
         "
 
 export DISTRIBUTION_PATCHES = " \
@@ -91,4 +92,5 @@ export DISTRIBUTION_PATCHES = " \
         patches/icedtea-jdk-sane-x86-arch.patch \
 	patches/icedtea-flags.patch \
 	patches/icedtea-openjdk-remove-currency-data-generation-expi.patch \
+	patches/icedtea-change-to-gdb-debug-format.patch \
         "
Signature · 1 line
1.8.1.rc3
#3 lore raw

PATCH v2 3/7 icedtea7-native: Remove unused patch

This patch is not referenced anywhere in the recipes.

---
 .../icedtea-disable-desktop-dirs.patch             | 91 ----------------------
 1 file changed, 91 deletions(-)
 delete mode 100644 recipes-core/icedtea/openjdk-7-03b147/icedtea-disable-desktop-dirs.patch
recipes-core/icedtea/openjdk-7-03b147/icedtea-disable-desktop-dirs.patch deleted +0 -91
deleted file mode 100644
index 739804a..0000000
@@ -1,91 +0,0 @@
-diff --git openjdk/jdk/make/common/Subdirs.gmk openjdk/jdk/make/common/Subdirs.gmk
-index f212d50..da6e9e1 100644
---- openjdk/jdk/make/common/Subdirs.gmk
-+++ openjdk/jdk/make/common/Subdirs.gmk
-@@ -88,28 +88,6 @@ done
- @$(ECHO) "Done Processing OTHERSUBDIRS: $(OTHERSUBDIRS)"
- endef
- 
--#
--# Iterate the list specified in SUBDIRS_<group> only if
--# SUBDIRS_<group> is set.
--#
--ifdef SUBDIRS_desktop 
--  define subdirs-desktop-loop
--      @$(call subdirs-group-loop,SUBDIRS_desktop)
--  endef
--else   
--  define subdirs-desktop-loop
--  endef
--endif   # SUBDIRS_desktop 
--
--ifdef SUBDIRS_enterprise 
--  define subdirs-enterprise-loop
--      @$(call subdirs-group-loop,SUBDIRS_enterprise)
--  endef
--else   
--define subdirs-enterprise-loop
--endef
--endif   # SUBDIRS_enterprise 
--
- ifdef SUBDIRS_management 
-   define subdirs-management-loop
-       @$(call subdirs-group-loop,SUBDIRS_management)
-@@ -140,7 +118,7 @@ endif   # SUBDIRS_tools
- #
- # If BUILD_MODULES is not set or it's set to "all",
- # iterate all groups.
--SUBDIRS_all = $(SUBDIRS) $(SUBDIRS_desktop) $(SUBDIRS_enterprise) \
-+SUBDIRS_all = $(SUBDIRS) $(SUBDIRS_enterprise) \
- 	      $(SUBDIRS_management) $(SUBDIRS_misc) $(SUBDIRS_tools)
- 
- define SUBDIRS-loop
-diff --git a/jdk/src/solaris/native/sun/java2d/x11/XRSurfaceData.c b/jdk/src/solaris/native/sun/java2d/x11/XRSurfaceData.c
-index 5de53ca..b598a22 100644
---- a/jdk/src/solaris/native/sun/java2d/x11/XRSurfaceData.c
-+++ b/jdk/src/solaris/native/sun/java2d/x11/XRSurfaceData.c
-@@ -29,7 +29,7 @@
- #include "X11SurfaceData.h"
- 
- /*#include <xcb/xcb.h>*/
--#include <Xrender.h>
-+#include <X11/extensions/Xrender.h>
- 
- #ifndef RepeatNone  /* added in 0.10 */
- #define RepeatNone    0
-diff --git a/jdk/make/sun/xawt/FILES_c_unix.gmk b/jdk/make/sun/xawt/FILES_c_unix.gmk
-index 57b34c3..c629f78 100644
---- a/jdk/make/sun/xawt/FILES_c_unix.gmk
-+++ b/jdk/make/sun/xawt/FILES_c_unix.gmk
-@@ -84,15 +84,8 @@ FILES_c = \
- 	XRSurfaceData.c \
- 	XRBackendNative.c
- 
--ifndef USE_SYSTEM_GTK
- FILES_c += \
- 	gtk_fp.c
--endif
--
--ifndef USE_SYSTEM_CUPS
--FILES_c += \
--	cups_fp.c
--endif
- 
- ifndef USE_SYSTEM_FONTCONFIG
- FILES_c += \
-diff --git a/jdk/make/sun/awt/FILES_c_unix.gmk b/jdk/make/sun/awt/FILES_c_unix.gmk
-index dc1f61e..489abc1 100644
---- a/jdk/make/sun/awt/FILES_c_unix.gmk
-+++ b/jdk/make/sun/awt/FILES_c_unix.gmk
-@@ -230,11 +230,6 @@ FILES_NO_MOTIF_c = \
-         AccelGlyphCache.c \
- 	CUPSfuncs.c
- 
--ifndef USE_SYSTEM_CUPS
--FILES_NO_MOTIF_c += \
--	cups_fp.c
--endif
--
- ifndef USE_SYSTEM_FONTCONFIG
- FILES_NO_MOTIF_c += \
- 	fontconfig_fp.c
Signature · 1 line
1.8.1.rc3
#4 lore raw

PATCH v2 4/7 openjdk-7: Add Version 75b13 with IcedTea 2.5.4

---
 .../openjdk/openjdk-7-75b13/build-hacks.patch      |  71 +++++
 .../openjdk-7-75b13/cacao-arm-ucontext.patch       |  24 ++
 .../openjdk/openjdk-7-75b13/cacao-libtoolize.patch |  12 +
 .../openjdk-7-75b13/cacao-loadavg-makefile.patch   |  13 +
 .../openjdk/openjdk-7-75b13/cacao-loadavg.patch    |  27 ++
 .../openjdk/openjdk-7-75b13/fix-checksums.patch    |  28 ++
 .../openjdk-7-75b13/fix_hotspot_crosscompile.patch |  52 +++
 ...cedtea-add-usr-lib-jni-to-DEFAULT_LIBPATH.patch |  19 ++
 .../openjdk-7-75b13/icedtea-crosscompile-fix.patch | 355 +++++++++++++++++++++
 .../icedtea-jdk-nio-use-host-cc.patch              |  74 +++++
 .../icedtea-jdk-rmi-crosscompile.patch             |  13 +
 .../openjdk-7-75b13/icedtea-libnet-renaming.patch  | 236 ++++++++++++++
 ...njdk-remove-currency-data-generation-expi.patch |  25 ++
 .../openjdk-7-75b13/icedtea-remove_werror.patch    |  16 +
 .../icedtea-shark-arm-linux-cpu-detection.patch    | 113 +++++++
 .../openjdk-7-75b13/icedtea-unbreak-float.patch    |  18 ++
 ...edtea-unset-NIO_PLATFORM_CLASSES_ROOT_DIR.patch |  13 +
 .../openjdk-7-75b13/icedtea-zero-hotspotfix.patch  |  36 +++
 recipes-core/openjdk/openjdk-7-75b13/jvm.cfg       |  43 +++
 .../remove-sun.misc.Perf-debug-code.patch          |  47 +++
 recipes-core/openjdk/openjdk-7-common.inc          |   9 +-
 recipes-core/openjdk/openjdk-7-release-75b13.inc   | 102 ++++++
 recipes-core/openjdk/openjdk-7_75b13-2.5.4.bb      |  36 +++
 23 files changed, 1378 insertions(+), 4 deletions(-)
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/build-hacks.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/cacao-arm-ucontext.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/cacao-libtoolize.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/cacao-loadavg-makefile.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/cacao-loadavg.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/fix-checksums.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/fix_hotspot_crosscompile.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-add-usr-lib-jni-to-DEFAULT_LIBPATH.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-crosscompile-fix.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-jdk-nio-use-host-cc.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-jdk-rmi-crosscompile.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-libnet-renaming.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-openjdk-remove-currency-data-generation-expi.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-remove_werror.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-shark-arm-linux-cpu-detection.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-unbreak-float.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-unset-NIO_PLATFORM_CLASSES_ROOT_DIR.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/icedtea-zero-hotspotfix.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/jvm.cfg
 create mode 100644 recipes-core/openjdk/openjdk-7-75b13/remove-sun.misc.Perf-debug-code.patch
 create mode 100644 recipes-core/openjdk/openjdk-7-release-75b13.inc
 create mode 100644 recipes-core/openjdk/openjdk-7_75b13-2.5.4.bb
recipes-core/openjdk/openjdk-7-75b13/build-hacks.patch new file +71 -0
new file mode 100644
index 0000000..998e656
@@ -0,0 +1,71 @@
+Index: icedtea-2.5.4/Makefile.am
+===================================================================
+--- icedtea-2.5.4.orig/Makefile.am	2013-07-26 18:17:45.499466367 +0000
++++ icedtea-2.5.4/Makefile.am	2013-07-30 21:04:46.761410713 +0000
+@@ -474,6 +474,12 @@
+ 	FT2_LIBS="$(FREETYPE2_LIBS)" \
+ 	ALT_PARALLEL_COMPILE_JOBS="$(PARALLEL_JOBS)" \
+ 	HOTSPOT_BUILD_JOBS="$(PARALLEL_JOBS)" \
++	OE_CFLAGS="$(OE_CFLAGS)" \
++	OE_CPPFLAGS="$(OE_CPPFLAGS)" \
++	OE_CXXFLAGS="$(OE_CXXFLAGS)" \
++	OE_LDFLAGS="$(OE_LDFLAGS)" \
++	OE_LAUNCHER_LDFLAGS="$(OE_LAUNCHER_LDFLAGS)" \
++	DISTRIBUTION_ID="$(DIST_ID)" \
+ 	QUIETLY="" \
+ 	ANT_RESPECT_JAVA_HOME="TRUE" \
+ 	DISTRIBUTION_ID="$(DIST_ID)" \
+@@ -1777,8 +1783,8 @@
+ 	rm -f stamps/add-tzdata-support.stamp
+ 
+ stamps/check-crypto.stamp: stamps/cryptocheck.stamp stamps/icedtea.stamp
+-	if [ -e $(BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \
+-	  $(BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -cp $(CRYPTO_CHECK_BUILD_DIR) TestCryptoLevel ; \
++	if [ -e $(abs_top_builddir)/bootstrap/jdk1.6.0/bin/java ] ; then \
++	  $(abs_top_builddir)/bootstrap/jdk1.6.0/bin/java -cp $(CRYPTO_CHECK_BUILD_DIR) TestCryptoLevel ; \
+ 	fi
+ 	mkdir -p stamps
+ 	touch $@
+@@ -2124,7 +2130,11 @@
+ 	cd jamvm/jamvm && \
+ 	LDFLAGS="-Xlinker -z -Xlinker noexecstack" \
+ 	./autogen.sh --with-java-runtime-library=openjdk7 \
+-	  --prefix=$(abs_top_builddir)/jamvm/install ; \
++	  --prefix=$(abs_top_builddir)/jamvm/install \
++	  --host=$(host_alias) \
++	  --build=$(build_alias) \
++	  --target=$(target_alias)  \
++	  --with-libtool-sysroot=${ALT_FREETYPE_LIB_PATH} ; \
+ 	$(MAKE) ; \
+ 	$(MAKE) install
+ 	mkdir -p $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/server
+@@ -2189,6 +2199,7 @@
+ 	  --host=$(host_alias) \
+ 	  --build=$(build_alias) \
+ 	  --target=$(target_alias) \
++	  --with-libtool-sysroot=${ALT_FREETYPE_LIB_PATH} \
+ 	  --prefix=$(abs_top_builddir)/cacao/install \
+ 	  --with-java-runtime-library=openjdk7 \
+ 	  --with-java-runtime-library-prefix=$(abs_top_builddir)/openjdk \
+@@ -2256,7 +2267,7 @@
+ # configure script arguments, quoted in single quotes
+ CONFIGURE_ARGS = @CONFIGURE_ARGS@
+ ADD_ZERO_CONFIGURE_ARGS = \
+-	--with-jdk-home=$(BUILD_OUTPUT_DIR)/j2sdk-image \
++	--with-jdk-home=$(abs_top_builddir)/bootstrap/jdk1.6.0 \
+ 	--disable-bootstrap --enable-zero
+ if ADD_SHARK_BUILD
+ ADD_ZERO_CONFIGURE_ARGS += \
+Index: icedtea-2.5.4/javac.in
+===================================================================
+--- icedtea-2.3.4.orig/javac.in	2013-07-24 21:33:57.224612327 +0000
++++ icedtea-2.5.4/javac.in	2013-07-30 19:41:56.240277496 +0000
+@@ -77,5 +77,7 @@
+     my @CLASSPATH = ('@ECJ_JAR@');
+     push @CLASSPATH, split /:/, $ENV{"CLASSPATH"} if exists $ENV{"CLASSPATH"};
+     $ENV{"CLASSPATH"} = join ':', @CLASSPATH;
+-    exec '@JAVA@', 'org.eclipse.jdt.internal.compiler.batch.Main', @ecj_parms, @ecj_args;
++    # Compiling hotspot-tools consumes tons of memory and exceeds any default
++    # limits for jamvm and cacao.
++    exec '@JAVA@', '-Xmx1024m', 'org.eclipse.jdt.internal.compiler.batch.Main', @ecj_parms, @ecj_args;
+ }
recipes-core/openjdk/openjdk-7-75b13/cacao-arm-ucontext.patch new file +24 -0
new file mode 100644
index 0000000..c21fcf1
@@ -0,0 +1,24 @@
+Index: cacao-a567bcb7f589/src/vm/jit/arm/linux/md-os.c
+===================================================================
+--- cacao-a567bcb7f589/src/vm/jit/arm/linux/md-os.c	2013-01-26 21:30:54.206581090 +0100
++++ cacao-a567bcb7f589/src/vm/jit/arm/linux/md-os.c	2013-01-26 21:31:34.406991316 +0100
+@@ -28,19 +28,7 @@
+ 
+ #include <stdint.h>
+ 
+-#define ucontext broken_glibc_ucontext
+-#define ucontext_t broken_glibc_ucontext_t
+ #include <ucontext.h>
+-#undef ucontext
+-#undef ucontext_t
+-
+-typedef struct ucontext {
+-   unsigned long     uc_flags;
+-   struct ucontext  *uc_link;
+-   stack_t           uc_stack;
+-   struct sigcontext uc_mcontext;
+-   sigset_t          uc_sigmask;
+-} ucontext_t;
+ 
+ #define scontext_t struct sigcontext
+ 
recipes-core/openjdk/openjdk-7-75b13/cacao-libtoolize.patch new file +12 -0
new file mode 100644
index 0000000..484cb10
@@ -0,0 +1,12 @@
+Index: icedtea6/Makefile.am
+===================================================================
+--- icedtea6.orig/Makefile.am	2011-12-21 22:58:23.000000000 +0100
++++ icedtea6/Makefile.am	2011-12-21 23:00:21.405887186 +0100
+@@ -1922,6 +1922,7 @@
+ if BUILD_CACAO
+ if !USE_SYSTEM_CACAO
+ 	cd cacao/cacao && \
++	rm -f libtool && \
+ 	./autogen.sh && \
+ 	$(ARCH_PREFIX) ./configure \
+ 	  --host=$(host_alias) \
recipes-core/openjdk/openjdk-7-75b13/cacao-loadavg-makefile.patch new file +13 -0
new file mode 100644
index 0000000..a389206
@@ -0,0 +1,13 @@
+Index: icedtea-2.1.4/Makefile.am
+===================================================================
+--- icedtea-2.1.4.orig/Makefile.am	2013-01-26 18:20:55.152561203 +0100
++++ icedtea-2.1.4/Makefile.am	2013-01-26 18:41:07.637992206 +0100
+@@ -1994,6 +1994,8 @@
+ if BUILD_CACAO
+ if !USE_SYSTEM_CACAO
+ 	cd cacao/cacao && \
++	patch -p1 -N < $(abs_top_srcdir)/patches/cacao-loadavg.patch && \
++	patch -p1 -N < $(abs_top_srcdir)/patches/cacao-arm-ucontext.patch && \
+ 	rm -f libtool && \
+ 	./autogen.sh && \
+ 	$(ARCH_PREFIX) ./configure \
recipes-core/openjdk/openjdk-7-75b13/cacao-loadavg.patch new file +27 -0
new file mode 100644
index 0000000..0fc1a81
@@ -0,0 +1,27 @@
+Index: cacao-cff92704c4e0/src/vm/os.hpp
+===================================================================
+--- cacao-cff92704c4e0/src/vm/os.hpp	2011-12-08 13:40:45.000000000 +0100
++++ cacao-cff92704c4e0/src/vm/os.hpp	2011-12-20 11:42:36.985633921 +0100
+@@ -425,7 +425,21 @@
+ #if defined(HAVE_GETLOADAVG)
+ 	return ::getloadavg(loadavg, nelem);
+ #else
+-# error getloadavg not available
++        FILE *LOADAVG;
++        double avg[3] = { 0.0, 0.0, 0.0 };
++        int i, res = -1;;
++
++        if ((LOADAVG = fopen("/proc/loadavg", "r"))) {
++                fscanf(LOADAVG, "%lf %lf %lf", &avg[0], &avg[1], &avg[2]);
++                res = 0;
++                fclose(LOADAVG);
++        }
++
++        for (i = 0; (i < nelem) && (i < 3); i++) {
++                loadavg[i] = avg[i];
++        }
++
++        return res;
+ #endif
+ }
+ 
recipes-core/openjdk/openjdk-7-75b13/fix-checksums.patch new file +28 -0
new file mode 100644
index 0000000..5623448
@@ -0,0 +1,28 @@
+--- icedtea-2.5.4/Makefile.am	2015-04-02 10:48:12.919550836 +0200
++++ icedtea-2.5.4/Makefile.am	2015-04-02 10:49:41.483806147 +0200
+@@ -11,12 +11,12 @@
+ LANGTOOLS_CHANGESET = 960cdffa8b3f
+ OPENJDK_CHANGESET = 6cf2880aab5e
+ 
+-CORBA_SHA256SUM = 7411fe2df795981124ae2e4da0ddb7d98db0a94c9399a12876be03e7177eaa0b
+-JAXP_SHA256SUM = 84623e50b69710d12209fc761a49953c78f1a664ff54e022a77e35e25489f2f3
+-JAXWS_SHA256SUM = 4bd38a8121d85c422b425177ce648afdee9da18812c91c5b74939c58db33ab4b
+-JDK_SHA256SUM = e99b65baf66d8818e3c8fd31d71fbad4ad0ceb0b7fa4c2e0607eca3a40f2ba09
+-LANGTOOLS_SHA256SUM = 4fd76cbdf18174128863514b4d3997cb623368697bf4f5af6d079dbbcd7b378a
+-OPENJDK_SHA256SUM = 88c92a3cab37446352086876771733229b1602d4f79ef68629a151180652e1f1
++CORBA_SHA256SUM = da21a7e17c30f87f180a4e4712c32c382d9dc522c29736bb745cfc238bcea7a4
++JAXP_SHA256SUM = d9e3c87357f0be354f7f76f820e97fb8fe918dd1bfeb223ff0958a662539f851
++JAXWS_SHA256SUM = b8154336679168deaa4fc076a1951f54073153d398ab840dfed3df456e4f4ae9
++JDK_SHA256SUM = a5db2c28f23fee351aaa7fd783fbcd14a6f77c62d753fe6d52ab8b5b97a4720b
++LANGTOOLS_SHA256SUM = daab93539d7c840865121f06dc7e0ec441656c2dc249ecee44aa2049643a4db3
++OPENJDK_SHA256SUM = 4387e53911667b6324421d9a1ea5c098fa5fb56a10f659124c1e10df3486e393
+ 
+ DROP_URL = http://icedtea.classpath.org/download/drops
+ 
+--- icedtea-2.5.4/hotspot.map.in	2015-01-22 05:28:55.952757442 +0100
++++ icedtea-2.5.4/hotspot.map.in	2015-04-07 10:41:38.713960082 +0200
+@@ -1,3 +1,3 @@
+ # version type(drop/hg) url changeset sha256sum
+-default drop http://icedtea.classpath.org/download/drops/icedtea7/@ICEDTEA_RELEASE@ 6144ca9b6a72 4825f8543aa0c065530b05b0a95915a44eea153bbb696d2ffc4b50a398813e34
++default drop http://icedtea.classpath.org/download/drops/icedtea7/@ICEDTEA_RELEASE@ 67b77521a2fd 050684e8c46b680728f477eba2546550d65ed3ded82329027f6163a3d8c5359a
+ aarch64 drop http://icedtea.classpath.org/download/drops/icedtea7/@ICEDTEA_RELEASE@ 4d25046abb67 60da8d427f7e3659f701e54c763ea8366d8af3280c7e10670004938b2f07efef
recipes-core/openjdk/openjdk-7-75b13/fix_hotspot_crosscompile.patch new file +52 -0

52 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-75b13/icedtea-add-usr-lib-jni-to-DEFAULT_LIBPATH.patch new file +19 -0
new file mode 100644
index 0000000..fc78b96
@@ -0,0 +1,19 @@
+From: Mario Domenech Goulart <[email protected]>
+Organization: O.S. Systems Software LTDA.
+
+Upstream-Status: Pending
+---
+--- openjdk/hotspot/src/os/linux/vm/os_linux.cpp	2015-03-30 13:43:43.433168285 -0300
++++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp	2015-03-30 13:45:57.601833592 -0300
+@@ -410,9 +410,9 @@
+  *        7: The default directories, normally /lib and /usr/lib.
+  */
+ #if defined(AMD64) || defined(_LP64) && (defined(SPARC) || defined(PPC) || defined(S390) || defined(AARCH64)) || defined(BUILTIN_SIM)
+-#define DEFAULT_LIBPATH "/usr/lib64:/lib64:/lib:/usr/lib"
++#define DEFAULT_LIBPATH "/usr/lib64:/lib64:/lib:/usr/lib:/usr/lib64/jni:/usr/lib/jni"
+ #else
+-#define DEFAULT_LIBPATH "/lib:/usr/lib"
++#define DEFAULT_LIBPATH "/lib:/usr/lib:/usr/lib/jni"
+ #endif
+ 
+ #define EXTENSIONS_DIR  "/lib/ext"
recipes-core/openjdk/openjdk-7-75b13/icedtea-crosscompile-fix.patch new file +355 -0

355 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-75b13/icedtea-jdk-nio-use-host-cc.patch new file +74 -0

75 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-75b13/icedtea-jdk-rmi-crosscompile.patch new file +13 -0
new file mode 100644
index 0000000..55f1f9c
@@ -0,0 +1,13 @@
+diff --git openjdk/jdk/make/com/sun/jmx/Makefile openjdk/jdk/make/com/sun/jmx/Makefile
+index eaf8a6e..4938613 100644
+--- openjdk/jdk/make/com/sun/jmx/Makefile
++++ openjdk/jdk/make/com/sun/jmx/Makefile
+@@ -102,7 +102,7 @@ FILES_ties   = $(subst javax/management/remote/rmi/,javax/management/remote/rmi/
+ # when available, we need to run with latest rmic version available. rmic 
+ # launch tool not built at this stage but we can invoke via rmi class.
+ 
+-RMIC_JAVA = $(OUTPUTDIR)/bin/java
++RMIC_JAVA = $(BOOTDIR)/bin/java
+ # need to treat 64bit solaris differently
+ ifeq ($(PLATFORM)-$(LIBARCH), solaris-amd64)
+ RMIC_JAVA = $(OUTPUTDIR)/bin/amd64/java
recipes-core/openjdk/openjdk-7-75b13/icedtea-libnet-renaming.patch new file +236 -0

236 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-75b13/icedtea-openjdk-remove-currency-data-generation-expi.patch new file +25 -0
new file mode 100644
index 0000000..6dd36af
@@ -0,0 +1,25 @@
+From 7df2fd1014a0c31f518be4f6a0018533f469d584 Mon Sep 17 00:00:00 2001
+From: Alex Gonzalez <[email protected]>
+Date: Wed, 31 Dec 2014 16:07:32 +0100
+Subject: [PATCH] icedtea: openjdk: remove currency data generation expiration
+ date
+
+Signed-off-by: Alex Gonzalez <[email protected]>
+---
+ .../src/build/tools/generatecurrencydata/GenerateCurrencyData.java     | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git openjdk/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java openjdk/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java
+index bf335fa22c1d..0e421360fef9 100644
+--- openjdk/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java
++++ openjdk/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java
+@@ -281,9 +281,6 @@ public class GenerateCurrencyData {
+             checkCurrencyCode(newCurrency);
+             String timeString = currencyInfo.substring(4, length - 4);
+             long time = format.parse(timeString).getTime();
+-            if (Math.abs(time - System.currentTimeMillis()) > ((long) 10) * 365 * 24 * 60 * 60 * 1000) {
+-                throw new RuntimeException("time is more than 10 years from present: " + time);
+-            }
+             specialCaseCutOverTimes[specialCaseCount] = time;
+             specialCaseOldCurrencies[specialCaseCount] = oldCurrency;
+             specialCaseOldCurrenciesDefaultFractionDigits[specialCaseCount] = getDefaultFractionDigits(oldCurrency);
recipes-core/openjdk/openjdk-7-75b13/icedtea-remove_werror.patch new file +16 -0
new file mode 100644
index 0000000..f78f2b3
@@ -0,0 +1,16 @@
+diff --git openjdk/hotspot/make/linux/makefiles/gcc.make openjdk/hotspot/make/linux/makefiles/gcc.make
+index 42f6843..765fc6d 100644
+--- openjdk/hotspot/make/linux/makefiles/gcc.make
++++ openjdk/hotspot/make/linux/makefiles/gcc.make
+@@ -149,11 +149,6 @@ else
+   CFLAGS += -pipe
+ endif
+ 
+-# Compiler warnings are treated as errors
+-ifneq ($(COMPILER_WARNINGS_FATAL),false)
+-WARNINGS_ARE_ERRORS = -Werror
+-endif
+-
+ # Except for a few acceptable ones
+ # Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit
+ # conversions which might affect the values. To avoid that, we need to turn
recipes-core/openjdk/openjdk-7-75b13/icedtea-shark-arm-linux-cpu-detection.patch new file +113 -0

113 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-75b13/icedtea-unbreak-float.patch new file +18 -0
new file mode 100644
index 0000000..c03b23c
@@ -0,0 +1,18 @@
+diff --git openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h
+index c24c781..ccdc41a 100644
+--- openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h
++++ openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h
+@@ -32,13 +32,11 @@
+ #endif
+ #include "jfdlibm.h"
+ 
+-#ifdef __NEWVALID       /* special setup for Sun test regime */
+ #if defined(i386) || defined(i486) || \
+     defined(intel) || defined(x86) || defined(arm) || \
+     defined(i86pc) || defined(_M_IA64) || defined(ia64)
+ #define _LITTLE_ENDIAN
+ #endif
+-#endif
+ 
+ #ifdef _LITTLE_ENDIAN
+ #define __HI(x) *(1+(int*)&x)
recipes-core/openjdk/openjdk-7-75b13/icedtea-unset-NIO_PLATFORM_CLASSES_ROOT_DIR.patch new file +13 -0
new file mode 100644
index 0000000..3f7d70a
@@ -0,0 +1,13 @@
+diff --git openjdk/jdk/make/java/nio/Makefile openjdk/jdk/make/java/nio/Makefile
+index 898272e..c5ca547 100644
+--- openjdk/jdk/make/java/nio/Makefile
++++ openjdk/jdk/make/java/nio/Makefile
+@@ -48,6 +48,8 @@ include FILES_java.gmk
+ include FILES_c.gmk
+ include Exportedfiles.gmk
+ 
++NIO_PLATFORM_CLASSES_ROOT_DIR =
++
+ ifeq ($(PLATFORM), windows)
+ FILES_java += \
+ 	sun/nio/ch/Iocp.java \
recipes-core/openjdk/openjdk-7-75b13/icedtea-zero-hotspotfix.patch new file +36 -0
new file mode 100644
index 0000000..e97e4fc
@@ -0,0 +1,36 @@
+diff --git openjdk/hotspot/make/linux/makefiles/zeroshark.make openjdk/hotspot/make/linux/makefiles/zeroshark.make
+index c2a1484..156bdd0 100644
+--- openjdk/hotspot/make/linux/makefiles/zeroshark.make
++++ openjdk/hotspot/make/linux/makefiles/zeroshark.make
+@@ -33,26 +33,27 @@
+ Obj_Files += arm32JIT.o
+ 
+ CFLAGS += -DHOTSPOT_ASM
++CCFLAGS += -DHOTSPOT_ASM
+ 
+ cppInterpreter_arm.o:	offsets_arm.s bytecodes_arm.s
+ arm32JIT.o:		offsets_arm.s
+ 
+ offsets_arm.s:	mkoffsets
+ 	@echo Generating assembler offsets
+-	./mkoffsets > $@
++	$(QEMU) ./mkoffsets > $@
+ 
+ bytecodes_arm.s: bytecodes_arm.def mkbc
+ 	@echo Generating ARM assembler bytecode sequences
+-	$(CXX_COMPILE) -E -x c++ - < $< | ./mkbc - $@ $(COMPILE_DONE)
++	$(CXX_COMPILE) -E -x c++ - < $< | $(QEMU) ./mkbc - $@ $(COMPILE_DONE)
+ 
+ mkbc:	$(GAMMADIR)/tools/mkbc.c
+ 	@echo Compiling mkbc tool
+-	$(CC_COMPILE) -o $@ $< $(COMPILE_DONE)
++	$(CC_COMPILE) -static -fuse-ld=bfd -o $@ $< $(COMPILE_DONE)
+ 
+ mkoffsets:	asm_helper.cpp
+ 	@echo Compiling offset generator
+ 	$(QUIETLY) $(REMOVE_TARGET)
+-	$(CXX_COMPILE) -DSTATIC_OFFSETS -o $@ $< $(COMPILE_DONE)
++	$(CXX_COMPILE) -static -fuse-ld=bfd -DSTATIC_OFFSETS -o $@ $< $(COMPILE_DONE)
+ 
+ endif
+ endif
recipes-core/openjdk/openjdk-7-75b13/jvm.cfg new file +43 -0

43 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-75b13/remove-sun.misc.Perf-debug-code.patch new file +47 -0

47 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-common.inc +5 -4
index 55d010e..b697688 100644
@@ -26,12 +26,12 @@ PN = "${JDKPN}-jre"
 PROVIDES += "${JDKPN}"
 
 DEPENDS = " \
-           icedtea6-native zip-native ant-native \
+           icedtea7-native zip-native ant-native \
            zlib \
 	   jpeg libpng giflib \
            gtk+ glib-2.0 \
            cups fontconfig \
-	   rhino \
+           rhino krb5 \
 	   libxt libxinerama libxrender libxtst libxi \
 	   freetype alsa-lib libffi \
           "
@@ -70,7 +70,7 @@ WITH_ADDITIONAL_VMS ?= "--with-additional-vms=cacao,jamvm"
 # e.g. "-j 4".
 
 OPENJDK_PARALLEL_MAKE := "${PARALLEL_MAKE}"
-PARALLEL_MAKE =  ""
+PARALLEL_MAKE = ""
 
 def get_jdk7_jobs(d):
     import bb
@@ -101,7 +101,7 @@ EXTRA_OECONF = " \
 	\
         --enable-zero \
 	\
-	--with-jdk-home=${STAGING_LIBDIR_JVM_NATIVE}/icedtea6-native \
+	--with-jdk-home=${STAGING_LIBDIR_JVM_NATIVE}/icedtea7-native \
 	--with-rhino=${STAGING_DATADIR_JAVA}/rhino.jar \
 	\
         --with-openjdk-src-zip=${WORKDIR}/${OPENJDK_FILE} \
@@ -226,6 +226,7 @@ PACKAGES = " \
 FILES_${JDKPN}-dbg = "\
 	${JDK_HOME}/bin/.debug \
 	${JDK_HOME}/lib/.debug \
+	${JDK_HOME}/lib/${JDK_ARCH}/jli/.debug \
 	${JDK_HOME}/jre/bin/.debug \
 	${JDK_HOME}/jre/lib/.debug \
 	${JDK_HOME}/jre/lib/${JDK_ARCH}/.debug \
recipes-core/openjdk/openjdk-7-release-75b13.inc new file +102 -0

102 lines not on this page · raw message

recipes-core/openjdk/openjdk-7_75b13-2.5.4.bb new file +36 -0
new file mode 100644
index 0000000..ac37846
@@ -0,0 +1,36 @@
+require openjdk-7-release-75b13.inc
+
+PR = "${INC_PR}.1"
+
+SRC_URI[iced.md5sum] = "646064d7a8d57c2cae0ef35a05de57c8"
+SRC_URI[iced.sha256sum] = "5301b9a8592af2cf8e3e7a3650e5e1fe744c6d2de7f8ff78080b2eeae86a9800"
+
+CORBA_CHANGESET = "3c9f523bf96e"
+SRC_URI[corba.md5sum] = "fe08a1bdf6e5b9c6541f9ba5d12a8c7e"
+SRC_URI[corba.sha256sum] = "da21a7e17c30f87f180a4e4712c32c382d9dc522c29736bb745cfc238bcea7a4"
+
+JAXP_CHANGESET = "ca26767d3375"
+SRC_URI[jaxp.md5sum] = "9479cc9bbe888cef835da2529fa6e07e"
+SRC_URI[jaxp.sha256sum] = "d9e3c87357f0be354f7f76f820e97fb8fe918dd1bfeb223ff0958a662539f851"
+
+JAXWS_CHANGESET = "9a6c90336922"
+SRC_URI[jaxws.md5sum] = "a4cc532e6244637d2a185547075a057a"
+SRC_URI[jaxws.sha256sum] = "b8154336679168deaa4fc076a1951f54073153d398ab840dfed3df456e4f4ae9"
+
+JDK_CHANGESET = "1e6db4f8b0f3"
+SRC_URI[jdk.md5sum] = "466b5bac22960beea959f79ef9029899"
+SRC_URI[jdk.sha256sum] = "a5db2c28f23fee351aaa7fd783fbcd14a6f77c62d753fe6d52ab8b5b97a4720b"
+
+LANGTOOLS_CHANGESET = "960cdffa8b3f"
+SRC_URI[langtools.md5sum] = "a44baae860eafef49c6febb89c74acd8"
+SRC_URI[langtools.sha256sum] = "daab93539d7c840865121f06dc7e0ec441656c2dc249ecee44aa2049643a4db3"
+
+OPENJDK_CHANGESET = "6cf2880aab5e"
+SRC_URI[openjdk.md5sum] = "b3c781de9e0632b61c6a61bc87d93631"
+SRC_URI[openjdk.sha256sum] = "4387e53911667b6324421d9a1ea5c098fa5fb56a10f659124c1e10df3486e393"
+
+# located in hotspot.map
+# Replaced due to http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1851
+HOTSPOT_CHANGESET = "67b77521a2fd"
+SRC_URI[hotspot.md5sum] = "4bc7af1c7fd45c50ddfbb897730f0eb4"
+SRC_URI[hotspot.sha256sum] = "050684e8c46b680728f477eba2546550d65ed3ded82329027f6163a3d8c5359a"
Signature · 1 line
1.8.1.rc3
#5 lore raw

PATCH v2 5/7 openjdk-7: Remove OpenJDK 25b30 and IcedTea 2.3.12

We now have OpenJDK 75b13, so the old version should not be required anymore.

---
 .../openjdk/openjdk-7-25b30/build-hacks.patch      |  60 ----
 .../openjdk-7-25b30/cacao-arm-ucontext.patch       |  24 --
 .../openjdk/openjdk-7-25b30/cacao-libtoolize.patch |  12 -
 .../openjdk-7-25b30/cacao-loadavg-makefile.patch   |  13 -
 .../openjdk/openjdk-7-25b30/cacao-loadavg.patch    |  27 --
 .../openjdk/openjdk-7-25b30/cacao-update.patch     |  63 ----
 .../openjdk/openjdk-7-25b30/fix-checksums.patch    |  13 -
 .../openjdk-7-25b30/fix_hotspot_crosscompile.patch |  51 ---
 ...cedtea-add-usr-lib-jni-to-DEFAULT_LIBPATH.patch |  19 --
 .../icedtea-corba-parallel-make.patch              |  31 --
 .../openjdk-7-25b30/icedtea-crosscompile-fix.patch | 363 ---------------------
 .../openjdk-7-25b30/icedtea-fix-xrender.patch      |  13 -
 .../icedtea-hotspot-dlvsym-uclibc.patch            |  16 -
 .../icedtea-hotspot-glibc-version.patch            |  23 --
 .../openjdk-7-25b30/icedtea-hotspot-isfinte.patch  |  15 -
 .../openjdk-7-25b30/icedtea-hotspot-isnanf.patch   |  13 -
 .../openjdk-7-25b30/icedtea-hotspot-loadavg.patch  |  28 --
 .../openjdk-7-25b30/icedtea-jdk-iconv-uclibc.patch |  39 ---
 .../icedtea-jdk-nio-use-host-cc.patch              |  73 -----
 .../icedtea-jdk-powerpc-atomic64.patch             |  65 ----
 .../icedtea-jdk-ppc64-jvm-cfg.patch                |  41 ---
 .../icedtea-jdk-remove-unused-backtrace.patch      |  41 ---
 .../icedtea-jdk-unpack-uclibc.patch                |  10 -
 .../openjdk-7-25b30/icedtea-launcher-stdc++.patch  |  13 -
 .../openjdk-7-25b30/icedtea-libnet-renaming.patch  | 188 -----------
 ...njdk-remove-currency-data-generation-expi.patch |  25 --
 .../openjdk-7-25b30/icedtea-remove_werror.patch    |  16 -
 .../icedtea-shark-arm-linux-cpu-detection.patch    | 113 -------
 .../openjdk-7-25b30/icedtea-unbreak-float.patch    |  18 -
 ...edtea-unset-NIO_PLATFORM_CLASSES_ROOT_DIR.patch |  13 -
 .../openjdk-7-25b30/icedtea-zero-hotspotfix.patch  |  37 ---
 recipes-core/openjdk/openjdk-7-25b30/jvm.cfg       |  43 ---
 .../remove-sun.misc.Perf-debug-code.patch          |  47 ---
 recipes-core/openjdk/openjdk-7-release-25b30.inc   | 137 --------
 recipes-core/openjdk/openjdk-7_25b30-2.3.12.bb     |  36 --
 35 files changed, 1739 deletions(-)
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/build-hacks.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/cacao-arm-ucontext.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/cacao-libtoolize.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/cacao-loadavg-makefile.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/cacao-loadavg.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/cacao-update.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/fix-checksums.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/fix_hotspot_crosscompile.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-add-usr-lib-jni-to-DEFAULT_LIBPATH.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-corba-parallel-make.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-crosscompile-fix.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-fix-xrender.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-hotspot-dlvsym-uclibc.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-hotspot-glibc-version.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-hotspot-isfinte.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-hotspot-isnanf.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-hotspot-loadavg.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-iconv-uclibc.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-nio-use-host-cc.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-powerpc-atomic64.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-ppc64-jvm-cfg.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-remove-unused-backtrace.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-unpack-uclibc.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-launcher-stdc++.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-libnet-renaming.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-openjdk-remove-currency-data-generation-expi.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-remove_werror.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-shark-arm-linux-cpu-detection.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-unbreak-float.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-unset-NIO_PLATFORM_CLASSES_ROOT_DIR.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/icedtea-zero-hotspotfix.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/jvm.cfg
 delete mode 100644 recipes-core/openjdk/openjdk-7-25b30/remove-sun.misc.Perf-debug-code.patch
 delete mode 100644 recipes-core/openjdk/openjdk-7-release-25b30.inc
 delete mode 100644 recipes-core/openjdk/openjdk-7_25b30-2.3.12.bb
recipes-core/openjdk/openjdk-7-25b30/build-hacks.patch deleted +0 -60
deleted file mode 100644
index bf68037..0000000
@@ -1,60 +0,0 @@
-Index: icedtea-2.3.12/Makefile.am
-===================================================================
---- icedtea-2.3.12.orig/Makefile.am	2013-07-26 18:17:45.499466367 +0000
-+++ icedtea-2.3.12/Makefile.am	2013-07-30 21:04:46.761410713 +0000
-@@ -471,6 +471,12 @@
- 	JAVAC="" \
- 	JAVA_HOME="" \
- 	JDK_HOME="" \
-+	OE_CFLAGS="$(OE_CFLAGS)" \
-+	OE_CPPFLAGS="$(OE_CPPFLAGS)" \
-+	OE_CXXFLAGS="$(OE_CXXFLAGS)" \
-+	OE_LDFLAGS="$(OE_LDFLAGS)" \
-+	OE_LAUNCHER_LDFLAGS="$(OE_LAUNCHER_LDFLAGS)" \
-+        DISTRIBUTION_ID="$(DIST_ID)" \
- 	QUIETLY="" \
- 	ANT_RESPECT_JAVA_HOME="TRUE" \
- 	DISTRIBUTION_ID="$(DIST_ID)" \
-@@ -2028,7 +2034,11 @@
- if BUILD_JAMVM
- 	cd jamvm/jamvm && \
- 	./autogen.sh --with-java-runtime-library=openjdk7 \
--	  --prefix=$(abs_top_builddir)/jamvm/install ; \
-+	  --prefix=$(abs_top_builddir)/jamvm/install \
-+	  --host=$(host_alias) \
-+	  --build=$(build_alias) \
-+	  --target=$(target_alias)  \
-+	  --with-libtool-sysroot=${ALT_FREETYPE_LIB_PATH} ; \
- 	$(MAKE) ; \
- 	$(MAKE) install
- 	mkdir -p $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/server
-@@ -2093,6 +2103,7 @@
- 	  --host=$(host_alias) \
- 	  --build=$(build_alias) \
- 	  --target=$(target_alias) \
-+	  --with-libtool-sysroot=${ALT_FREETYPE_LIB_PATH} \
- 	  --prefix=$(abs_top_builddir)/cacao/install \
- 	  --with-java-runtime-library=openjdk7 \
- 	  --with-java-runtime-library-prefix=$(abs_top_builddir)/openjdk \
-@@ -2160,7 +2171,7 @@
- # configure script arguments, quoted in single quotes
- CONFIGURE_ARGS = @CONFIGURE_ARGS@
- ADD_ZERO_CONFIGURE_ARGS = \
--	--with-jdk-home=$(BUILD_OUTPUT_DIR)/j2sdk-image \
-+	--with-jdk-home=$(abs_top_builddir)/bootstrap/jdk1.6.0 \
- 	--disable-bootstrap --enable-zero
- if ADD_SHARK_BUILD
- ADD_ZERO_CONFIGURE_ARGS += \
-Index: icedtea-2.3.12/javac.in
-===================================================================
---- icedtea-2.3.12.orig/javac.in	2013-07-24 21:33:57.224612327 +0000
-+++ icedtea-2.3.12/javac.in	2013-07-30 19:41:56.240277496 +0000
-@@ -77,5 +77,7 @@
-     my @CLASSPATH = ('@ECJ_JAR@');
-     push @CLASSPATH, split /:/, $ENV{"CLASSPATH"} if exists $ENV{"CLASSPATH"};
-     $ENV{"CLASSPATH"} = join ':', @CLASSPATH;
--    exec '@JAVA@', 'org.eclipse.jdt.internal.compiler.batch.Main', @ecj_parms, @ecj_args;
-+    # Compiling hotspot-tools consumes tons of memory and exceeds any default
-+    # limits for jamvm and cacao.
-+    exec '@JAVA@', '-Xmx1024m', 'org.eclipse.jdt.internal.compiler.batch.Main', @ecj_parms, @ecj_args;
- }
recipes-core/openjdk/openjdk-7-25b30/cacao-arm-ucontext.patch deleted +0 -24
deleted file mode 100644
index c21fcf1..0000000
@@ -1,24 +0,0 @@
-Index: cacao-a567bcb7f589/src/vm/jit/arm/linux/md-os.c
-===================================================================
---- cacao-a567bcb7f589/src/vm/jit/arm/linux/md-os.c	2013-01-26 21:30:54.206581090 +0100
-+++ cacao-a567bcb7f589/src/vm/jit/arm/linux/md-os.c	2013-01-26 21:31:34.406991316 +0100
-@@ -28,19 +28,7 @@
- 
- #include <stdint.h>
- 
--#define ucontext broken_glibc_ucontext
--#define ucontext_t broken_glibc_ucontext_t
- #include <ucontext.h>
--#undef ucontext
--#undef ucontext_t
--
--typedef struct ucontext {
--   unsigned long     uc_flags;
--   struct ucontext  *uc_link;
--   stack_t           uc_stack;
--   struct sigcontext uc_mcontext;
--   sigset_t          uc_sigmask;
--} ucontext_t;
- 
- #define scontext_t struct sigcontext
- 
recipes-core/openjdk/openjdk-7-25b30/cacao-libtoolize.patch deleted +0 -12
deleted file mode 100644
index 484cb10..0000000
@@ -1,12 +0,0 @@
-Index: icedtea6/Makefile.am
-===================================================================
---- icedtea6.orig/Makefile.am	2011-12-21 22:58:23.000000000 +0100
-+++ icedtea6/Makefile.am	2011-12-21 23:00:21.405887186 +0100
-@@ -1922,6 +1922,7 @@
- if BUILD_CACAO
- if !USE_SYSTEM_CACAO
- 	cd cacao/cacao && \
-+	rm -f libtool && \
- 	./autogen.sh && \
- 	$(ARCH_PREFIX) ./configure \
- 	  --host=$(host_alias) \
recipes-core/openjdk/openjdk-7-25b30/cacao-loadavg-makefile.patch deleted +0 -13
deleted file mode 100644
index 81ac590..0000000
@@ -1,13 +0,0 @@
-Index: icedtea-2.1.4/Makefile.am
-===================================================================
---- icedtea-2.1.4.orig/Makefile.am	2013-01-26 18:20:55.152561203 +0100
-+++ icedtea-2.1.4/Makefile.am	2013-01-26 18:41:07.637992206 +0100
-@@ -1994,6 +1994,8 @@
- if BUILD_CACAO
- if !USE_SYSTEM_CACAO
- 	cd cacao/cacao && \
-+	patch -p1 -N < $(abs_top_srcdir)/patches/cacao-loadavg.patch && \
-+        patch -p1 -N < $(abs_top_srcdir)/patches/cacao-arm-ucontext.patch && \
- 	rm -f libtool && \
- 	./autogen.sh && \
- 	$(ARCH_PREFIX) ./configure \
recipes-core/openjdk/openjdk-7-25b30/cacao-loadavg.patch deleted +0 -27
deleted file mode 100644
index 0fc1a81..0000000
@@ -1,27 +0,0 @@
-Index: cacao-cff92704c4e0/src/vm/os.hpp
-===================================================================
---- cacao-cff92704c4e0/src/vm/os.hpp	2011-12-08 13:40:45.000000000 +0100
-+++ cacao-cff92704c4e0/src/vm/os.hpp	2011-12-20 11:42:36.985633921 +0100
-@@ -425,7 +425,21 @@
- #if defined(HAVE_GETLOADAVG)
- 	return ::getloadavg(loadavg, nelem);
- #else
--# error getloadavg not available
-+        FILE *LOADAVG;
-+        double avg[3] = { 0.0, 0.0, 0.0 };
-+        int i, res = -1;;
-+
-+        if ((LOADAVG = fopen("/proc/loadavg", "r"))) {
-+                fscanf(LOADAVG, "%lf %lf %lf", &avg[0], &avg[1], &avg[2]);
-+                res = 0;
-+                fclose(LOADAVG);
-+        }
-+
-+        for (i = 0; (i < nelem) && (i < 3); i++) {
-+                loadavg[i] = avg[i];
-+        }
-+
-+        return res;
- #endif
- }
- 
recipes-core/openjdk/openjdk-7-25b30/cacao-update.patch deleted +0 -63

63 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-25b30/fix-checksums.patch deleted +0 -13
deleted file mode 100644
index bb05b3b..0000000
@@ -1,13 +0,0 @@
-Index: icedtea-2.3.12/Makefile.am
-===================================================================
---- icedtea-2.3.12.orig/Makefile.am	2013-07-29 13:18:15.437439600 +0000
-+++ icedtea-2.3.12/Makefile.am	2013-07-29 13:18:40.921456562 +0000
-@@ -16,7 +16,7 @@
- JAXWS_SHA256SUM = b149c1fab323a586eae9b4459ccd929f0db8b35769e42dd7f4fbadc48b803dab
- JDK_SHA256SUM = badbbf50c820325ffe592762a2eff3414df71e286460b75716a2100d7f6f2aa0
- LANGTOOLS_SHA256SUM = b9e2e3c97393f566b0c4dc2b0ca826bfb3b3841f5522a850b82d1ff23745839b
--OPENJDK_SHA256SUM = 7bc64e2285b5bfefeb6a3900729c58beb2f04f2c57184a4fe48341c5087c3f61
-+OPENJDK_SHA256SUM = d1132bdde0e19d8e4d2516213bce7aa50b4b6d1ab04a82bf7a0440d6184db842
- 
- CACAO_VERSION = a567bcb7f589
- CACAO_SHA256SUM = d49f79debc131a5694cae6ab3ba2864e7f3249ee8d9dc09aae8afdd4dc6b09f9
recipes-core/openjdk/openjdk-7-25b30/fix_hotspot_crosscompile.patch deleted +0 -51

51 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-25b30/icedtea-add-usr-lib-jni-to-DEFAULT_LIBPATH.patch deleted +0 -19
deleted file mode 100644
index fb48879..0000000
@@ -1,19 +0,0 @@
-From: Mario Domenech Goulart <[email protected]>
-Organization: O.S. Systems Software LTDA.
-
-Upstream-Status: Pending
----
---- openjdk/hotspot/src/os/linux/vm/os_linux.cpp	2015-03-30 13:43:43.433168285 -0300
-+++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp	2015-03-30 13:45:57.601833592 -0300
-@@ -388,9 +388,9 @@
-  *        7: The default directories, normally /lib and /usr/lib.
-  */
- #if defined(AMD64) || defined(_LP64) && (defined(SPARC) || defined(PPC) || defined(S390))
--#define DEFAULT_LIBPATH "/usr/lib64:/lib64:/lib:/usr/lib"
-+#define DEFAULT_LIBPATH "/usr/lib64:/lib64:/lib:/usr/lib:/usr/lib64/jni:/usr/lib/jni"
- #else
--#define DEFAULT_LIBPATH "/lib:/usr/lib"
-+#define DEFAULT_LIBPATH "/lib:/usr/lib:/usr/lib/jni"
- #endif
- 
- #define EXTENSIONS_DIR  "/lib/ext"
recipes-core/openjdk/openjdk-7-25b30/icedtea-corba-parallel-make.patch deleted +0 -31
deleted file mode 100644
index 3e2893c..0000000
@@ -1,31 +0,0 @@
-diff --git openjdk/corba/make/Makefile openjdk/corba/make/Makefile
-index d81c66c..4f750e8 100644
---- openjdk/corba/make/Makefile
-+++ openjdk/corba/make/Makefile
-@@ -134,7 +134,7 @@ default: all
- #----- classes.jar
- 
- CLASSES_JAR = $(LIB_DIR)/classes.jar
--$(CLASSES_JAR):
-+$(CLASSES_JAR): build
- 	$(MKDIR) -p $(@D)
- 	$(BOOT_JAR_CMD) -cf $@ -C $(CLASSES_DIR) .
- 
-@@ -144,6 +144,7 @@ SRC_ZIP_FILES = $(shell $(FIND) $(SRC_CLASSES_DIR) \( -name \*-template \) -prun
- 
- SRC_ZIP = $(LIB_DIR)/src.zip
- $(SRC_ZIP): $(SRC_ZIP_FILES)
-+	$(MKDIR) -p $(@D)
- 	abs_src_zip=`cd $(@D) ; pwd`/$(@F) ; \
- 	( cd $(SRC_CLASSES_DIR) ; $(FIND) . \( -name \*-template \) -prune -o -type f -print | $(ZIP) -q $$abs_src_zip -@ ) ; \
- 	( cd $(GENSRC_DIR) ; $(FIND) . -type f -print | $(ZIP) -q $$abs_src_zip -@ ) ;
-@@ -153,7 +154,8 @@ $(SRC_ZIP): $(SRC_ZIP_FILES)
- BIN_ZIP_FILES = $(BUILD_DIR)/lib/orb.idl $(BUILD_DIR)/lib/ir.idl
- 
- BIN_ZIP = $(LIB_DIR)/bin.zip
--$(BIN_ZIP): $(BIN_ZIP_FILES)
-+$(BIN_ZIP): build $(BIN_ZIP_FILES)
-+	$(MKDIR) -p $(@D)
- 	abs_bin_zip=`cd $(@D) ; pwd`/$(@F) ; \
- 	( cd $(BUILD_DIR) ; $(FIND) lib -name "*.idl" -print | $(ZIP) -q $$abs_bin_zip -@ ) ;
- 
recipes-core/openjdk/openjdk-7-25b30/icedtea-crosscompile-fix.patch deleted +0 -363

363 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-25b30/icedtea-fix-xrender.patch deleted +0 -13
deleted file mode 100644
index 4bd8b2c..0000000
@@ -1,13 +0,0 @@
-Index: openjdk/jdk/src/solaris/native/sun/java2d/x11/XRSurfaceData.c
-===================================================================
---- openjdk.orig/jdk/src/solaris/native/sun/java2d/x11/XRSurfaceData.c	2011-10-19 16:56:03.014276748 +0200
-+++ openjdk/jdk/src/solaris/native/sun/java2d/x11/XRSurfaceData.c	2011-10-19 16:57:19.942658211 +0200
-@@ -29,7 +29,7 @@
- #include "X11SurfaceData.h"
- 
- /*#include <xcb/xcb.h>*/
--#include <Xrender.h>
-+#include <X11/extensions/Xrender.h>
- 
- #ifndef RepeatNone  /* added in 0.10 */
- #define RepeatNone    0
recipes-core/openjdk/openjdk-7-25b30/icedtea-hotspot-dlvsym-uclibc.patch deleted +0 -16
deleted file mode 100644
index 657f722..0000000
@@ -1,16 +0,0 @@
-Index: openjdk/hotspot/src/os/linux/vm/os_linux.cpp
-===================================================================
---- openjdk/hotspot/src/os/linux/vm/os_linux.cpp	2011-12-20 19:15:05.000000000 +0100
-+++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp	2011-12-20 19:18:22.411503442 +0100
-@@ -2593,10 +2593,7 @@
- // If we are running with earlier version, which did not have symbol versions,
- // we should use the base version.
- void* os::Linux::libnuma_dlsym(void* handle, const char *name) {
--  void *f = dlvsym(handle, name, "libnuma_1.1");
--  if (f == NULL) {
--    f = dlsym(handle, name);
--  }
-+  void *f = dlsym(handle, name);
-   return f;
- }
- 
recipes-core/openjdk/openjdk-7-25b30/icedtea-hotspot-glibc-version.patch deleted +0 -23
deleted file mode 100644
index faa90ea..0000000
@@ -1,23 +0,0 @@
-Index: icedtea6-1.8/build/openjdk/hotspot/src/os/linux/vm/os_linux.cpp
-===================================================================
---- openjdk/hotspot/src/os/linux/vm/os_linux.cpp	2010-06-09 22:22:13.696298239 +0200
-+++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp	2010-06-09 22:24:15.308790737 +0200
-@@ -49,7 +49,6 @@
- # include <string.h>
- # include <syscall.h>
- # include <sys/sysinfo.h>
--# include <gnu/libc-version.h>
- # include <sys/ipc.h>
- # include <sys/shm.h>
- # include <link.h>
-@@ -544,9 +543,7 @@
-      os::Linux::set_glibc_version(str);
-   } else {
-      // _CS_GNU_LIBC_VERSION is not supported, try gnu_get_libc_version()
--     static char _gnu_libc_version[32];
--     jio_snprintf(_gnu_libc_version, sizeof(_gnu_libc_version),
--              "glibc %s %s", gnu_get_libc_version(), gnu_get_libc_release());
-+     static char _gnu_libc_version[32] = "2.9";
-      os::Linux::set_glibc_version(_gnu_libc_version);
-   }
- 
recipes-core/openjdk/openjdk-7-25b30/icedtea-hotspot-isfinte.patch deleted +0 -15
deleted file mode 100644
index 7c5da59..0000000
@@ -1,15 +0,0 @@
-Index: icedtea6-1.8/build/openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
-===================================================================
---- openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp	2010-06-09 21:41:28.576131825 +0200
-+++ openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp	2010-06-09 21:41:55.555711815 +0200
-@@ -235,8 +235,8 @@
- 
- // Checking for finiteness
- 
--inline int g_isfinite(jfloat  f)                 { return finite(f); }
--inline int g_isfinite(jdouble f)                 { return finite(f); }
-+inline int g_isfinite(jfloat  f)                 { return isfinite(f); }
-+inline int g_isfinite(jdouble f)                 { return isfinite(f); }
- 
- 
- // Wide characters
recipes-core/openjdk/openjdk-7-25b30/icedtea-hotspot-isnanf.patch deleted +0 -13
deleted file mode 100644
index b2ddfa9..0000000
@@ -1,13 +0,0 @@
-diff --git openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
-index 659d4da..68a06d5 100644
---- openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
-+++ openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
-@@ -253,7 +253,7 @@ inline int g_isnan(double f) { return isnand(f); }
- #elif defined(__APPLE__)
- inline int g_isnan(double f) { return isnan(f); }
- #elif defined(LINUX) || defined(_ALLBSD_SOURCE)
--inline int g_isnan(float  f) { return isnanf(f); }
-+inline int g_isnan(float  f) { return __isnanf(f); }
- inline int g_isnan(double f) { return isnan(f); }
- #else
- #error "missing platform-specific definition here"
recipes-core/openjdk/openjdk-7-25b30/icedtea-hotspot-loadavg.patch deleted +0 -28
deleted file mode 100644
index 7da41fd..0000000
@@ -1,28 +0,0 @@
-Index: icedtea6-1.8/build/openjdk/hotspot/src/os/linux/vm/os_linux.cpp
-===================================================================
---- openjdk/hotspot/src/os/linux/vm/os_linux.cpp	2010-06-09 22:16:09.406334411 +0200
-+++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp	2010-06-09 22:19:38.952152043 +0200
-@@ -4325,7 +4325,22 @@
- // Linux doesn't yet have a (official) notion of processor sets,
- // so just return the system wide load average.
- int os::loadavg(double loadavg[], int nelem) {
--  return ::getloadavg(loadavg, nelem);
-+
-+	FILE *LOADAVG;
-+	double avg[3] = { 0.0, 0.0, 0.0 };
-+	int i, res = -1;;
-+
-+	if ((LOADAVG = fopen("/proc/loadavg", "r"))) {
-+		fscanf(LOADAVG, "%lf %lf %lf", &avg[0], &avg[1], &avg[2]);
-+		res = 0;
-+		fclose(LOADAVG);
-+	}
-+
-+	for (i = 0; (i < nelem) && (i < 3); i++) {
-+		loadavg[i] = avg[i];
-+	}
-+
-+	return res;
- }
- 
- void os::pause() {
recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-iconv-uclibc.patch deleted +0 -39
deleted file mode 100644
index 68f8581..0000000
@@ -1,39 +0,0 @@
-Index: openjdk/jdk/make/java/npt/Makefile
-===================================================================
---- openjdk/jdk/make/java/npt/Makefile	2010-06-13 15:11:02.598512448 +0200
-+++ openjdk/jdk/make/java/npt/Makefile	2010-06-13 15:11:28.504759286 +0200
-@@ -65,6 +65,8 @@
- # We don't want to link against -ljava
- JAVALIB=
- 
-+LDLIBS += -liconv
-+
- # Add -export options to explicitly spell exported symbols
- ifeq ($(PLATFORM), windows)
-   OTHER_LCF += -export:nptInitialize -export:nptTerminate
-Index: icedtea6-1.8/openjdk-ecj/jdk/make/java/instrument/Makefile
-===================================================================
---- openjdk/jdk/make/java/instrument/Makefile	2010-06-13 15:12:14.688505195 +0200
-+++ openjdk/jdk/make/java/instrument/Makefile	2010-06-13 15:12:32.641425670 +0200
-@@ -123,6 +123,8 @@
- # We don't want to link against -ljava
- JAVALIB=
- 
-+LDLIBS += -liconv
-+
- #
- # Add to ambient vpath so we pick up the library files
- #
-Index: openjdk/jdk/make/sun/splashscreen/Makefile
-===================================================================
---- openjdk/jdk/make/sun/splashscreen/Makefile	2010-06-13 15:12:48.951840824 +0200
-+++ openjdk/jdk/make/sun/splashscreen/Makefile	2010-06-13 15:13:01.191422891 +0200
-@@ -55,6 +55,8 @@
- 
- JAVALIB=
- 
-+LDLIBS += -liconv
-+
- #
- # C Flags
- #
recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-nio-use-host-cc.patch deleted +0 -73

73 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-powerpc-atomic64.patch deleted +0 -65

65 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-ppc64-jvm-cfg.patch deleted +0 -41

41 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-remove-unused-backtrace.patch deleted +0 -41

41 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-unpack-uclibc.patch deleted +0 -10
deleted file mode 100644
index 7e98767..0000000
@@ -1,10 +0,0 @@
---- openjdk/jdk/make/com/sun/java/pack/Makefile
-+++ openjdk/jdk/make/com/sun/java/pack/Makefile
-@@ -103,6 +103,7 @@ else
-   OTHER_LDLIBS  += -lc $(LIBCXX)
- # setup the list of libraries to link in...
- ifeq ($(PLATFORM), linux)
-+  OTHER_LDLIBS  += -lpthread
- ifeq ("$(CC_VER_MAJOR)", "3")
-   OTHER_LDLIBS  += -Wl,-Bstatic -lgcc_eh -Wl,-Bdynamic
- endif
recipes-core/openjdk/openjdk-7-25b30/icedtea-launcher-stdc++.patch deleted +0 -13
deleted file mode 100644
index b97745d..0000000
@@ -1,13 +0,0 @@
-Index: openjdk/hotspot/make/linux/makefiles/launcher.make
-===================================================================
---- openjdk/hotspot/make/linux/makefiles/launcher.make	2011-12-20 10:33:37.000000000 +0100
-+++ openjdk/hotspot/make/linux/makefiles/launcher.make	2011-12-20 10:37:54.055022618 +0100
-@@ -51,7 +51,7 @@
- else
-   LAUNCHER.o                 = launcher.o
-   LFLAGS_LAUNCHER           += -L `pwd`
--  LIBS_LAUNCHER             += -l$(JVM) $(LIBS)
-+  LIBS_LAUNCHER             += -l$(JVM) $(LIBS) -lstdc++
-   ifeq ($(SHARK_BUILD), true)
-     LFLAGS_LAUNCHER += $(LLVM_LDFLAGS)
-     LIBS_LAUNCHER   += $(LLVM_LIBS)
recipes-core/openjdk/openjdk-7-25b30/icedtea-libnet-renaming.patch deleted +0 -188

188 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-25b30/icedtea-openjdk-remove-currency-data-generation-expi.patch deleted +0 -25
deleted file mode 100644
index 6dd36af..0000000
@@ -1,25 +0,0 @@
-From 7df2fd1014a0c31f518be4f6a0018533f469d584 Mon Sep 17 00:00:00 2001
-From: Alex Gonzalez <[email protected]>
-Date: Wed, 31 Dec 2014 16:07:32 +0100
-Subject: [PATCH] icedtea: openjdk: remove currency data generation expiration
- date
-
-Signed-off-by: Alex Gonzalez <[email protected]>
----
- .../src/build/tools/generatecurrencydata/GenerateCurrencyData.java     | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git openjdk/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java openjdk/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java
-index bf335fa22c1d..0e421360fef9 100644
---- openjdk/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java
-+++ openjdk/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java
-@@ -281,9 +281,6 @@ public class GenerateCurrencyData {
-             checkCurrencyCode(newCurrency);
-             String timeString = currencyInfo.substring(4, length - 4);
-             long time = format.parse(timeString).getTime();
--            if (Math.abs(time - System.currentTimeMillis()) > ((long) 10) * 365 * 24 * 60 * 60 * 1000) {
--                throw new RuntimeException("time is more than 10 years from present: " + time);
--            }
-             specialCaseCutOverTimes[specialCaseCount] = time;
-             specialCaseOldCurrencies[specialCaseCount] = oldCurrency;
-             specialCaseOldCurrenciesDefaultFractionDigits[specialCaseCount] = getDefaultFractionDigits(oldCurrency);
recipes-core/openjdk/openjdk-7-25b30/icedtea-remove_werror.patch deleted +0 -16
deleted file mode 100644
index f78f2b3..0000000
@@ -1,16 +0,0 @@
-diff --git openjdk/hotspot/make/linux/makefiles/gcc.make openjdk/hotspot/make/linux/makefiles/gcc.make
-index 42f6843..765fc6d 100644
---- openjdk/hotspot/make/linux/makefiles/gcc.make
-+++ openjdk/hotspot/make/linux/makefiles/gcc.make
-@@ -149,11 +149,6 @@ else
-   CFLAGS += -pipe
- endif
- 
--# Compiler warnings are treated as errors
--ifneq ($(COMPILER_WARNINGS_FATAL),false)
--WARNINGS_ARE_ERRORS = -Werror
--endif
--
- # Except for a few acceptable ones
- # Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit
- # conversions which might affect the values. To avoid that, we need to turn
recipes-core/openjdk/openjdk-7-25b30/icedtea-shark-arm-linux-cpu-detection.patch deleted +0 -113

113 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-25b30/icedtea-unbreak-float.patch deleted +0 -18
deleted file mode 100644
index c03b23c..0000000
@@ -1,18 +0,0 @@
-diff --git openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h
-index c24c781..ccdc41a 100644
---- openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h
-+++ openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h
-@@ -32,13 +32,11 @@
- #endif
- #include "jfdlibm.h"
- 
--#ifdef __NEWVALID       /* special setup for Sun test regime */
- #if defined(i386) || defined(i486) || \
-     defined(intel) || defined(x86) || defined(arm) || \
-     defined(i86pc) || defined(_M_IA64) || defined(ia64)
- #define _LITTLE_ENDIAN
- #endif
--#endif
- 
- #ifdef _LITTLE_ENDIAN
- #define __HI(x) *(1+(int*)&x)
recipes-core/openjdk/openjdk-7-25b30/icedtea-unset-NIO_PLATFORM_CLASSES_ROOT_DIR.patch deleted +0 -13
deleted file mode 100644
index 3f7d70a..0000000
@@ -1,13 +0,0 @@
-diff --git openjdk/jdk/make/java/nio/Makefile openjdk/jdk/make/java/nio/Makefile
-index 898272e..c5ca547 100644
---- openjdk/jdk/make/java/nio/Makefile
-+++ openjdk/jdk/make/java/nio/Makefile
-@@ -48,6 +48,8 @@ include FILES_java.gmk
- include FILES_c.gmk
- include Exportedfiles.gmk
- 
-+NIO_PLATFORM_CLASSES_ROOT_DIR =
-+
- ifeq ($(PLATFORM), windows)
- FILES_java += \
- 	sun/nio/ch/Iocp.java \
recipes-core/openjdk/openjdk-7-25b30/icedtea-zero-hotspotfix.patch deleted +0 -37
deleted file mode 100644
index 784f2de..0000000
@@ -1,37 +0,0 @@
-diff --git openjdk/hotspot/make/linux/makefiles/zeroshark.make openjdk/hotspot/make/linux/makefiles/zeroshark.make
-index c2a1484..156bdd0 100644
---- openjdk/hotspot/make/linux/makefiles/zeroshark.make
-+++ openjdk/hotspot/make/linux/makefiles/zeroshark.make
-@@ -32,26 +32,28 @@ Obj_Files += cppInterpreter_arm.o
- Obj_Files += thumb2.o
- 
- CFLAGS += -DHOTSPOT_ASM
-+CCFLAGS += -DHOTSPOT_ASM
-+
- 
- cppInterpreter_arm.o:	offsets_arm.s bytecodes_arm.s
- thumb2.o:		offsets_arm.s
- 
- offsets_arm.s:	mkoffsets
- 	@echo Generating assembler offsets
--	./mkoffsets > $@
-+	$(QEMU) ./mkoffsets > $@
- 
- bytecodes_arm.s: bytecodes_arm.def mkbc
- 	@echo Generating ARM assembler bytecode sequences
--	$(CC_COMPILE) $(CFLAGS) -E -x c++ - < $< | ./mkbc - $@ $(COMPILE_DONE)
-+	$(CC_COMPILE) $(CFLAGS) -E -x c++ - < $< | $(QEMU) ./mkbc - $@ $(COMPILE_DONE)
- 
- mkbc:	$(GAMMADIR)/tools/mkbc.c
- 	@echo Compiling mkbc tool
--	$(CC_COMPILE) -o $@ $< $(COMPILE_DONE)
-+	$(CC_COMPILE) -static -fuse-ld=bfd -o $@ $< $(COMPILE_DONE)
- 
- mkoffsets:	asm_helper.cpp
- 	@echo Compiling offset generator
- 	$(QUIETLY) $(REMOVE_TARGET)
--	$(CC_COMPILE) $(CFLAGS) -DSTATIC_OFFSETS -o $@ $< $(COMPILE_DONE)
-+	$(CC_COMPILE) $(CFLAGS) -static -fuse-ld=bfd -DSTATIC_OFFSETS -o $@ $< $(COMPILE_DONE)
- 
- endif
- 
recipes-core/openjdk/openjdk-7-25b30/jvm.cfg deleted +0 -43

43 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-25b30/remove-sun.misc.Perf-debug-code.patch deleted +0 -47

47 lines not on this page · raw message

recipes-core/openjdk/openjdk-7-release-25b30.inc deleted +0 -137

137 lines not on this page · raw message

recipes-core/openjdk/openjdk-7_25b30-2.3.12.bb deleted +0 -36
deleted file mode 100644
index dcaf8bf..0000000
@@ -1,36 +0,0 @@
-require openjdk-7-release-25b30.inc
-
-PR = "${INC_PR}.1"
-
-SRC_URI[iced.md5sum] = "9b3afa162021e3fca6161ba8f9f7dc11"
-SRC_URI[iced.sha256sum] = "3c4e88e7c1b2b39dcd7ed65c3b9a1a8dbd2a48848ce42e1d8a22a6821cf890d1"
-
-CORBA_CHANGESET = "ea108ff3be9a"
-SRC_URI[corba.md5sum] = "f76840f24d112a8fe259cb4122415a25"
-SRC_URI[corba.sha256sum] = "818f5613b218fe2a2036e6c65622b970839986c0c1ca95563f911b379a52b765"
-
-JAXP_CHANGESET = "332f0234a53e"
-SRC_URI[jaxp.md5sum] = "1b11d9fa16e7bf7613a8b9d32f6a586a"
-SRC_URI[jaxp.sha256sum] = "a3f99615331cdc3d5e38e7169bb4b03dc43ede25c73834114240b8768207b9dc"
-
-JAXWS_CHANGESET = "fdc4ad9f30c6"
-SRC_URI[jaxws.md5sum] = "f6eb8fcbf99d0914149b0e2deac0e34c"
-SRC_URI[jaxws.sha256sum] = "b149c1fab323a586eae9b4459ccd929f0db8b35769e42dd7f4fbadc48b803dab"
-
-JDK_CHANGESET = "4a0cf2c05cc6"
-SRC_URI[jdk.md5sum] = "89f3dac9c06581fd8b4f1b1103a6c2f9"
-SRC_URI[jdk.sha256sum] = "badbbf50c820325ffe592762a2eff3414df71e286460b75716a2100d7f6f2aa0"
-
-LANGTOOLS_CHANGESET = "6c9b532f4281"
-SRC_URI[langtools.md5sum] = "e932425860de3b52358cff66b9ceadbf"
-SRC_URI[langtools.sha256sum] = "b9e2e3c97393f566b0c4dc2b0ca826bfb3b3841f5522a850b82d1ff23745839b"
-
-OPENJDK_CHANGESET = "e62743867f54"
-SRC_URI[openjdk.md5sum] = "5680583c82703031d6acb0a141fd328f"
-SRC_URI[openjdk.sha256sum] = "d1132bdde0e19d8e4d2516213bce7aa50b4b6d1ab04a82bf7a0440d6184db842"
-
-# located in hotspot.map
-HOTSPOT_CHANGESET = "37b254871acb"
-SRC_URI[hotspot.md5sum] = "57f2077c4d4237de44b788e0a8456c83"
-SRC_URI[hotspot.sha256sum] = "60268f9d792575ec26b8796753246aca70282937327c2fa855b3f0010638605e"
-
Signature · 1 line
1.8.1.rc3
#6 lore raw

PATCH v2 6/7 java-test-image: Add openjdk-7 ZeroVM and remove busybox-hwclock

busybox-hwclock could not be installed for me and I guess we don't really need it. I wanted to test OpenJDK 7 ZeroVM so we need to install it.

---
 recipes-images/images/java-test-image.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-images/images/java-test-image.bb +2 -2
index 4807858..22c7bdf 100644
@@ -5,9 +5,9 @@ inherit core-image
 IMAGE_LINGUAS = " "
 
 
-IMAGE_INSTALL = "busybox modutils-initscripts initscripts opkg udev sysvinit netbase base-files base-passwd busybox-hwclock \
+IMAGE_INSTALL = "busybox modutils-initscripts initscripts opkg udev sysvinit netbase base-files base-passwd \
                  ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL} \
-                 openjdk-7-jre openjdk-7-vm-jamvm openjdk-7-vm-cacao \
+                 openjdk-7-jre openjdk-7-vm-zero openjdk-7-vm-jamvm openjdk-7-vm-cacao \
                  openjdk-6-jre openjdk-6-vm-zero openjdk-6-vm-jamvm openjdk-6-vm-cacao \
                  strace dropbear binutils \
                  classpath \
Signature · 1 line
1.8.1.rc3
#7 lore raw

PATCH v2 7/7 Update README to new OpenJDK-7

---
 README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
README +1 -1
index 70af588..6517d3f 100644
@@ -68,7 +68,7 @@ PREFERRED_VERSION_openjdk-6-jre = "6b32-1.13.4"
 PREFERRED_VERSION_icedtea6-native = "1.8.11"
 
 #For openjdk7:
-PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_openjdk-7-jre = "75b30-2.5.4"
 PREFERRED_VERSION_icedtea7-native = "2.1.3"
 
 #Sometimes the following is needed:
Signature · 1 line
1.8.1.rc3
#8 lore raw

Re: [meta-java][PATCH v2 6/7] java-test-image: Add openjdk-7 ZeroVM and remove busybox-hwclock

In reply to Sven Ebenfeld
Quoted 2 lines · Sven Ebenfeld

busybox-hwclock could not be installed for me and I guess we don't really

need it.

Quoted 1 line

I wanted to test OpenJDK 7 ZeroVM so we need to install it.

May they should be two separate commits. They seem quite unrelated

Review

Quoted 7 lines
---
 recipes-images/images/java-test-image.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

b/recipes-images/images/java-test-image.bb

recipes-images/images/java-test-image.bb inherit core-image · line 8

Quoted 8 lines

index 4807858..22c7bdf 100644

recipes-images/images/java-test-image.bb +0 -1
@@ -5,9 +5,9 @@ inherit core-image
 IMAGE_LINGUAS = " "
 
 
-IMAGE_INSTALL = "busybox modutils-initscripts initscripts opkg udev

sysvinit netbase base-files base-passwd busybox-hwclock \

recipes-images/images/java-test-image.bb inherit core-image · line 8

Quoted 1 line
recipes-images/images/java-test-image.bb +1 -0
+IMAGE_INSTALL = "busybox modutils-initscripts initscripts opkg udev

sysvinit netbase base-files base-passwd \

recipes-images/images/java-test-image.bb inherit core-image · line 9

Quoted 1 line
recipes-images/images/java-test-image.bb +0 -0
                  ${ROOTFS_PKGMANAGE_BOOTSTRAP}

${CORE_IMAGE_EXTRA_INSTALL} \

recipes-images/images/java-test-image.bb inherit core-image · line 10

Quoted 2 lines
recipes-images/images/java-test-image.bb +1 -1
-                 openjdk-7-jre openjdk-7-vm-jamvm openjdk-7-vm-cacao \
+                 openjdk-7-jre openjdk-7-vm-zero openjdk-7-vm-jamvm

openjdk-7-vm-cacao \

recipes-images/images/java-test-image.bb inherit core-image · line 11

Quoted 1 line
recipes-images/images/java-test-image.bb +0 -0
                  openjdk-6-jre openjdk-6-vm-zero openjdk-6-vm-jamvm

openjdk-6-vm-cacao \

Quoted 10 lines
recipes-images/images/java-test-image.bb +0 -1
                  strace dropbear binutils \
                  classpath \
--

1.8.1.rc3

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#9 lore raw

Re: [meta-java][PATCH v2 2/7] icedtea7-native: fix build with gcc 4.9

In reply to Sven Ebenfeld
Quoted 3 lines · Sven Ebenfeld

The stabs debug format is not supported by our toolchain. It works if we use gdb debug format.

Why ggdb should -g be enough?

Quoted 4 lines
---
 .../icedtea-change-to-gdb-debug-format.patch       | 29

++++++++++++++++++++++

Quoted 3 lines
 recipes-core/icedtea/openjdk-7-release-03b147.inc  |  2 ++
 2 files changed, 31 insertions(+)
 create mode 100644

recipes-core/icedtea/openjdk-7-03b147/icedtea-change-to-gdb-debug-format.patch

Quoted 2 lines

diff --git

a/recipes-core/icedtea/openjdk-7-03b147/icedtea-change-to-gdb-debug-format.patch b/recipes-core/icedtea/openjdk-7-03b147/icedtea-change-to-gdb-debug-format.patch

Quoted 4 lines

new file mode 100644
index 0000000..c0a3c9f
--- /dev/null
+++

b/recipes-core/icedtea/openjdk-7-03b147/icedtea-change-to-gdb-debug-format.patch

Review line 1

Quoted 2 lines
(quoted diff) +1 -0
@@ -0,0 +1,29 @@
+--- openjdk/hotspot/make/linux/makefiles/gcc.make      2015-04-02

08:02:31.301728214 +0200

Review line 2

Quoted 1 line
(quoted diff) +1 -0
++++ openjdk/hotspot/make/linux/makefiles/gcc.make.new  2015-04-02

08:19:55.502171268 +0200

Review

Quoted 28 lines
recipes-core/icedtea/openjdk-7-03b147/icedtea-change-to-gdb-debug-format.patch new file +27 -0
+@@ -233,7 +233,7 @@
+ DEBUG_CFLAGS/ppc   = -g
+ DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH))
+ ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),)
+-DEBUG_CFLAGS += -gstabs
++DEBUG_CFLAGS += -ggdb
+ endif
+
+ ifneq ($(OBJCOPY),)
+@@ -244,7 +244,7 @@
+   FASTDEBUG_CFLAGS/zero  = -g
+   FASTDEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH))
+   ifeq ($(FASTDEBUG_CFLAGS/$(BUILDARCH)),)
+-    FASTDEBUG_CFLAGS += -gstabs
++    FASTDEBUG_CFLAGS += -ggdb
+   endif
+
+   OPT_CFLAGS/ia64  = -g
+@@ -254,7 +254,7 @@
+   OPT_CFLAGS/zero  = -g
+   OPT_CFLAGS += $(OPT_CFLAGS/$(BUILDARCH))
+   ifeq ($(OPT_CFLAGS/$(BUILDARCH)),)
+-    OPT_CFLAGS += -gstabs
++    OPT_CFLAGS += -ggdb
+   endif
+ endif
+
(quoted diff) +0 -0

b/recipes-core/icedtea/openjdk-7-release-03b147.inc

recipes-core/icedtea/openjdk-7-release-03b147.inc OPENJDK_PATCHES = " \ · line 83

Quoted 7 lines

index 47813cd..01e7a3d 100644

recipes-core/icedtea/openjdk-7-release-03b147.inc +0 -0
@@ -81,6 +81,7 @@ OPENJDK_PATCHES = " \
         file://icedtea-jdk-sane-x86-arch.patch;apply=no \
        file://icedtea-flags.patch;apply=no \
 

file://icedtea-openjdk-remove-currency-data-generation-expi.patch;apply=no \

recipes-core/icedtea/openjdk-7-release-03b147.inc export DISTRIBUTION_PATCHES = " \ · line 94

Quoted 8 lines
recipes-core/icedtea/openjdk-7-release-03b147.inc +1 -0
+       file://icedtea-change-to-gdb-debug-format.patch;apply=no \
         "
 
 export DISTRIBUTION_PATCHES = " \
@@ -91,4 +92,5 @@ export DISTRIBUTION_PATCHES = " \
         patches/icedtea-jdk-sane-x86-arch.patch \
        patches/icedtea-flags.patch \
 

patches/icedtea-openjdk-remove-currency-data-generation-expi.patch \

Quoted 10 lines
recipes-core/icedtea/openjdk-7-release-03b147.inc +1 -1
+       patches/icedtea-change-to-gdb-debug-format.patch \
         "
--

1.8.1.rc3

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#10 lore raw
In reply to Sven Ebenfeld

Hello Sven,

Quoted 6 lines · Sven Ebenfeld

There were some mistakes in my former recipes. This version fixes them. OpenJDK-7 did not depend on krb5 but excluded it in OECONF. Now I changed to depending on krb5 and not excluding it. I've tested building and running it against dizzy and master branches of oe-core, bitbake and meta-openembedded. Built with qemux86 and qemuarm. This release switches the HotSpot-Release to a newer one because of a segfault bug in the ARM Thumb2 JIT.

Did you see Khem comments about the patchset?

It would be interesting to get a new version addressing those so we can merge it into master branch (currently it is hold in master-next).

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#11 lore raw

Hi Otavio,

Am 20.04.2015 um 16:58 schrieb Otavio Salvador:

Quoted 12 lines

Hello Sven,

Quoted 6 lines · Sven Ebenfeld

There were some mistakes in my former recipes. This version fixes them. OpenJDK-7 did not depend on krb5 but excluded it in OECONF. Now I changed to depending on krb5 and not excluding it. I've tested building and running it against dizzy and master branches of oe-core, bitbake and meta-openembedded. Built with qemux86 and qemuarm. This release switches the HotSpot-Release to a newer one because of a segfault bug in the ARM Thumb2 JIT.

Did you see Khem comments about the patchset?

Yes, I saw those comments. I was thinking, that there will come more comments, so I waited to create a new patchset.

Quoted 3 lines

It would be interesting to get a new version addressing those so we can merge it into master branch (currently it is hold in master-next).

If you want to merge it, I will fix the issues and send a new patchset.

#12 lore raw

Am 21.04.2015 um 08:34 schrieb Sven Ebenfeld:

Quoted 16 lines

Hi Otavio,

Am 20.04.2015 um 16:58 schrieb Otavio Salvador:

Quoted 12 lines

Hello Sven,

Quoted 6 lines · Sven Ebenfeld

There were some mistakes in my former recipes. This version fixes them. OpenJDK-7 did not depend on krb5 but excluded it in OECONF. Now I changed to depending on krb5 and not excluding it. I've tested building and running it against dizzy and master branches of oe-core, bitbake and meta-openembedded. Built with qemux86 and qemuarm. This release switches the HotSpot-Release to a newer one because of a segfault bug in the ARM Thumb2 JIT.

Did you see Khem comments about the patchset?

Quoted 9 lines

Yes, I saw those comments. I was thinking, that there will come more comments, so I waited to create a new patchset.

Quoted 3 lines

It would be interesting to get a new version addressing those so we can merge it into master branch (currently it is hold in master-next).

If you want to merge it, I will fix the issues and send a new patchset.

I will create and send the new patchset within the next weekend.