aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/icedtea
AgeCommit message (Collapse)Author
2018-06-19set SUMMARY instead of DESCRIPTIONAndré Draszik
Short descriptions should go into SUMMARY (DESCRIPTION will get the same value if not set.) Signed-off-by: André Draszik <andre.draszik@jci.com> Tested-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2018-06-06icetea7, openjdk-8: Fix depenency to xproto -> xorgprotoJason Wessel
The latest oe-core has changed the X protocol header provider package name. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Reviewed-by: Richard Leitner <richard.leitner@skidata.com> Tested-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Henning Heinold <henning@itconsulting-heinold.de>
2017-12-22openjdk-8-native, icedtea7-native: use JAVA_TOOL_OPTIONS from environmentHaiqing Bai
Solution on how to be able to build openjdk for a build host that need the environment variable JAVA_TOOL_OPTIONS. Use JAVA_TOOL_OPTIONS from environment. On some machines this is needed in order to start java when the amount of RAM is limited for the user. Author: Peter Bergin <peter.bergin@windriver.com> Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com> Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-09-26icedtea-native: Fix segmentation build during buildRicardo Ribalda Delgado
Without this patch, icedtea-native do_compile() results in a SIGSEGV when compiled with GCC7 Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-12-06icedtea7-native: Fix segmentation faultRicardo Ribalda Delgado
Without this patch the generated icedtea produces segmentation faults. This is probably due to a race condition during cleanout. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-12-06move from bb.data.getVar(x, d, 1) to d.getVar(x, True)Cody P Schafer
bb.data.getVar was removed, need to use the modern mechanism. Signed-off-by: Cody P Schafer <dev@codyps.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-12-06openjdk-7: ignore the readdir_r deprecation already ignored in openjdk-8Cody P Schafer
Without this, icedtea7-native (used to bootstrap openjdk) fails to build on my host system due to deprecation warnings being treated as errors. I haven't observed the same issue with openjdk-7 itself, but it seems likely to affect it as well, so I've added the -Wno-error flag there too. Signed-off-by: Cody P Schafer <dev@codyps.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-10-21icedtea7-native: fix source archive checksumsRichard Leitner
The upstream checksum of the downloaded icedtea-native changeset archives has changed. Due to the fact the contents are exactly the same (see below for checksum comparisons) we adopt these new checksums. OPENJDK) $ sha256sum openjdk_* 5efd8e66f18fcbf45527bcc74aa3e6ed11f66bc793c88e3841925c4acb4827ba openjdk_new_f89009ada191.tar.bz2 54a0ef02b56b265b4122324e08a33c42ececbf2a300ada260611e7b6ccdba96d openjdk_old_f89009ada191.tar.bz2 $ tar xf openjdk_new_f89009ada191.tar.bz2 -O | sha256sum 2a9103bf67e7fed6db6b6d0dd4075764599bdd829cd5551b7d5defb27410ec92 - $ tar xf openjdk_old_f89009ada191.tar.bz2 -O | sha256sum 2a9103bf67e7fed6db6b6d0dd4075764599bdd829cd5551b7d5defb27410ec92 - HOTSPOT) $ sha256sum a456d0771ba0* 09a64fca0beff0759ef1b461d63ed6a00e43032972781bb3a55e49d8b93f67d0 a456d0771ba0-new.tar.gz 69719a9657b15e6bef1bef137a15d830293091fbc46616fe8759e863ba904442 a456d0771ba0-old.tar.gz $ tar xf a456d0771ba0-new.tar.gz | sha256sum e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 - $ tar xf a456d0771ba0-old.tar.gz | sha256sum e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 - CORBA) $ sha256sum 79ee8535bc51* 00bf0b0996484db3d0497345ca5b14db4ffb2288b6c7adf8a003b2eafc396fb2 79ee8535bc51-new.tar.gz f61dad8d484e4a9e645b7fb73da87bc44f9986a074629154f37ed46be05f5b84 79ee8535bc51-old.tar.gz $ tar xf 79ee8535bc51-new.tar.gz -O | sha256sum dfb2aa48d068b57d68db1a7759d42c0bff047a096a2d76d7ca5fee13942ce6fb - $ tar xf 79ee8535bc51-old.tar.gz -O | sha256sum dfb2aa48d068b57d68db1a7759d42c0bff047a096a2d76d7ca5fee13942ce6fb - JAXP) $ sha256sum 77e7219c7424* bb4beb62fae52d0ff871aefd64ae54eaed8978bff87df1e23f1bfead40ceae6d 77e7219c7424-new.tar.gz 9cfbc0efaface20f7188870b9bf5b0ebc73d745cd9a49d013cd4e81ba223ccdc 77e7219c7424-old.tar.gz $ tar xf 77e7219c7424-new.tar.gz -O | sha256sum 7f8495064705991f4a8b581076b7cb30410add3480a7ee9782f30ea9ba9b30d8 - $ tar xf 77e7219c7424-old.tar.gz -O | sha256sum 7f8495064705991f4a8b581076b7cb30410add3480a7ee9782f30ea9ba9b30d8 - JAXWS) $ sha256sum d92eda447bca* 566778320a0fa18ca93427d6afadc8bd3e416fd8249f9ce88e37e215f9295335 d92eda447bca-new.tar.gz 6d0858d46b68d6e8488e70d1675e5b656aeb4ef51e8ee4e330e77219f92c1c0c d92eda447bca-old.tar.gz $ tar xf d92eda447bca-new.tar.gz -O | sha256sum 67ba2dbfc15810134e625f818bbe49b79e6673cdb6eb52e08e4318cb9f9f776c - $ tar xf d92eda447bca-old.tar.gz -O | sha256sum 67ba2dbfc15810134e625f818bbe49b79e6673cdb6eb52e08e4318cb9f9f776c - JDK) $ sha256sum d7ecb57d3c61* b24bf93559804610a6e1078bea94adcec1b2f818dd600b12304926f6e86c6747 d7ecb57d3c61-new.tar.gz 11146763409098a42dd9896f3fb7e7324a58c5cff5298009eb347ad26abeed51 d7ecb57d3c61-old.tar.gz $ tar xf d7ecb57d3c61-new.tar.gz | sha256sum e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 - $ tar xf d7ecb57d3c61-old.tar.gz | sha256sum e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 - LANGTOOLS) $ sha256sum fd2fdb20d858* 10fee41a0cdd1b166ff78e6426430c76af0f2358d026c181d325af1e41646c34 fd2fdb20d858-new.tar.gz 3a4039348aa49547fffa96563b77b704c72e2ac3ead2c132843ba1e9fe4dbad2 fd2fdb20d858-old.tar.gz $ tar xf fd2fdb20d858-new.tar.gz -O | sha256sum 4994132cef3d7fca7402e22efbe45ba26a827ac5923228091134d5214616526b - $ tar xf fd2fdb20d858-old.tar.gz -O | sha256sum 4994132cef3d7fca7402e22efbe45ba26a827ac5923228091134d5214616526b - Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-10-10icedtea7-native: Fix IOException constructor compile errorRicardo Ribalda Delgado
Under some circumstances, the bootstrap error fails with the following error: build-bootstrap-javac: [javac] Compiling 1 source file to build/openjdk.build-boot/langtools/build/bootstrap/classes [javac] 1. ERROR in /com/sun/tools/javac/file/ZipFileIndex.java [javac] super(message, cause); [javac] The constructor IOException(String, Throwable) is undefined The reason for that error is that rt.jar does not contain the openjdk classes but the ones from classpath 0.99. The error eventually goes away after a couple of hours :S. After some tedious debug, I figured out that the problem was the timestamp handling of zip/unzip. The Makefile launches zip with the following options: $(ZIP) -qur which only updates the content of the classes that have a timestamp older than the new ones. According to zip manpage: """ Note that under many operating systems, the TZ (timezone) environment variable must be set correctly in order for -f and -u to work properly """ On this patch, I remove the -u option from zip, always replacing the classes inside rt.jar with the classes from openjdk. I cannot think of an scenario where this may fail. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-09-16icedtea7-native: Add missing dependenciesRicardo Ribalda Delgado
Without this patch icedtea uses host make and linux32 checking for make... /usr/bin/make checking for linux32... /usr/bin/linux32 Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-08-30Reimplement helper method for parallelizing JDK buildsKyle Russell
Simplifies duplicated implementation across multiple recipes that all inherited from java.bbclass. Previously implementation was not flexible in supporting other make job-limiting flags (like -l for load) that are typically passed in through PARALLEL_MAKE. (OpenJDK doesn't know about these other flags that might have gotten tagged on after the value for -j.) Signed-off-by: Kyle Russell <bkylerussell@gmail.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-06-30icedtea7-native: make GCC 6 happyDaniel McGregor
GCC 6 sets the default C++ standard to C++14 and introduces dead store elimination by default. icedtea7 is not ready for either of these changes, so just set the C++ standard back to gnu++98 and disable dead store elimination. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-06-20replace base_contains by bb.utils.containsMaxin B. John
Replace all instances of base_contains with bb.utils.contains to avoid warnings. Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-04-26icedtea7-native: 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: Maxin B. John <maxin.john@intel.com>
2016-04-11icedtea7-native: backport patch of jaxb to fix NullPointerExceptionKai Kang
Backport patch of jaxb from https://java.net/projects/jaxb/sources/v2/revision/1864898 to fix NullPointerException. See https://java.net/jira/browse/JAXB-860 as well. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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: fix CVE-2014-1876Amy Fong
Rather than creating /tmp/unpack.log and insecure permissions, if unpack cannot create teh specified log file, it defaults to writing to /dev/null, failing that, stderr. (These are the default options if it cannot write to /tmp/unpack.log) Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04icedtea7-native compile failure undefined reference to `main'Amy Fong
On hosts without /usr/include/X11/extensions, icedtea7-native compile results in a build failure while trying to create an object file: +/data/home/.../git/csu/../sysdeps/x86_64/start.S:118: undefined reference to `main' [2015-03-31 15:22:53.115930161+00:00] | collect2: error: ld returned 1 exit status The compile line shows: (-c gets eaten) ... -I -c -o The makefile tries to do the following which results in a faulty build line if /usr/include/X11/extensions doesn't exist: CPPFLAGS += -I$(firstword $(wildcard $(OPENWIN_HOME)/include/X11/extensions) \ $(wildcard /usr/include/X11/extensions)) This looks like a missed line from the following patch which removes the need for X11/extensions: icedtea-ecj-disable-compilation.patch Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04Missing inheritance and dependencies in some java packagesAmy Fong
icedtea7-native, openjdk-7, and jamvm-native requires pkg-config to configure without running into an error similar to 7554: syntax error near unexpected token `NSS,' 7554: `PKG_CHECK_MODULES(NSS, nss, NSS_FOUND=yes, NSS_FOUND=no)' classpath-native and jamvm-native both needs to depend on java-initial-native Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04Revert "meta-java: rely on well known bootstrap-path"Jackie Huang
This reverts commit 04d5d0bf414c05ca59618d77f17ff9898aa1c566. Detail reason is in the following commit. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2015-12-08meta-java: rely on well known bootstrap-pathJens Rehsack
Instead of potential circular depending virtual/javac-native (even this recipe provides such a useable java-native), rely on well known path via cacao-native to build up to icedtea7-native in reliable manner. virtual/javac-native should be used by parts not belonging to the bootstrap phase. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2015-10-23icedtea7-native: Fix memory leak when compiled with GCC 5.0+Erkka Kääriä
Hotspot compiler has a bug where signed integers could overflow. This is undefined behaviour, and causes massive memory leak when compiled with GCC 5.0+, causing the build to fail. This is fixed by backporting patch from https://bugs.openjdk.java.net/browse/JDK-8078666 where it was fixed by Severin Gehwolf. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
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-15icedtea7-native: compiling without x11Jens Rehsack
Allow building icedtea7 without any X11 dependency. This affects the native part only which is required to bootstrap openjdk-8-native for cross-compiling openjdk-8, but should be adoptable for cross-compiled recipe as well as for openjdk-6. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28icedtea7-native: remove unused patchSven Ebenfeld
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28icedtea7-native: fix build with gcc 4.9Sven Ebenfeld
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28icedtea7-native: Add attr-native and libxslt-native as dependencySven Ebenfeld
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-31icedtea6-native.inc: remove --disable-nppluginMario Domenech Goulart
Fixes: WARNING: QA Issue: icedtea6-native: configure was passed unrecognised options: --disable-npplugin Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-26icedtea7-native: remove currency data generation expiration dateHugo Vasconcelos Saldanha
Removes a currency date expiration check whis causes a build failure. Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-31icedtea: openjdk: 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-30Revert "icedtea6-native: Depends on linux-libc-headers-native"Otavio Salvador
This reverts commit 79c731ead1813a700b63dab5f728239b7d312e3c. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-30icedtea6-native: fix native-vsyscall failingMax Krummenacher
On a Fedora 20 build machine icedtea6-native fails with: x86_64-linux/icedtea6-native/1.8.11-r5.3/icedtea6-1.8.11/openjdk-ecj/hotspot/src/os/linux/vm/os_linux.cpp:2431:60: error: expression cannot be used as a function vgetcpu_t vgetcpu = (vgetcpu_t)VSYSCALL_ADDR(__NR_vgetcpu); ^ make[7]: *** [os_linux.o] Error 1 The patch makes the build succeed. (On an openSUSE 13.1 machine the build succeeds with and without the patch)
2014-12-16icedtea6-native: Depends on linux-libc-headers-nativeOtavio Salvador
This fixes #74. The error was: ,---- | .../icedtea6-1.8.11/openjdk-ecj/hotspot/src/os/linux/vm/os_linux.cpp:2431:60: \ | error: expression cannot be used as a function | vgetcpu_t vgetcpu = (vgetcpu_t)VSYSCALL_ADDR(__NR_vgetcpu); `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-10-10openjdk: update download server in all remainings recipesHenning Heinold
* new server is now icedtea.wildebeest.org
2013-09-29jamvm-native: separate bootclasspath out into shell scriptHenning Heinold
* instead of hardcode BCP and LD_LIBRARY_PATH into serval files use a shell script and set them there * this allow us again to use other vms for java-native
2013-09-29icedtea: Make shared state friendlyKhem Raj
icedtea-native encodes absolute build time classpaths which wont work in sstate however at same time we can override it with env variables like BOOTCLASSPATH and LD_LIBRARY_PATH to reflect current build environment. Secondly, exclude ICEDTEA_PARALLEL_MAKE from shared state signatures, it can alter signatures if PARALLEL_MAKE value between producer and consumer of sstate is not matching. Now that icedtea7-native is shared state safe, remove the shared state invalidation on jamvm-native that was needed for icedtea7-native to build Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-09-24icedtea: update download url for icedtea6-nativeHenning Heinold
2013-01-24icedtea6-native: prepend FILESPATH for newer bitbakeHenning Heinold
2013-01-24icedtea6-native: remove older patchesHenning Heinold
2013-01-21openjdk-7: Remove mutliline commentKhem Raj
Gets through the parsing errors with latest bitbake/master Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-11-27icedtea7-native: Add missing dependency on missing unzip-nativeKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-11-23icedtea7-native: update to version 2.1.3Henning Heinold
2012-11-22icedtea7-native: simple copy over from openjdk-7 branchHenning Heinold
2012-11-09icedtea6-native: fix build problemSteffen Sledz
Fix problem with unknown gcc command line option '-mimpure-text' which is an Solaris 2 only option (according to the man page). Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2012-11-09icedtea6-native: fix compile errorSteffen Sledz
Don't return booleans from methods returning pointers. see also: <http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/f457154eee8b> - commit was modified, removed the 1.7 version stuff Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2012-11-08icedtea-native: remove 1.7 version because of version 1.8 works very wellHenning Heinold
2012-08-16icedtea-native: Fix build on ubuntu 12.04 releaseKhem Raj
It conflicts definitions from standard include so backport a patch from upstream When here also change the LICENSE field to be more compatible to avoid warnings like WARNING: icedtea6-native: No generic license file exists for: GPL in any provider WARNING: icedtea6-native: No generic license file exists for: with in any provider WARNING: icedtea6-native: No generic license file exists for: Classpath in any provider WARNING: icedtea6-native: No generic license file exists for: Exception in any provider Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2012-04-04classpath-initial: fix installation of tools.zip fileOtavio Salvador
This fixes an unpredicability of sysroot tools.zip version as classpath-initial and classpath-native were installing the tools.zip at same path. We also bump PR of affected recipes to force them to rebuild. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-01-06icedtea6-native: oenote -> bbnote transitionHenning Heinold
Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>