[meta-java,PAYCH] openjdk-6: Fix cross compilation for e6500 machines

Submitted by Zhenhua Luo on May 7, 2014, 1:39 p.m.

Details

Message ID 1399469981-23875-1-git-send-email-zhenhua.luo@freescale.com
State Superseded, archived
Delegated to: Otavio Salvador
Headers show

Commit Message

Zhenhua Luo May 7, 2014, 1:39 p.m.
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

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
---
 recipes-core/openjdk/openjdk-6-release-6b24.inc | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Patch hide | download patch | download mbox

diff --git a/recipes-core/openjdk/openjdk-6-release-6b24.inc b/recipes-core/openjdk/openjdk-6-release-6b24.inc
index d0da379..da5299f 100644
--- a/recipes-core/openjdk/openjdk-6-release-6b24.inc
+++ b/recipes-core/openjdk/openjdk-6-release-6b24.inc
@@ -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

Comments

Zhenhua Luo May 13, 2014, 4:28 a.m.
Ping. 

> -----Original Message-----
> From: Zhenhua Luo [mailto:zhenhua.luo@freescale.com]
> Sent: Wednesday, May 07, 2014 9:40 PM
> To: openembedded-devel@lists.openembedded.org
> Cc: henning@itconsulting-heinold.de; Luo Zhenhua-B19537
> Subject: [meta-java][PAYCH] openjdk-6: Fix cross compilation for e6500
> machines
> 
>     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
> 
> Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
> ---
>  recipes-core/openjdk/openjdk-6-release-6b24.inc | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/recipes-core/openjdk/openjdk-6-release-6b24.inc b/recipes-
> core/openjdk/openjdk-6-release-6b24.inc
> index d0da379..da5299f 100644
> --- a/recipes-core/openjdk/openjdk-6-release-6b24.inc
> +++ b/recipes-core/openjdk/openjdk-6-release-6b24.inc
> @@ -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
> --
> 1.9.1