Skip to contentSkip to conversation

openjdk-6: Fix cross compilation for e6500 machines

PATCH New [email protected] 1 participant 1 message Jan 21, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openjdk-6: Fix cross compilation for e6500 machines

From: Zhenhua Luo <[email protected]>

This is only way for compile for now since qemu can not run the sizers binary for e6500 machines. It segfaults so we disable generating sizes and also xawt and jawt which depends on sizers, this lets jre to cross compile for ppc/e6500

The fix is ported according to da0b3a20a67496dc8d4282d19a60672001b7f825

---
 recipes-core/openjdk/openjdk-6-release-6b24.inc | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
recipes-core/openjdk/openjdk-6-release-6b24.inc +14 -0
index d0da379..da5299f 100644
@@ -90,6 +90,13 @@ ICEDTEAPATCHES_append_e5500-64b = " \
 ICEDTEAPATCHES_append_e5500 = " \
         file://icedtea-jdk-sizers-crosscompile-hack.patch;apply=no \
 	"
+ICEDTEAPATCHES_append_e6500-64b = " \
+        file://icedtea-jdk-sizers-crosscompile-hack.patch;apply=no \
+        "
+ICEDTEAPATCHES_append_e6500 = " \
+        file://icedtea-jdk-sizers-crosscompile-hack.patch;apply=no \
+        "
+
 ICEDTEAPATCHES_append_libc-uclibc = " \
         file://icedtea-hotspot-isfinte.patch;apply=no \
         file://icedtea-hotspot-glibc-version.patch;apply=no \
@@ -132,4 +139,11 @@ DISTRIBUTION_PATCHES_append_e5500-64b = " \
 DISTRIBUTION_PATCHES_append_e5500 = " \
        patches/icedtea-jdk-sizers-crosscompile-hack.patch \
        "
+DISTRIBUTION_PATCHES_append_e6500-64b = " \
+       patches/icedtea-jdk-sizers-crosscompile-hack.patch \
+       "
+
+DISTRIBUTION_PATCHES_append_e6500 = " \
+       patches/icedtea-jdk-sizers-crosscompile-hack.patch \
+       "
 export DISTRIBUTION_PATCHES
Signature · 1 line
1.9.1