last 2 patches to get openjdk build with oe-stable
cover last 2 patches to get openjdk build with oe-stable
From: Henning Heinold <[email protected]>
Hi,
this are the last 2 patches needed to get openjdk build with oe-stable.
Bye Henning
Henning Heinold (2):
llvm: backport llvm2.7 from openembedded-dev
openjdk: backport from openembedded-dev
conf/checksums.ini | 24 + recipes/llvm/llvm-common-native.bb | 12 + recipes/llvm/llvm-common.bb | 14 + recipes/llvm/llvm-common/llvm-config | 10 + recipes/llvm/llvm-native.inc | 29 + recipes/llvm/llvm.inc | 134 +- recipes/llvm/llvm2.7-native_2.7.bb | 12 + recipes/llvm/llvm2.7/BX_to_BLX.patch | 13 + recipes/llvm/llvm2.7/arm_ppc.patch | 172 + recipes/llvm/llvm2.7/r104558-VFPmisc.patch | 58 + recipes/llvm/llvm2.7/r104587-MOVimm32.patch | 190 + .../llvm2.7/r104652-VFPLoadStoreMultiple.patch | 47 + recipes/llvm/llvm2.7/r104653-BFC-BFI.patch | 31 + recipes/llvm/llvm2.7/r97745-llvmPR6480.patch | 75 + recipes/llvm/llvm2.7/rawMOVLRPC.patch | 61 + recipes/llvm/llvm2.7_2.7.bb | 47 + recipes/openjdk/files/jvm.cfg | 41 + .../openjdk/openjdk-6-6b18-1.8/build-hacks.patch | 31 + .../cacao-disable-stackbase-check.patch | 12 + .../openjdk-6-6b18-1.8/cacao-vfp-compat.patch | 37 + .../openjdk/openjdk-6-6b18-1.8/fix-llvm-libs.patch | 13 + .../fix_hotspot_crosscompile.patch | 94 + .../icedtea-crosscompile-fix.patch | 214 + .../icedtea-fix-jar-command.patch | 27 + .../openjdk-6-6b18-1.8/icedtea-hostbuildcc.patch | 12 + .../icedtea-hotspot-glibc-version.patch | 23 + .../icedtea-hotspot-isfinte.patch | 15 + .../icedtea-hotspot-isnanf.patch | 21 + .../icedtea-hotspot-loadavg.patch | 28 + .../icedtea-jdk-RTLD_NOLOAD.patch | 13 + .../icedtea-jdk-iconv-uclibc.patch | 39 + .../icedtea-jdk-remove-unused-backtrace.patch | 51 + .../icedtea-jdk-unpack-uclibc.patch | 12 + .../icedtea-launcher-stdc++.patch | 13 + .../icedtea-libnet-renaming.patch | 148 + .../openjdk-6-6b18-1.8/icedtea-remove_werror.patch | 14 + .../openjdk-6-6b18-1.8/icedtea-unbreak-float.patch | 18 + .../icedtea1.8-pre1.8.1-releasebranch-fixes.patch | 4784 ++++++++++++++++++++ .../openjdk-6-6b18-1.8/mkbc_returncode.patch | 11 + .../shark-arm-linux-cpu-detection.patch | 112 + .../shark-build-openjdkdir.patch | 13 + .../openjdk-6-6b18-1.8/zero-cmpswap-long.patch | 20 + recipes/openjdk/openjdk-6-common.inc | 530 +++ recipes/openjdk/openjdk-6-release-6b18.inc | 104 + recipes/openjdk/openjdk-6_6b18-1.8.bb | 3 + 45 files changed, 7375 insertions(+), 7 deletions(-) create mode 100644 recipes/llvm/llvm-common-native.bb create mode 100644 recipes/llvm/llvm-common.bb create mode 100644 recipes/llvm/llvm-common/llvm-config create mode 100644 recipes/llvm/llvm-native.inc create mode 100644 recipes/llvm/llvm2.7-native_2.7.bb create mode 100644 recipes/llvm/llvm2.7/BX_to_BLX.patch create mode 100644 recipes/llvm/llvm2.7/arm_ppc.patch create mode 100644 recipes/llvm/llvm2.7/r104558-VFPmisc.patch create mode 100644 recipes/llvm/llvm2.7/r104587-MOVimm32.patch create mode 100644 recipes/llvm/llvm2.7/r104652-VFPLoadStoreMultiple.patch create mode 100644 recipes/llvm/llvm2.7/r104653-BFC-BFI.patch create mode 100644 recipes/llvm/llvm2.7/r97745-llvmPR6480.patch create mode 100644 recipes/llvm/llvm2.7/rawMOVLRPC.patch create mode 100644 recipes/llvm/llvm2.7_2.7.bb create mode 100644 recipes/openjdk/files/jvm.cfg create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/build-hacks.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/cacao-disable-stackbase-check.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/cacao-vfp-compat.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/fix-llvm-libs.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/fix_hotspot_crosscompile.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-crosscompile-fix.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-fix-jar-command.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-hostbuildcc.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-hotspot-glibc-version.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-hotspot-isfinte.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-hotspot-isnanf.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-hotspot-loadavg.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-jdk-RTLD_NOLOAD.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-jdk-iconv-uclibc.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-jdk-remove-unused-backtrace.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-jdk-unpack-uclibc.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-launcher-stdc++.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-libnet-renaming.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-remove_werror.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-unbreak-float.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea1.8-pre1.8.1-releasebranch-fixes.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/mkbc_returncode.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/shark-arm-linux-cpu-detection.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/shark-build-openjdkdir.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/zero-cmpswap-long.patch create mode 100644 recipes/openjdk/openjdk-6-common.inc create mode 100644 recipes/openjdk/openjdk-6-release-6b18.inc create mode 100644 recipes/openjdk/openjdk-6_6b18-1.8.bb
PATCH 1/2 llvm: backport llvm2.7 from openembedded-dev
From: Henning Heinold <[email protected]>
--- conf/checksums.ini | 4 + recipes/llvm/llvm-common-native.bb | 12 ++ recipes/llvm/llvm-common.bb | 14 ++ recipes/llvm/llvm-common/llvm-config | 10 + recipes/llvm/llvm-native.inc | 29 +++ recipes/llvm/llvm.inc | 134 +++++++++++++- recipes/llvm/llvm2.7-native_2.7.bb | 12 ++ recipes/llvm/llvm2.7/BX_to_BLX.patch | 13 ++ recipes/llvm/llvm2.7/arm_ppc.patch | 172 ++++++++++++++++++ recipes/llvm/llvm2.7/r104558-VFPmisc.patch | 58 ++++++ recipes/llvm/llvm2.7/r104587-MOVimm32.patch | 190 ++++++++++++++++++++ .../llvm2.7/r104652-VFPLoadStoreMultiple.patch | 47 +++++ recipes/llvm/llvm2.7/r104653-BFC-BFI.patch | 31 ++++ recipes/llvm/llvm2.7/r97745-llvmPR6480.patch | 75 ++++++++ recipes/llvm/llvm2.7/rawMOVLRPC.patch | 61 +++++++ recipes/llvm/llvm2.7_2.7.bb | 47 +++++ 16 files changed, 902 insertions(+), 7 deletions(-) create mode 100644 recipes/llvm/llvm-common-native.bb create mode 100644 recipes/llvm/llvm-common.bb create mode 100644 recipes/llvm/llvm-common/llvm-config create mode 100644 recipes/llvm/llvm-native.inc create mode 100644 recipes/llvm/llvm2.7-native_2.7.bb create mode 100644 recipes/llvm/llvm2.7/BX_to_BLX.patch create mode 100644 recipes/llvm/llvm2.7/arm_ppc.patch create mode 100644 recipes/llvm/llvm2.7/r104558-VFPmisc.patch create mode 100644 recipes/llvm/llvm2.7/r104587-MOVimm32.patch create mode 100644 recipes/llvm/llvm2.7/r104652-VFPLoadStoreMultiple.patch create mode 100644 recipes/llvm/llvm2.7/r104653-BFC-BFI.patch create mode 100644 recipes/llvm/llvm2.7/r97745-llvmPR6480.patch create mode 100644 recipes/llvm/llvm2.7/rawMOVLRPC.patch create mode 100644 recipes/llvm/llvm2.7_2.7.bb
conf/checksums.ini +4 -0
@@ -16402,6 +16402,10 @@ sha256=5fc295b3cf3de019962aee3be1c5efb49d6bf5041dae59451f6c0f544eb36bdc md5=55df2ea8665c8094ad2ef85187b9fc74 sha256=8f3d69e63bc5d1ee2c2ee49ff07ccb7e070070a0e937813d2a6179b9e2e173ed +[http://llvm.org/releases/2.7/llvm-2.7.tgz] +md5=ac322661f20e7d6c810b1869f886ad9b +sha256=99664bdc8503a306038166af33f28eb426d99e297575a59d74a1a0dcbddbbca5 + [http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-2.10.1.tar.gz] md5=cdc857b78e813b88cbf8be92441aa299 sha256=a332cacfa9d0eed6e9158c394db714e536f38c27451d7df08b9634952118fa1b
recipes/llvm/llvm-common-native.bb new file +12 -0
@@ -0,0 +1,12 @@ +require llvm-common.bb + +inherit native + +do_install() { + : +} + +do_stage() { + install -d ${STAGING_BINDIR} + install -m 0755 ${WORKDIR}/llvm-config ${STAGING_BINDIR} +}
recipes/llvm/llvm-common.bb new file +14 -0
@@ -0,0 +1,14 @@ +DESCRIPTION = "Helper script for OE's llvm support" + +SRC_URI = "file://llvm-config" + +PACKAGES = "" + +do_install() { + : +} + +do_stage() { + install -d ${STAGING_BINDIR_CROSS} + install -m 0755 ${WORKDIR}/llvm-config ${STAGING_BINDIR_CROSS} +}
recipes/llvm/llvm-common/llvm-config new file +10 -0
@@ -0,0 +1,10 @@ +#!/bin/sh +# Wrapper script for real llvm-config. Simply calls + +if [ $WANT_LLVM_RELEASE ]; then + exec `dirname $0`/llvm-config$WANT_LLVM_RELEASE ${@} +else + echo "The variable WANT_LLVM_RELEASE is not defined and exported" + echo "by your build recipe. Go figure." + exit 1 +fi
recipes/llvm/llvm-native.inc new file +29 -0
@@ -0,0 +1,29 @@ +require llvm.inc + +DEPENDS = "llvm-common-native cmake-native binutils-cross perl-native" + +inherit native + +# the difference to the non-native build is that we do not need +# to declare the location of the tblgen executable. +EXTRA_OECMAKE = "\ + -DLLVM_TARGETS_TO_BUILD=${LLVM_ARCH} \ + -DCMAKE_LINKER:FILEPATH=${LD} \ + -DCMAKE_AR:FILEPATH=${AR} \ + -DCMAKE_OBJCOPY:FILEPATH=${OBJCOPY} \ + -DCMAKE_OBJDUMP:FILEPATH=${OBJDUMP} \ + -DCMAKE_RANLIB:FILEPATH=${RANLIB} \ + -DCMAKE_STRIP:FILEPATH=${STRIP} \ + -DNM_PATH:FILEPATH=${NM} \ +" + +do_stage() { + cd ${OECMAKE_BUILDPATH} + + llvm_stage + + install -d ${STAGING_BINDIR} + install -m 0755 bin/llvm-config${LLVM_RELEASE} ${STAGING_BINDIR} +} + +
recipes/llvm/llvm.inc +127 -7
143 lines not on this page · raw message
recipes/llvm/llvm2.7-native_2.7.bb new file +12 -0
@@ -0,0 +1,12 @@ +require llvm-native.inc + +PR = "r0" + +SRC_URI = "\ + http://llvm.org/releases/${PV}/llvm-${PV}.tgz \ +" + +LLVM_RELEASE = "2.7" + +SRC_URI[md5sum] = "ac322661f20e7d6c810b1869f886ad9b" +SRC_URI[sha256sum] = "99664bdc8503a306038166af33f28eb426d99e297575a59d74a1a0dcbddbbca5"
recipes/llvm/llvm2.7/BX_to_BLX.patch new file +13 -0
@@ -0,0 +1,13 @@ +Index: llvm/lib/Target/ARM/ARMInstrInfo.td +=================================================================== +--- llvm.orig/lib/Target/ARM/ARMInstrInfo.td 2010-03-08 16:07:25.000000000 +0100 ++++ llvm/lib/Target/ARM/ARMInstrInfo.td 2010-03-08 16:10:21.000000000 +0100 +@@ -942,7 +942,7 @@ + IIC_Br, "mov\tlr, pc\n\tbx\t$func", + [(ARMcall_nolink tGPR:$func)]>, + Requires<[IsARM, HasV4T, IsNotDarwin]> { +- let Inst{7-4} = 0b0001; ++ let Inst{7-4} = 0b0011; + let Inst{19-8} = 0b111111111111; + let Inst{27-20} = 0b00010010; + }
recipes/llvm/llvm2.7/arm_ppc.patch new file +172 -0
172 lines not on this page · raw message
recipes/llvm/llvm2.7/r104558-VFPmisc.patch new file +58 -0
58 lines not on this page · raw message
recipes/llvm/llvm2.7/r104587-MOVimm32.patch new file +190 -0
190 lines not on this page · raw message
recipes/llvm/llvm2.7/r104652-VFPLoadStoreMultiple.patch new file +47 -0
47 lines not on this page · raw message
recipes/llvm/llvm2.7/r104653-BFC-BFI.patch new file +31 -0
@@ -0,0 +1,31 @@ +Index: llvm-2.7/lib/Target/ARM/ARMCodeEmitter.cpp +=================================================================== +--- llvm-2.7.orig/lib/Target/ARM/ARMCodeEmitter.cpp 2010-07-21 12:28:57.000000000 +0200 ++++ llvm-2.7/lib/Target/ARM/ARMCodeEmitter.cpp 2010-07-21 12:36:04.000000000 +0200 +@@ -778,10 +778,6 @@ + unsigned ImplicitRn) { + const TargetInstrDesc &TID = MI.getDesc(); + +- if (TID.Opcode == ARM::BFC) { +- llvm_report_error("ARMv6t2 JIT is not yet supported."); +- } +- + // Part of binary is determined by TableGn. + unsigned Binary = getBinaryCodeForInstr(MI); + +@@ -817,6 +813,15 @@ + Binary |= ((Hi16 >> 12) & 0xF) << 16; + emitWordLE(Binary); + return; ++ } else if((TID.Opcode == ARM::BFC) || (TID.Opcode == ARM::BFI)) { ++ uint32_t v = ~MI.getOperand(2).getImm(); ++ int32_t lsb = CountTrailingZeros_32(v); ++ int32_t msb = (32 - CountLeadingZeros_32(v)) - 1; ++ // Insts[20-16] = msb, Insts[11-7] = lsb ++ Binary |= (msb & 0x1F) << 16; ++ Binary |= (lsb & 0x1F) << 7; ++ emitWordLE(Binary); ++ return; + } + + // If this is a two-address operand, skip it. e.g. MOVCCr operand 1.
recipes/llvm/llvm2.7/r97745-llvmPR6480.patch new file +75 -0
75 lines not on this page · raw message
recipes/llvm/llvm2.7/rawMOVLRPC.patch new file +61 -0
61 lines not on this page · raw message
recipes/llvm/llvm2.7_2.7.bb new file +47 -0
47 lines not on this page · raw message
Signature · 1 line
1.7.0.4
Re: [PATCH 1/2] llvm: backport llvm2.7 from openembedded-dev
Hello.
Quoted 1 line · On Tue, 2010-07-27 at 10:49, [email protected] wrote:
From: Henning Heinold <[email protected]>
Build and runtime tested without problems.
regards
Stefan Schmidt
PATCH 2/2 openjdk: backport from openembedded-dev
In reply to [email protected]From: Henning Heinold <[email protected]>
--- conf/checksums.ini | 20 + recipes/openjdk/files/jvm.cfg | 41 + .../openjdk/openjdk-6-6b18-1.8/build-hacks.patch | 31 + .../cacao-disable-stackbase-check.patch | 12 + .../openjdk-6-6b18-1.8/cacao-vfp-compat.patch | 37 + .../openjdk/openjdk-6-6b18-1.8/fix-llvm-libs.patch | 13 + .../fix_hotspot_crosscompile.patch | 94 + .../icedtea-crosscompile-fix.patch | 214 + .../icedtea-fix-jar-command.patch | 27 + .../openjdk-6-6b18-1.8/icedtea-hostbuildcc.patch | 12 + .../icedtea-hotspot-glibc-version.patch | 23 + .../icedtea-hotspot-isfinte.patch | 15 + .../icedtea-hotspot-isnanf.patch | 21 + .../icedtea-hotspot-loadavg.patch | 28 + .../icedtea-jdk-RTLD_NOLOAD.patch | 13 + .../icedtea-jdk-iconv-uclibc.patch | 39 + .../icedtea-jdk-remove-unused-backtrace.patch | 51 + .../icedtea-jdk-unpack-uclibc.patch | 12 + .../icedtea-launcher-stdc++.patch | 13 + .../icedtea-libnet-renaming.patch | 148 + .../openjdk-6-6b18-1.8/icedtea-remove_werror.patch | 14 + .../openjdk-6-6b18-1.8/icedtea-unbreak-float.patch | 18 + .../icedtea1.8-pre1.8.1-releasebranch-fixes.patch | 4784 ++++++++++++++++++++ .../openjdk-6-6b18-1.8/mkbc_returncode.patch | 11 + .../shark-arm-linux-cpu-detection.patch | 112 + .../shark-build-openjdkdir.patch | 13 + .../openjdk-6-6b18-1.8/zero-cmpswap-long.patch | 20 + recipes/openjdk/openjdk-6-common.inc | 530 +++ recipes/openjdk/openjdk-6-release-6b18.inc | 104 + recipes/openjdk/openjdk-6_6b18-1.8.bb | 3 + 30 files changed, 6473 insertions(+), 0 deletions(-) create mode 100644 recipes/openjdk/files/jvm.cfg create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/build-hacks.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/cacao-disable-stackbase-check.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/cacao-vfp-compat.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/fix-llvm-libs.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/fix_hotspot_crosscompile.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-crosscompile-fix.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-fix-jar-command.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-hostbuildcc.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-hotspot-glibc-version.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-hotspot-isfinte.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-hotspot-isnanf.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-hotspot-loadavg.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-jdk-RTLD_NOLOAD.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-jdk-iconv-uclibc.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-jdk-remove-unused-backtrace.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-jdk-unpack-uclibc.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-launcher-stdc++.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-libnet-renaming.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-remove_werror.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea-unbreak-float.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/icedtea1.8-pre1.8.1-releasebranch-fixes.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/mkbc_returncode.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/shark-arm-linux-cpu-detection.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/shark-build-openjdkdir.patch create mode 100644 recipes/openjdk/openjdk-6-6b18-1.8/zero-cmpswap-long.patch create mode 100644 recipes/openjdk/openjdk-6-common.inc create mode 100644 recipes/openjdk/openjdk-6-release-6b18.inc create mode 100644 recipes/openjdk/openjdk-6_6b18-1.8.bb
conf/checksums.ini +20 -0
@@ -3494,6 +3494,10 @@ sha256=1ea5bd257f755ffcae2c7a1935c37147c7392478922410e0870361eea08b6c27 md5=63220327925ace13756ae334c55a3baa sha256=1dfc4903dc0172286df4f1740fd0f12749ac81d51c602290b47cbe83d51e1d56 +[http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-0.99.4/cacao-0.99.4.tar.gz] +md5=c5e6525c5212ddbb6026e4a7cde37ca6 +sha256=c6090c1d2ed3c60acda0076b62563598267be8dab270ce49ee1035002a2510cf + [http://cairographics.org/releases/cairo-1.2.2.tar.gz] md5=2460487b1257a5583c889b1b9d2033ec sha256=9d53b8dd0bf76dd0da7cdbe65a6c6934be49bd3942dc5f7ef7bbcc7529d9ee02
@@ -12174,6 +12178,18 @@ sha256=202de62e2f3d0667cc464720d5897d0ccb29767ec24e0a4d4c5bd6c4d37425a4 md5=b70924c697584ab7955050d7a9b4de57 sha256=dae79e8c56090ac3fb4ac3fe0df9faf6a0c9694a89ef978dce0ab970557ad264 +[http://kenai.com/projects/jdk6-drops/downloads/download/jdk6-jaf-2009_10_27.zip] +md5=7a50bb540a27cdd0001885630088b758 +sha256=fdc51476fc6bcc69ea1f099f33e84601a126bfa8b11c8fa11c25dc574345aa9f + +[https://jaxp.dev.java.net/files/nidaba/documents/913/147329/jdk6-jaxp-2009_10_13.zip] +md5=a2f7b972124cd776ff71e7754eb9a429 +sha256=8714d55de18db48ca9da0ee986202005082f44cf4c215da8683342b70e61792b + +[http://kenai.com/projects/jdk6-drops/downloads/download/jdk6-jaxws-2009_10_27.zip] +md5=3ea5728706169498b722b898a1008acf +sha256=155ff3be83c980e197621a2fbf7ee34e8e0f536489351a5865cf0e52206245e2 + [http://www.jdom.org/dist/binary/archive/jdom-1.1.tar.gz] md5=22745cbaaddb12884ed8ee09083d8fe2 sha256=a13549087141be24ad176b659afdc2c675f1ffa5288ff999a193d6d44a282056
@@ -18982,6 +18998,10 @@ sha256=96159489d8b70db275c125b627c6e6912e6c078279d76b968d2e0969359c9420 md5=078fe0ab744c98694decc77f2456c560 sha256=2019a4c3d2d14620caa78d7df49fd987a041066b4631bde4fd8424033f3c1785 +[http://download.java.net/openjdk/jdk6/promoted/b18/openjdk-6-src-b18-16_feb_2010.tar.gz] +md5=94db01691ab38f98b7d42b2ebf4d5c0b +sha256=778ea7b323aaa24d3c6e8fe32b8bb0f49040d9e86271859077ada9f9ee3c8ebf + [http://jalimo.evolvis.org/repository/sources/openjdk-langtools-jdk7-b31.tar.bz2] md5=670931f67b2e4ac46c6e0cd15418f2fa sha256=f8b8820e410c137d279d14dec7e7a93217cc371acdfe1b3343b2278d1728932e
recipes/openjdk/files/jvm.cfg new file +41 -0
41 lines not on this page · raw message
recipes/openjdk/openjdk-6-6b18-1.8/build-hacks.patch new file +31 -0
@@ -0,0 +1,31 @@ +Index: icedtea6-1.8/Makefile.am +=================================================================== +--- icedtea6-1.8.orig/Makefile.am 2010-04-12 23:55:51.754838172 +0200 ++++ icedtea6-1.8/Makefile.am 2010-06-16 15:17:10.224708601 +0200 +@@ -477,6 +477,11 @@ + 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)" \ + DERIVATIVE_ID="$(ICEDTEA_NAME) $(PACKAGE_VERSION)$(ICEDTEA_REV)" \ + DEBUG_CLASSFILES="true" \ +Index: icedtea6-1.8/javac.in +=================================================================== +--- icedtea6-1.8.orig/javac.in 2010-03-25 15:10:41.714835519 +0100 ++++ icedtea6-1.8/javac.in 2010-06-16 15:14:31.205334756 +0200 +@@ -35,7 +35,9 @@ + elif [ ! -z "@ECJ@" ] ; then + @ECJ@ -1.5 -nowarn $bcoption $NEW_ARGS + else ++ # Compiling hotspot-tools consumes tons of memory and exceeds any default ++ # limits for jamvm and cacao. + CLASSPATH=@ECJ_JAR@${CLASSPATH:+:}$CLASSPATH \ +- @JAVA@ org.eclipse.jdt.internal.compiler.batch.Main -1.5 -nowarn $bcoption $NEW_ARGS ++ @JAVA@ -Xmx1024m org.eclipse.jdt.internal.compiler.batch.Main -1.5 -nowarn $bcoption $NEW_ARGS + fi +
recipes/openjdk/openjdk-6-6b18-1.8/cacao-disable-stackbase-check.patch new file +12 -0
@@ -0,0 +1,12 @@ +Index: cacao/cacao/src/mm/boehm-gc/os_dep.c +=================================================================== +--- cacao/cacao/src/mm/boehm-gc/os_dep.c 2009-02-15 16:29:15.000000000 +0100 ++++ cacao/cacao/src/mm/boehm-gc/os_dep.c 2009-02-15 16:29:24.000000000 +0100 +@@ -1077,7 +1077,6 @@ + c = stat_buf[buf_offset++]; + } + close(f); +- if (result < 0x10000000) ABORT("Absurd stack bottom value"); + return (ptr_t)result; + } +
recipes/openjdk/openjdk-6-6b18-1.8/cacao-vfp-compat.patch new file +37 -0
@@ -0,0 +1,37 @@ +Index: cacao/cacao/src/vm/jit/arm/codegen.c +=================================================================== +--- cacao/cacao/src/vm/jit/arm/codegen.c 2008-10-01 16:23:21.439856241 +0200 ++++ cacao/cacao/src/vm/jit/arm/codegen.c 2008-10-01 16:41:24.278841537 +0200 +@@ -2353,10 +2353,12 @@ + + d = md->returntype.type; + +-#if !defined(__SOFTFP__) ++#if !defined(__SOFTFP__) && !defined(__VFP_FP__) + /* TODO: this is only a hack, since we use R0/R1 for float + return! this depends on gcc; it is independent from +- our ENABLE_SOFTFLOAT define */ ++ our ENABLE_SOFTFLOAT define ++ It is only needed for -mfpu=fpa -mfloat-abi=hard! ++ */ + if (iptr->opc == ICMD_BUILTIN && d != TYPE_VOID && IS_FLT_DBL_TYPE(d)) { + #if 0 && !defined(NDEBUG) + dolog("BUILTIN that returns float or double (%s.%s)", m->clazz->name->text, m->name->text); +@@ -3019,7 +3021,7 @@ + s1 = (s4) (cd->mcodeptr - cd->mcodebase); + M_RECOMPUTE_PV(s1); + +-#if !defined(__SOFTFP__) ++#if !defined(__SOFTFP__) && !defined(__VFP_FP__) + /* TODO: this is only a hack, since we use R0/R1 for float return! */ + /* this depends on gcc; it is independent from our ENABLE_SOFTFLOAT define */ + if (md->returntype.type != TYPE_VOID && IS_FLT_DBL_TYPE(md->returntype.type)) { +@@ -3030,7 +3032,7 @@ + /* M_CAST_FLT_TO_INT_TYPED(md->returntype.type, REG_FRESULT, REG_RESULT_TYPED(md->returntype.type)); */ + if (IS_2_WORD_TYPE(md->returntype.type)) { + DCD(0xed2d8102); /* stfd f0, [sp, #-8]! */ +- M_LDRD_UPDATE(REG_RESULT_PACKED, REG_SP, 8); ++ M_LDRD_UPDATE(REG_RESULT_PACKED, REG_SP, 8); + } else { + DCD(0xed2d0101); /* stfs f0, [sp, #-4]!*/ + M_LDR_UPDATE(REG_RESULT, REG_SP, 4);
recipes/openjdk/openjdk-6-6b18-1.8/fix-llvm-libs.patch new file +13 -0
@@ -0,0 +1,13 @@ +Index: icedtea6-1.8/configure.ac +=================================================================== +--- icedtea6-1.8.orig/configure.ac ++++ icedtea6-1.8/configure.ac +@@ -472,7 +472,7 @@ + if test "x$LLVM_SHARED_LIB" != x && echo "$flag" | grep -q '^-lLLVM'; then + continue + fi +- if echo "$flag" | grep -q '^-l'; then ++ if echo "$flag" | grep -q '^-l\|.so'; then + if test "x$LLVM_LIBS" != "x"; then + LLVM_LIBS="$LLVM_LIBS " + fi
recipes/openjdk/openjdk-6-6b18-1.8/fix_hotspot_crosscompile.patch new file +94 -0
94 lines not on this page · raw message
recipes/openjdk/openjdk-6-6b18-1.8/icedtea-crosscompile-fix.patch new file +214 -0
214 lines not on this page · raw message
recipes/openjdk/openjdk-6-6b18-1.8/icedtea-fix-jar-command.patch new file +27 -0
@@ -0,0 +1,27 @@ +Index: icedtea6-1.8/Makefile.am +=================================================================== +--- icedtea6-1.8.orig/Makefile.am 2010-06-17 10:29:13.654666801 +0200 ++++ icedtea6-1.8/Makefile.am 2010-06-17 10:30:50.334670771 +0200 +@@ -1662,12 +1662,7 @@ + rm -f extra-source-files.txt + + extra-lib/about.jar: stamps/extra-class-files.stamp +- if ! test -d $(ICEDTEA_BOOT_DIR) ; \ +- then \ +- $(JAR) cf $@ -C extra-lib net ; \ +- else \ +- $(ICEDTEA_BOOT_DIR)/bin/jar cf $@ -C extra-lib net ; \ +- fi ++ $(ICEDTEA_BOOT_DIR)/bin/jar cf $@ -C extra-lib net ; + + # PulseAudio based mixer + # (pulse-java) +@@ -1750,7 +1745,7 @@ + stamps/rewrite-rhino.stamp: stamps/rewriter.stamp $(RHINO_JAR) + if WITH_RHINO + mkdir -p rhino/rhino.{old,new} +- (cd rhino/rhino.old ; jar xf $(RHINO_JAR)) ++ (cd rhino/rhino.old ; $(ICEDTEA_BOOT_DIR)/bin/jar xf $(RHINO_JAR)) + $(ICEDTEA_BOOT_DIR)/bin/java -cp $(abs_top_builddir)/rewriter \ + com.redhat.rewriter.ClassRewriter \ + $(abs_top_builddir)/rhino/rhino.old $(abs_top_builddir)/rhino/rhino.new \
recipes/openjdk/openjdk-6-6b18-1.8/icedtea-hostbuildcc.patch new file +12 -0
@@ -0,0 +1,12 @@ +Index: openjdk/hotspot/make/linux/makefiles/rules.make +=================================================================== +--- openjdk/hotspot/make/linux/makefiles/rules.make 2010-02-02 02:22:33.201668748 +0100 ++++ openjdk/hotspot/make/linux/makefiles/rules.make 2010-02-02 02:23:08.480415783 +0100 +@@ -39,6 +39,7 @@ + # $(CC) is the c compiler (cc/gcc), $(CCC) is the c++ compiler (CC/g++). + C_COMPILE = $(CC) $(CPPFLAGS) $(CFLAGS) + CC_COMPILE = $(CCC) $(CPPFLAGS) $(CFLAGS) ++CC_HOST_COMPILE = $(BUILD_CC) $(CPPFLAGS) $(CFLAGS) + + AS.S = $(AS) $(ASFLAGS) +
recipes/openjdk/openjdk-6-6b18-1.8/icedtea-hotspot-glibc-version.patch new file +23 -0
@@ -0,0 +1,23 @@ +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/openjdk/openjdk-6-6b18-1.8/icedtea-hotspot-isfinte.patch new file +15 -0
@@ -0,0 +1,15 @@ +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/openjdk/openjdk-6-6b18-1.8/icedtea-hotspot-isnanf.patch new file +21 -0
@@ -0,0 +1,21 @@ +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:47:12.695674808 +0200 ++++ openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp 2010-06-09 21:48:08.699007491 +0200 +@@ -220,14 +220,14 @@ + // checking for nanness + #ifdef SOLARIS + #ifdef SPARC +-inline int g_isnan(float f) { return isnanf(f); } ++inline int g_isnan(float f) { return __isnanf(f); } + #else + // isnanf() broken on Intel Solaris use isnand() + inline int g_isnan(float f) { return isnand(f); } + #endif + inline int g_isnan(double f) { return isnand(f); } + #elif LINUX +-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/openjdk/openjdk-6-6b18-1.8/icedtea-hotspot-loadavg.patch new file +28 -0
@@ -0,0 +1,28 @@ +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/openjdk/openjdk-6-6b18-1.8/icedtea-jdk-RTLD_NOLOAD.patch new file +13 -0
@@ -0,0 +1,13 @@ +Index: openjdk/jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c +=================================================================== +--- openjdk/jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c 2010-06-13 15:18:05.655136951 +0200 ++++ openjdk/jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c 2010-06-13 15:20:29.601377967 +0200 +@@ -51,7 +51,7 @@ + { + const char *libName = (*env)->GetStringUTFChars(env, jLibName, NULL); + // look up existing handle only, do not load +- void *hModule = dlopen(libName, RTLD_NOLOAD); ++ void *hModule = dlopen(libName, RTLD_LAZY); + dprintf2("-handle for %s: %u\n", libName, hModule); + (*env)->ReleaseStringUTFChars(env, jLibName, libName); + return (jlong)hModule;
recipes/openjdk/openjdk-6-6b18-1.8/icedtea-jdk-iconv-uclibc.patch new file +39 -0
@@ -0,0 +1,39 @@ +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/openjdk/openjdk-6-6b18-1.8/icedtea-jdk-remove-unused-backtrace.patch new file +51 -0
51 lines not on this page · raw message
recipes/openjdk/openjdk-6-6b18-1.8/icedtea-jdk-unpack-uclibc.patch new file +12 -0
@@ -0,0 +1,12 @@ +Index: openjdk/jdk/make/com/sun/java/pack/Makefile +=================================================================== +--- openjdk/jdk/make/com/sun/java/pack/Makefile 2010-06-13 15:25:21.548426411 +0200 ++++ openjdk/jdk/make/com/sun/java/pack/Makefile 2010-06-13 15:25:43.858007543 +0200 +@@ -103,6 +103,7 @@ + OTHER_LDLIBS += $(LIBCXX) -lc + # 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/openjdk/openjdk-6-6b18-1.8/icedtea-launcher-stdc++.patch new file +13 -0
@@ -0,0 +1,13 @@ +Index: openjdk/hotspot/make/linux/makefiles/launcher.make +=================================================================== +--- openjdk.orig/hotspot/make/linux/makefiles/launcher.make 2009-01-16 17:30:56.000000000 +0100 ++++ openjdk/hotspot/make/linux/makefiles/launcher.make 2009-01-16 17:31:13.000000000 +0100 +@@ -45,7 +45,7 @@ + else + LAUNCHER.o = launcher.o + LFLAGS_LAUNCHER += -L `pwd` +- LIBS_LAUNCHER += -l$(JVM) $(LIBS) ++ LIBS_LAUNCHER += -l$(JVM) $(LIBS) -lstdc++ + endif + + LINK_LAUNCHER = $(LINK.c)
recipes/openjdk/openjdk-6-6b18-1.8/icedtea-libnet-renaming.patch new file +148 -0
148 lines not on this page · raw message
recipes/openjdk/openjdk-6-6b18-1.8/icedtea-remove_werror.patch new file +14 -0
@@ -0,0 +1,14 @@ +Index: openjdk/hotspot/make/linux/makefiles/gcc.make +=================================================================== +--- openjdk/hotspot/make/linux/makefiles/gcc.make 2010-02-02 16:11:35.758533706 +0100 ++++ openjdk/hotspot/make/linux/makefiles/gcc.make 2010-02-02 16:11:42.761456458 +0100 +@@ -98,9 +98,6 @@ + CFLAGS += -pipe + endif + +-# Compiler warnings are treated as errors +-WARNINGS_ARE_ERRORS = -Werror +- + # 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/openjdk/openjdk-6-6b18-1.8/icedtea-unbreak-float.patch new file +18 -0
@@ -0,0 +1,18 @@ +Index: openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h +=================================================================== +--- openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h 2010-02-02 13:49:39.972718207 +0100 ++++ openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h 2010-02-02 13:50:04.635639302 +0100 +@@ -27,13 +27,11 @@ + + #include "jfdlibm.h" + +-#ifdef __NEWVALID /* special setup for Sun test regime */ + #if defined(i386) || defined(i486) || \ + defined(intel) || defined(x86) || \ + defined(i86pc) || defined(_M_IA64) || defined(ia64) + #define _LITTLE_ENDIAN + #endif +-#endif + + #ifdef _LITTLE_ENDIAN + #define __HI(x) *(1+(int*)&x)
recipes/openjdk/openjdk-6-6b18-1.8/icedtea1.8-pre1.8.1-releasebranch-fixes.patch new file +4784 -0
2,086 lines not on this page · raw message
recipes/openjdk/openjdk-6-6b18-1.8/mkbc_returncode.patch new file +11 -0
Lines of this file are not shown. View the raw message.
recipes/openjdk/openjdk-6-6b18-1.8/shark-arm-linux-cpu-detection.patch new file +112 -0
112 lines not on this page · raw message
recipes/openjdk/openjdk-6-6b18-1.8/shark-build-openjdkdir.patch new file +13 -0
Lines of this file are not shown. View the raw message.
recipes/openjdk/openjdk-6-6b18-1.8/zero-cmpswap-long.patch new file +20 -0
Lines of this file are not shown. View the raw message.
recipes/openjdk/openjdk-6-common.inc new file +530 -0
530 lines not on this page · raw message
recipes/openjdk/openjdk-6-release-6b18.inc new file +104 -0
104 lines not on this page · raw message
recipes/openjdk/openjdk-6_6b18-1.8.bb new file +3 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.0.4
Part of the diff is not shown here. View the raw message.
Re: [PATCH 2/2] openjdk: backport from openembedded-dev
Hello.
Quoted 1 line · On Tue, 2010-07-27 at 10:49, [email protected] wrote:
From: Henning Heinold <[email protected]>
Build and runtime tested without problems.
regards
Stefan Schmidt