[oe] [meta-java][RFC 0/3] address failing qemu-arm runs in openjdk-7-jre build

Max Krummenacher max.oss.09 at gmail.com
Thu Jan 15 20:46:59 UTC 2015


With at least one cross compiler configuration we get a segmentation fault from
the qemu-arm binary during do_compile of openjdk-7-jre.
See the following thread:
http://lists.openembedded.org/pipermail/openembedded-devel/2015-January/099795.html

1/3 addresses the issue, i.e. compiles all binaries for qemu dynamically linked.
2/3 is a simple receipe which also shows the segmentation fault in a simple
    hello world application.
3/3 reenables xawt, so we can run the java demos to test if java works on a
    target since probably all demos use the XToolkit, e.g.
    java -jar /usr/lib/jvm/java-7-openjdk/demo/jfc/Font2DTest/Font2DTest.jar

Max Krummenacher (3):
  binaries run by qemu: remove linking with -static
  gcc-static-test: initial commit
  openjdk-7: enable xawt

 .../openjdk-6-6b24/icedtea-zero-hotspotfix.patch   |  2 +-
 .../openjdk-6-6b27/icedtea-crosscompile-fix.patch  |  2 +-
 .../openjdk-6-6b32/icedtea-crosscompile-fix.patch  |  2 +-
 .../openjdk-6-6b32/icedtea-zero-hotspotfix.patch   |  2 +-
 .../openjdk-6/fix_hotspot_crosscompile.patch       |  2 +-
 .../icedtea-jdk-nio-use-host-cc.patch              | 22 ------------
 .../openjdk-7-25b30/icedtea-zero-hotspotfix.patch  |  4 +--
 recipes-test/gcc-static-test/gcc-static-test.bb    | 40 ++++++++++++++++++++++
 .../gcc-static-test/gcc-static-test/hello.c        |  6 ++++
 9 files changed, 53 insertions(+), 29 deletions(-)
 create mode 100644 recipes-test/gcc-static-test/gcc-static-test.bb
 create mode 100644 recipes-test/gcc-static-test/gcc-static-test/hello.c

-- 
1.9.3




More information about the Openembedded-devel mailing list