summaryrefslogtreecommitdiffstats
path: root/recipes-core/icedtea
Commit message (Collapse)AuthorAgeFilesLines
* icedtea7-native: Fix IOException constructor compile errorRicardo Ribalda Delgado2016-10-102-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* icedtea7-native: Add missing dependenciesRicardo Ribalda Delgado2016-09-161-1/+1
| | | | | | | | | | 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>
* Reimplement helper method for parallelizing JDK buildsKyle Russell2016-08-301-22/+1
| | | | | | | | | | | | | 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>
* icedtea7-native: make GCC 6 happyDaniel McGregor2016-06-301-0/+9
| | | | | | | | | | | 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>
* replace base_contains by bb.utils.containsMaxin B. John2016-06-202-4/+4
| | | | | | | Replace all instances of base_contains with bb.utils.contains to avoid warnings. Signed-off-by: Maxin B. John <maxin.john@intel.com>
* icedtea7-native: skip the already-stripped testJackie Huang2016-04-261-0/+4
| | | | | | | | | | 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>
* icedtea7-native: backport patch of jaxb to fix NullPointerExceptionKai Kang2016-04-112-0/+24
| | | | | | | | | | | | | 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>
* icedtea7-native/openjdk-7: fails on hosts with no unzipAmy Fong2016-01-044-0/+302
| | | | | | | | | | | | 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>
* openjdk: fix CVE-2014-1876Amy Fong2016-01-042-0/+46
| | | | | | | | | | 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>
* icedtea7-native compile failure undefined reference to `main'Amy Fong2016-01-042-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Missing inheritance and dependencies in some java packagesAmy Fong2016-01-041-1/+1
| | | | | | | | | | | | | | 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>
* Revert "meta-java: rely on well known bootstrap-path"Jackie Huang2016-01-041-1/+1
| | | | | | | | This reverts commit 04d5d0bf414c05ca59618d77f17ff9898aa1c566. Detail reason is in the following commit. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
* meta-java: rely on well known bootstrap-pathJens Rehsack2015-12-081-1/+1
| | | | | | | | | | | | 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>
* icedtea7-native: Fix memory leak when compiled with GCC 5.0+Erkka Kääriä2015-10-232-0/+51
| | | | | | | | | | | | | 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>
* icedtea7: allow modern Linux being used, eitherJens Rehsack2015-10-191-0/+1
| | | | | | | | 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>
* openjdk-6: removeJens Rehsack2015-10-1916-2724/+0
| | | | | | | | 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>
* icedtea7-native: compiling without x11Jens Rehsack2015-10-155-2/+119
| | | | | | | | | | | 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>
* icedtea7-native: remove unused patchSven Ebenfeld2015-04-281-91/+0
| | | | | Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* icedtea7-native: fix build with gcc 4.9Sven Ebenfeld2015-04-282-0/+31
| | | | | Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* icedtea7-native: Add attr-native and libxslt-native as dependencySven Ebenfeld2015-04-281-1/+1
| | | | | Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* icedtea6-native.inc: remove --disable-nppluginMario Domenech Goulart2015-03-311-1/+0
| | | | | | | | | | 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>
* icedtea7-native: remove currency data generation expiration dateHugo Vasconcelos Saldanha2015-02-262-0/+27
| | | | | | | | 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>
* icedtea: openjdk: Remove currency data generation expiration date.Alex Gonzalez2014-12-312-0/+26
| | | | | | | | | | | | | 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>
* Revert "icedtea6-native: Depends on linux-libc-headers-native"Otavio Salvador2014-12-301-1/+1
| | | | | | This reverts commit 79c731ead1813a700b63dab5f728239b7d312e3c. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* icedtea6-native: fix native-vsyscall failingMax Krummenacher2014-12-302-0/+45
| | | | | | | | | | 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)
* icedtea6-native: Depends on linux-libc-headers-nativeOtavio Salvador2014-12-161-1/+1
| | | | | | | | | | | | 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>
* openjdk: update download server in all remainings recipesHenning Heinold2013-10-102-5/+5
| | | | * new server is now icedtea.wildebeest.org
* jamvm-native: separate bootclasspath out into shell scriptHenning Heinold2013-09-291-2/+0
| | | | | | * 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
* icedtea: Make shared state friendlyKhem Raj2013-09-291-5/+5
| | | | | | | | | | | | | | | | | 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>
* icedtea: update download url for icedtea6-nativeHenning Heinold2013-09-241-1/+1
|
* icedtea6-native: prepend FILESPATH for newer bitbakeHenning Heinold2013-01-241-0/+2
|
* icedtea6-native: remove older patchesHenning Heinold2013-01-249-2115/+0
|
* openjdk-7: Remove mutliline commentKhem Raj2013-01-211-7/+0
| | | | | | Gets through the parsing errors with latest bitbake/master Signed-off-by: Khem Raj <raj.khem@gmail.com>
* icedtea7-native: Add missing dependency on missing unzip-nativeKhem Raj2012-11-271-1/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* icedtea7-native: update to version 2.1.3Henning Heinold2012-11-234-76/+55
|
* icedtea7-native: simple copy over from openjdk-7 branchHenning Heinold2012-11-2214-0/+2518
|
* icedtea6-native: fix build problemSteffen Sledz2012-11-091-0/+1
| | | | | | | | 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>
* icedtea6-native: fix compile errorSteffen Sledz2012-11-092-1/+15
| | | | | | | | | | | 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>
* icedtea-native: remove 1.7 version because of version 1.8 works very wellHenning Heinold2012-11-0824-4556/+0
|
* icedtea-native: Fix build on ubuntu 12.04 releaseKhem Raj2012-08-163-2/+207
| | | | | | | | | | | | | | | | | | | | 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>
* classpath-initial: fix installation of tools.zip fileOtavio Salvador2012-04-041-1/+1
| | | | | | | | | | 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>
* icedtea6-native: oenote -> bbnote transitionHenning Heinold2012-01-061-4/+4
| | | | Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
* icedtea6-native.inc: remove bashismHenning Heinold2011-12-211-1/+1
| | | | Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
* icedtea6-native: add the jar-rhino-rewriter-fixHenning Heinold2011-12-212-1/+15
| | | | | | *bump PR Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
* icedtea6-native: Update jaxp URL to use download.java.netXerxes Rånby2011-12-211-1/+1
| | | | Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
* meta-java: initial commitHenning Heinold2011-11-2644-0/+9089
* taken over mostly stuff from oe classic * cleaned up recipes * added license checksums * bump icedtea6-native to 1.8.11 * use jamvm from git as native