aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk
AgeCommit message (Collapse)Author
2016-03-23Openjdk-8: Fix openjdk build when CXX contains assembler argumentsErkka Kääriä
Builds currently fail, if CXX also contains assembler arguments. These arguments are in form "-Wa,args,are,here". When this string is then used in openjdk make process, it is inserted before the make evaluates its argument lists. As these lists are comma separated, the commas in assembler argument list are interpreted as list separators, which breaks the build. This is fixed by adding the extra '$', which means the string is inserted after make evaluates the list. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-01-04openjdk-8: fix the alternative for javacJackie Huang
* ${PN}-jdk doesn't exist at all so the alternative for javac is invalid. * remove the useless commented lines as well. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-01-04openjdk-7: fix the incorrect URIs and checksumsJackie Huang
The error in do_configure is like: openjdk.tar.bz2: FAILED /usr/bin/sha256sum: WARNING: 1 of 1 computed checksum did NOT match That's because the URIs and checksums do not match the ones defined in Makefile.am, then the configure will fail the test and download again from ICEDTEA_DROP_URL. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-01-04openjdk hotspot build system std.h fixAmy Fong
Backport from upstream from jdk9 Hotspot build system looking for sdt.h in the wrong place Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04icedtea7-native/openjdk-7: fails on hosts with no unzipAmy Fong
Fails with an error message /usr/bin/unzip not found. Additionally, icedtea7 enables you to specify an unzip to use by setting the variable UNZIP, this results in an error because unzip uses UNZIP to specify options, hence you'll end up with unzip trying to unzip unzip. Note: Same issue applies to openjdk Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04openjdk-7: add depends on attrAmy Fong
openjdk depends on attr, this can result in a configure failure if the dependency is missing. checking for sys/epoll.h... (cached) yes checking attr/xattr.h usability... no checking attr/xattr.h presence... no checking for attr/xattr.h... no configure: error: Could not find required system headers; install the appropriate files from glibc-headers, libc6-dev and/or libattr-devel, libattr1-dev or use --disable-compile-against-syscalls if necessary. Configure failed. The contents of all config.log files follows to aid debugging Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04openjdk: postinst cleanupAmy Fong
Some of the postinst rules results in a build error because "ERR" is in the first line. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04openjdk: add keytool linkAmy Fong
Add alternative link keytool Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04openjdk-7: added java tools to the jdk packageAmy Fong
The jdk package was missing tools like javac and tools.jar. Adding jvm to the packaging pulls in the tool set. Signed-off-by: Paul Barrette <paul.barrette@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04openjdk: autools not to override B varAmy Fong
${B} is set before autotools and thus is overrided by autotools. Some of the patches within icedtea are expected to be patched against ${S}/build (during do_configure() phase). As autotools to change B = "${WORKDIR}/build", so this causes some patches failed to apply and hence breaks do_configure() with the following errors: | patching file openjdk/jdk/make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java | can't find file to patch at input line 13 | Perhaps you used the wrong -p or --strip option? | The text leading up to this was: | -------------------------- | |--- | | build/openjdk/corba/make/common/shared/Defs-utils.gmk | 6 +++--- | | build/openjdk/jdk/make/common/Demo.gmk | 2 +- | | build/openjdk/jdk/make/common/Release.gmk | 2 +- | | build/openjdk/jdk/make/common/internal/ImportComponents.gmk | 4 ++-- | | build/openjdk/jdk/make/common/shared/Defs-utils.gmk | 6 +++--- | | build/openjdk/jdk/make/common/shared/Sanity.gmk | 2 +- | | build/openjdk/jdk/make/java/redist/Makefile | 4 ++-- | | 7 files changed, 13 insertions(+), 13 deletions(-) | | | |--- a/build/openjdk/corba/make/common/shared/Defs-utils.gmk | |+++ b/build/openjdk/corba/make/common/shared/Defs-utils.gmk | -------------------------- | File to patch: | Skip this patch? [y] | File to patch: | Skip this patch? [y] | Skipping patch. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04openjdk-8-native: fix improper do_install and PROVIDESJackie Huang
We had: virtual/jar-native provided by fastjar-native virtual/java-native provided by cacao-native and jamvm-native virtual/javac-native provided by ecj-bootstrap-native Then openjdk-8-native added and also provides: virtual/java-native and virtual/javac-native (it also installs ${STAGING_BINDIR_NATIVE}/jar but doesn't add virtual/jar-native in the PROVIDES) which introduces circular dependencies, java-bootstrap-components.bbclass is to avoid the circular dependencies but it's not a correct way since it make two conflicted packages build into the same sysroot: DEPENDS_prepend_class-native = " ecj-bootstrap-native " DEPENDS_prepend_class-target = " virtual/javac-native " virtual/javac-native is provided by openjdk-8-native, and it assumed that ecj-bootstrap-native, fastjar-native and cacao-native/jamvm-native are always built before openjdk-8-native, then in the do_install of penjdk-8-native, it removes them from staging dirs first, then install (create symlinks for) these files in staging dirs directly, which results with empty sstate and builds from sstate cache or builds not in this assumption will fail. The fixes here includes: - Revert "meta-java: rely on well known bootstrap-path" in previous commit to remove the improper java-bootstrap-components.bbclass - Do not let openjdk-8-native provides jar, java and javac, just like what we do in icedtea7-native, which can provides but not to avoid circular dependencies and conflicts. - make cacao-native back to provide virtual/java-native, and ecj-bootstrap-native back to provide virtual/javac-native - Add back provider settings in README. - Remove the update-alternatives in openjdk-8-native, it doesn't work for native package. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2015-12-30openjdk-8/openjre-8: skip the dev-so testJackie Huang
Fixed: ERROR: QA Issue: non -dev/-dbg/nativesdk- package contains symlink .so: openjdk-8 path 'work/core2-64-poky-linux/openjdk-8/72b05-r0/packages-split/openjdk-8/usr/lib/jvm/openjdk-8/jre/lib/amd64/server/libjsig.so' [dev-so] The symlink .so is valid so we just skip the test just like what we does in openjdk-7. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2015-12-30openjdk-8/openjre-8: fix host-user-contaminated QA issueJackie Huang
Fixed: WARNING: QA Issue: openjdk-8: /openjdk-8-doc/usr/lib/jvm/openjdk-8/jre/THIRD_PARTY_README is owned by uid 1786, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] The use of cp results in files in the recipe being owned by the user running bitbake, so fix the owner to root:root Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2015-12-17openjdk-8: Use zero mode on armErkka Kääriä
Currently arm build fails due to hotspot errors. Use zero mode instead. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-17openjdk-7: skip the already-stripped testJackie Huang
libfreetype.so.6 is copied from STAGING_LIBDIR and binaries/libraries in sysroot are already stripped since the following commit in oe-core: "30f3774 staging: Strip files in sysroot" Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-17openjdk-7: drop an inappropriate patchJackie Huang
The patch icedtea-jdk-build-nio-gensor-genuc-gensc-static.patch is to add static option to build nio gensor/genuc/gensc, and was added when upgrading to IcedTea 2.6.1 OpenJDK 7u85b01. Another patch icedtea-jdk-nio-use-host-cc.patch uses host cc for nio build so it fails on host that lack of static libraries: | /usr/bin/ld: cannot find -lpthread And there is no comments explaining why it needs static linking, so drop the patch for now unless we have better understanding and make a more proper patch. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-17openjdk-8: fix rewrite QA warningsJens Rehsack
Fix bitbake warnings from variable renaming like Variable key FILES_${PN} (${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir} ${localstatedir} ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*${SOLIBS} ${base_prefix}/lib/udev/rules.d ${prefix}/lib/udev/rules.d ${datadir}/${BPN} ${libdir}/${BPN}/* ${datadir}/pixmaps ${datadir}/applications ${datadir}/idl ${datadir}/omf ${datadir}/sounds ${libdir}/bonobo/servers) replaces original key FILES_openjre-8 ( ${JRE_HOME}/bin/[a-z]* ${JRE_HOME}/lib/[a-z]* ${JRE_HOME}/LICENSE ${JRE_HOME}/release ). It is caused by using FILES_${PN} and FILES_{JDKPN} or FILES_${JREPN}, respectively. Moving FILES_{JDKPN} to openjdk-8_%.bb and FILES_${JREPN} to openjre-8_%.bb to allow consequently use FILES_${PN}. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-12-08openjdk-8: add recipes for openjdk-8 and openjre-8Jens Rehsack
This adds openjdk-8 for native and target builds and allows a stripped openjre-8 being built as well instead of trying to cherry-pick jre components from jdk-image. The recipes allow building openjdk-8 with or without: * x11 * cups * alsa/pulseaudio and let packager enable unlimited-crypto, if desired. To support certificate based java libraries, cacerts is created based on ca-certificates from OE-core. Since there can be only one PROVIDES for virtual/java-native and virtual/javac-native, move the provides to openjdk-8-native (I think everyone agrees it's a better choice than ecj-bootstrap-native). Plus: Applying a fix from openjdk-9 repository which fixes build issues using gcc5 Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2015-10-30openjdk: fix indentationRichard Leitner
Change the indentation for all openjdk recipes to 4 spaces. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-30openjdk-7: remove openjdk-7-release-*.incRichard Leitner
Due to the fact we will always support only one OpenJDK 7 version the openjdk-7-release-*.inc is not needed. Therefore remove this file and split it content to openjdk-7_*.bb and openjdk-7-common.inc. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-29Avoid parse time errors due to dependency on x11, for distros without x11Jens Rehsack
BitBake raises some errors when processing recipes that depend on x11 for distros that don't have x11 in DISTRO_FEATURES. To work around that issue, REQUIRED_DISTRO_FEATURES = "x11" (from distro_features_check.bbclass) has been set for the following recipes: * cacao (_class-target) * classpath (_class-target) * jamvm (_class-target) * openjdk-7-release That makes BitBake skip those recipes during the cache generation (they'd still be parsed, but ignored). This patch improves the idea from Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Jens Rehsack <sno@netbsd.org> Acked-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-28openjdk-7: update to IcedTea 2.6.2 OpenJDK 7u91b01Richard Leitner
IcedTea 2.6.2 provides OpenJDK 7u91, which adds the October 2015 security updates. For more details see: http://blog.fuseyism.com/index.php/2015/10/23/security-icedtea-2-6-2-for-openjdk-7-released/ Furthermore the patches directory for OpenJDK-7 was renamed to avoid the version number. This makes it easier for upgrades and to see diff's between patches. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-19openjdk7: remove broken/unsupported VM'sJens Rehsack
Since Shark is utterly broken and cacao and jamvm are terrible slow compared to zero, it's pointless to support them for targets with limited resources unless there is active maintainership taken by responsible person. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-19icedtea7: allow modern Linux being used, eitherJens Rehsack
Since Yocto Project has a reasonable definition of supported build hosts, we shouldn't restrict to e.g. pre 4.x kernels as icedtea7 expects. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-19openjdk-6: removeJens Rehsack
Since OpenJDK-6 is not maintained anymore, it's more reasonable to move to OpenJDK-8 instead of sticking at unmaintained, upstream not supported VM version. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-15openjdk: Avoid extra-noise because of self-satisfying dependencyJens Rehsack
I realized one small issue last days: the dependency of openjdk-*-demos on java2-vm, which is provided by the current recipe (eg. openjdk-7) causes bitbake scan for alternatives (eg. java2-vm provided by openjdk-6) without any need. I would recommend to remove such a generic dependency: * openjdk-6-demos require openjdk-6-jre, period. * openjdk-7-demos require openjdk-7-jre, period. * openjdk-8-demos require openjdk-8-jre, period. There is no sense in satisfying openjdk-8-demos with openjdk-6-jre (even if it might be possible). Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18Avoid parse time errors due to dependency on x11, for distros without x11Mario Domenech Goulart
BitBake raises some errors when processing recipes that depend on x11 for distros that don't have x11 in DISTRO_FEATURES. To work around that issue, REQUIRED_DISTRO_FEATURES = "x11" (from distro_features_check.bbclass) has been set for the following recipes: * cacao * classpath * jamvm * openjdk-6-release * openjdk-7-release That makes BitBake skip those recipes during the cache generation (they'd still be parsed, but ignored). Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18openjdk-7: remove IcedTea 2.5.4, OpenJDK 7u75b13Richard Leitner
OpenJDK 7 was previously updated to IcedTea 2.6.1, 7u85b01. Therefore the old version is removed now. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18openjdk-7: Add IcedTea 2.6.1 OpenJDK 7u85b01Richard Leitner
Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18openjdk-7-common.inc: bump PR to 6Richard Leitner
Increment the PR of openjdk-7-common.inc due to the previous changes. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18openjdk-7-common: fix FILES_openjdk-7-jre_appendRichard Leitner
Use the PN variable instead of the hardcoded "openjdk-7-jre" string. Furthermore fix the indentation of its content. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18openjdk-7: move "--disable-pulse-java" from common to 75b13 onlyRichard Leitner
The "--disable-pulse-java" configuration is no longer available in IcedTea 2.6.1, therefore move it to the 2.5.4 (75b13) version only. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18openjdk-7-common: explicitely disable PCSC and SCTPRichard Leitner
PCSC default value was changed to true and SCTP was added during the 2.6.0 IcedTea release so disable them both explicitely in openjdk-7-common.inc Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-06Add explict getVar param for (non) expansionOtavio Salvador
Rather than just use d.getVar(X), use the more explict d.getVar(X, False) since at some point in the future, having the default of expansion would be nice. This is the first step towards that. This patch was mostly made using the command: sed -e 's:\(getVar([^,()]*\)\s*):\1, False):g' -i `grep -ril getVar *` Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-06-23openjdk-7: fix patchAmy Fong
Fixing what looks like a hand edited patch error Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Maxin B. John <maxin.john@enea.com>
2015-04-28openjdk-7: remove IcedTea 2.3.12, OpenJDK 7u25b30Sven Ebenfeld
We have now updated to IcedTea 2.5.4, so we can remove the old version. Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28openjdk-7: Add libxslt-native and krb5 as dependencySven Ebenfeld
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28openjdk-7: use icedtea7-native as dependency instead of icedtea6Sven Ebenfeld
Due to problems when using native rmic, I switched to using icedtea7. Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28openjdk-7: Add IcedTea 2.5.4 OpenJDK 7u75b13Sven Ebenfeld
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-01openjdk-6: Add libxslt-native as dependencyOtavio Salvador
The build system looks for xsltproc during configure, when bootstrap is required, so we need to have it around. This has been catch when building the recipe in a clean tmp directory. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-31openjdk-7: add /usr/lib/jni to DEFAULT_LIBPATHMario Domenech Goulart
Some recipes install JNI-based bindings into /usr/lib/jni (e.g., rxtx), so it's sensible to add this directory to DEFAULT_LIBPATH (java.library.path). That's also how Debian does. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-11openjdk-7-jre: RDEPENDS openjdk-7-commonMagnus Olsson
-jre binaries such as keytool, policytool and more requires libjli.so so ensure there's a RDEPEND that provides it. Same goes for openjdk-7-java (java binary FILERDEPENDS libjli.so). Both of these already DEPENDS -common, so the build was not broken before but this patch will also silence the QA file-rdeps issue. Signed-off-by: Magnus Olsson <magnus@minimum.se> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-25openjdk-6: Fix cross compilation for e6500 machinesZhenhua Luo
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> Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-25openjdk-6: do not run gamma test for cross compilesTing Liu
set CROSS_COMPILE_ARCH which will be checked before run gamma test. Fix the below issue: | make[6]: Leaving directory `.../openjdk-6-jre/6b32-1.13.4-r22.0/build/openjdk.build/hotspot/outputdir/linux_ppc64_zero/product' | cd linux_ppc64_zero/product && ./test_gamma | ./test_gamma: line 72: ./gamma: cannot execute binary file | make[5]: *** [productzero] Error 126 Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-25openjdk-6: pass option --disable-system-lcmsTing Liu
Fix the below issue: | checking whether to enable the use of LCMS2... yes | checking whether to use the system LCMS install... yes | checking for LCMS2... no | configure: error: Could not find LCMS >= 2.5; install it or build with --disable-system-lcms to use the in-tree copy. | Configure failed. The contents of all config.log files follows to aid debugging | ERROR: oe_runconf failed Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-25openjdk-6: Remove currency data generation expiration dateTing Liu
As the openjdk source was extracted during 'make patch-ecj' in do_configure, apply the patch via do_configure_append. icedtea6-1.13.4/Makefile.am:1200:stamps/extract-openjdk.stamp: stamps/download.stamp | if OPENJDK_SRC_DIR_FOUND | if ! test -d openjdk ; then \ | cp -pPR $(OPENJDK_SRC_DIR_LINK) $(OPENJDK_SRC_DIR) openjdk ; \ | fi | else | if USE_HG | if ! test -d openjdk ; then \ | cp -pPRl openjdk.hg openjdk ; \ | fi | else | set -e ; \ | if ! test -d openjdk ; \ | then \ | mkdir openjdk ; \ | $(TAR) xf $(OPENJDK_SRC_ZIP) -C openjdk; \ | chmod -R ug+w openjdk ; \ | sh $(abs_top_srcdir)/fsg.sh ; \ | fi | endif | endif Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-25Revert "openjdk: Fix QEMU call to use sysroot for libs"Max Krummenacher
This reverts commit ab51e51d9a9a51bedd19de09bcba4ce830dfc5e7. Using an oe setup with ptest enabled makes qemu never to return due to testfiles staged by udev in the sysroot See also: http://lists.openembedded.org/pipermail/openembedded-core/2014-September/097098.html All binaries compiled for qemu are now linked with -static. The -L, -E parameters pointing to the sysroot and dynamic linker are not needed anymore and removel works around the issue. Further details: http://lists.openembedded.org/pipermail/openembedded-devel/2015-January/099795.html Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-25binaries run by qemu: link with -static, force ld.bfdMax Krummenacher
For machines using DEFAULTTUNE = "armv7ahf" or DEFAULTTUNE = "armv7athf" a build of openjdk-7 fails with segmentation faults during the qemu-arm runs. e.g. Segmentation fault (core dumped) | qemu-arm -cpu cortex-a8 -s 2097152 -L .../sysroots/colibri-t20 \ -E LD_LIBRARY_PATH=.../sysroots/colibri-t20/lib ./mkbc - bytecodes_arm.s I found that qemu-arm can not execute any binary which is compiled with the resulting compiler and is linked with the gold linker and the -static flag. Even a simple hello world program does not work. When executing that hello world on the real hardware it also generates a segmentation fault. Removing the -static flag or forcing the bfd linker fixed this. Note that other machines, colibri-t30 or i.mx6 based ones with neon but otherwise identical setup do not suffer from the issue. DEFAULTTUNE = "armv7athf-neon" works. While at it convert the sizer call for openjdk-7 used when building xawt also to use -static even though the code is currently disabled. Further details: http://lists.openembedded.org/pipermail/openembedded-devel/2015-January/099795.html Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-31openjdk: Remove currency data generation expiration date.Alex Gonzalez
The currency data generation class makes a 10 years expiration date check. It might be reasonable to make sure the input data is updated periodically, but on an embedded system we don't want to have this type of built in time expirations. This commit removes the date expiration check. Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-30openjdk: Fix QEMU call to use sysroot for librariesOtavio Salvador
During the build, some utilities are ran using the QEMU however it wasn't using sysroot to load the Lib C and other base libraries. Pass the required options for QEMU to solve it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>