aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-01-08openjdk-7: fix compile errors with current poky master (gcc6)mortyRichard Leitner
Using the current poky master openjdk-7 wasn't buildable. This patch fixes those problems by adding three more patches to openjdk-7. These patches basically add/fix GCC6 support. Furthermore the LDFLAGS_HASH_STYLE variable (which was removed by the icedtea-crosscompile-fix.patch) is re-introduced and set to "both" for compatibility reasons. Following two patches were originally written by Abdur Rehman and taken from meta-mentor [1]: icedtea-flags-to-compile-with-GCC-6.patch icedtea-specify-overloaded-variant-of-fmod.patch [1] https://github.com/MentorEmbedded/meta-mentor Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2017-03-03libecj: fix build issues by adding missing dependencieskrogothAdrian Calianu
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2017-03-03classpath-native: fix build dependenciesAdrian Calianu
Add missing dependencies in order to build according to latest changes done in poky where all dependencies must be installed relative to recipe WORKDIR. Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2017-03-03jdepend: fix URLsJed
Signed-off-by: Jed <jed.openxt@gmail.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-12-06ant-native: Fix random build failureAmarnath Valluri
Due to lack of task dependency between 'do_removebinaries' and 'do_removecruft' when both run parallelly sometimes, 'find' in do_removebinaries referring on directories that sare already removed by do_removecruft. This change makes sure that both tasks execute sequentially. Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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-09-16xpp3: Fix bashismRicardo Ribalda Delgado
findpath var must also be fixed on its second occurrence. Without this patch: ERROR: xpp3-1.1.3.4.O-r0 do_compile: Function failed: do_compile (log file is located at /home/ricardo/curro/qt5022/build-qt5022-open/build/tmp/work/all-poky-linux/xpp3/1.1.3.4.O-r0/temp/log.do_compile.14262) ERROR: Logfile of failure stored in: /home/ricardo/curro/qt5022/build-qt5022-open/build/tmp/work/all-poky-linux/xpp3/1.1.3.4.O-r0/temp/log.do_compile.14262 Log data follows: | DEBUG: Executing shell function do_compile | ---------- | 1. WARNING in src/java/api/org/xmlpull/v1/XmlPullParserException.java (at line 11) | public class XmlPullParserException extends Exception { | ^^^^^^^^^^^^^^^^^^^^^^ | The serializable class XmlPullParserException does not declare a static final serialVersionUID field of type long /home/ricardo/curro/qt5022/build-qt5022-open/build/tmp/work/all-poky-linux/xpp3/1.1.3.4.O-r0/temp/run.do_compile.14262: Bad substitution | WARNING: exit code 2 from a shell command. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-09-12xpp[23]: fix/remove bashismChristopher Larson
This was breaking on hosts with dash as /bin/sh. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Sujith H <sujith.h@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-08-30rhino-native should depend on classpath-nativeKyle Russell
rhino's do_compile task passes ${STAGING_DATADIR_NATIVE}/classpath/glibj.zip to javac. This glibj.zip archive comes from the classpath-native package. Signed-off-by: Kyle Russell <bkylerussell@gmail.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-08-30openjdk-7: update to IcedTea 2.6.5 OpenJDK 7u99b00Richard Leitner
OpenJDK 7 is updated from from 91b01 (IcedTea 2.6.2) to 99b00 (IcedTea 2.6.5). This update introduces following security updates: * Mar 2016 (IcedTea 2.6.5, OpenJDK 7 u99) [1] * Jan 2016 (IcedTea 2.6.4, OpenJDK 7 u95) [2] * Oct 2015 (IcedTea 2.6.3, OpenJDK 7 u91) [3] Due to the fact some "byte behavior improvements" were not ported to the ARM32-JIT in IcedTea 2.6.6 yet [6], [7] we need to stick IcedTea 2.6.5 for now. [1]http://blog.fuseyism.com/index.php/2016/03/25/security-icedtea-2-6-5-for-openjdk-7-released/ [2]http://blog.fuseyism.com/index.php/2016/01/21/security-icedtea-2-6-4-for-openjdk-7-released/ [3]http://blog.fuseyism.com/index.php/2015/11/17/security-icedtea-2-6-3-for-openjdk-7-released/ [6]http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2942 [7]http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot/rev/1c5c4564204e Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-08-24openjdk-8: Fix QA error caused by a missing hashErkka Kääriä
EXTRA_LDFLAGS were not used when building certain shared objects. This means that the Yocto specific linker flags were lost, which caused build failures due to a bad hash style QA error. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-08-24openjdk-8-release-102b14.inc: Ignore deprecationErkka Kääriä
readdir_r has been deprecated since glibc 2.24. As openjdk uses this function, a warning is generated during build that gets turned into an error when -Werror is used. While the readdir function is suggested as an replacement, it has slightly different API. The warning is ignored instead to prevent any unexpected breakage from patching the offending functions. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-08-24openjdk-8: Upgrade from u72 to u102Erkka Kääriä
Openjdk is upgraded from u72 to u102. Two patches are dropped, as these were backports and the fixes are present in the current version. One patch was refreshed. One patch was backported from the upcoming u112 to fix a zero mode crash. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-08-24openjdk-7: disable IcedTea's auto-downloadingRichard Leitner
Pass "--enable-downloading=no" to IcedTea's make. This ensures IcedTea uses the versions and checksums we defined in the openjdk-7-jre recipe for its "sub-modules". Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-08-24README: mention master in supported branchesMaxin B. John
Along with krogoth, meta-java also works with master branches of respective layers. Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-08-12README: fix branches of openembedded layers we depend onRichard Leitner
Since 33fbcd43 (rxtx: Add remove-libtool class to remove all .la files) rxtx requires the remove-libtool class. This class was introduced in the krogoth branch of openembedded-core and not backported. Therefore update the branch names in the README to "krogoth". Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-08-09javasqlite: add supportFeng Mu
Javasqlite is a Java wrapper including a basic JDBC driver for SQLite 2/3. Signed-off-by: Feng Mu <Feng.Mu@windriver.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-08-09openjdk-8: ignore wrong GCCVERSION-flagSven Ebenfeld
During my recipe parsing, GCCVERSION in the cross case seems to be 'l' this leads to a ValueError during recipe parsing. Therefore check type before trying to parse the version flag. Signed-off-by: Sven Ebenfeld <sven.ebenfeld@vaillant-group.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-07-22do_unpackpost: explicitly set working directoryPatrick Ohly
bitbake rev 67a7b8b02 "build: don't use $B as the default cwd for functions" (included in current bitbake master) breaks the assumption that do_unpackpost runs inside the build directory. Now that has to be set explicitly, which is also okay for older bitbake versions. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-07-22openjdk-8: fix compiler detectionPatrick Ohly
When GCC is at version 4 or 5, parsing the recipe fails with: ERROR: ExpansionError during parsing .../ostro-os/meta-java/recipes-core/openjdk/openjdk-8_72b05.bb ... bb.data_smart.ExpansionError: Failure expanding variable CFLAGS, expression was -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=.../ostro-os/build/tmp-glibc/work/corei7-64-ostro- linux/openjdk-8/72b05-r0=/usr/src/debug/openjdk-8/72b05-r0 -fdebug-prefix-map=.../ostro-os/build/tmp-glibc/sysroots/x86_64-linux= -fdebug-prefix-map=.../ostro-os/build/tmp-glibc/sysroots/intel-corei7-64= -fstack-protector-strong -D_FORTIFY_SOURCE=2 ${ <at> version_specific_cflags(d)} -Wno-error=deprecated-declarations which triggered exception TypeError: can only join an iterable That's because FLAGS_GCC<version> may be unset, thus leading to d.getVar() returning None and ''.join(extraflags) failing. The join() is also redundant: extraflags already is a string. It happened to work because Python treats a string as sequence of single-character strings, and thus ''.join() re-created the original string. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-07-18java.bbclass: change a warning message to noteJackie Huang
The logic is to check if the destination file exists before create the symlink, and give a message about removing the existing file, it's harmless and not necessary to be a warning. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-07-18openjdk-8: Detect compiler versionDaniel McGregor
Some supported hosts still use GCC 4.X. These don't support the flags needed to make GCC 6 work, so check the GCC version and add appropriate compiler flags. This implementation will append flags for any gcc version, but it's only used for GCC 6 right now. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-07-18openjdk-7, openjdk-8: use vardeps to fix shared stateDaniel McGregor
Previously if PARALLEL_MAKE changed, so did the task signature for do_configure. Use vardepsvalue so that the signature remains constant. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-07-08rxtx: Add remove-libtool class to remove all .la filesFabio Berton
Class remove-libtool adds a postfunc to do_install to remove all .la files installed by libtool, so that they are absent from both the sysroots and target packages. Fix error: ERROR: rxtx-2.2.0-r2 do_populate_sysroot: QA Issue: librxtxRaw.la failed sanity test (workdir) in path ../build/tmp/work/cortexa9hf-neon-emcontrols-linux-gnueabi/ rxtx/2.2.0-r2/sysroot-destdir/usr/lib/jni [la] ERROR: rxtx-2.2.0-r2 do_populate_sysroot: QA staging was broken by the package built above ERROR: rxtx-2.2.0-r2 do_populate_sysroot: Function failed: do_qa_staging Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-06-30openjdk-8: make GCC6 happyDaniel McGregor
GCC 6 sets the default C++ standard to C++14 and introduces dead store elimination by default. OpenJDK 8 is not ready for either of these changes, so set the C++ standard back to gnu++98 and disable dead store elimination. Switched to using --with-extra-cflags, cxxflags, and ldflags. The added patch fixes building when using those flags, and are needed to get CFLAGS into the JDK build in the native case. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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-30openjdk-8: Add update version and build number to the java binariesBernhard Dick
The OpenJDK builds did not include the update version and build number leading to problems when applications check for the minimum needed version. This commit fixes it by adding the update version and build number to the configure parameters. Signed-off-by: Bernhard Dick <bernhard@bdick.de> 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-29openjre-8_72b05.bb: Add missing patchesErkka Kääriä
Two patches were only applied to openjdk-8. Apply these to jre as well Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-04-29Openjdk-8: Add -Wno-cpp to CFLAGS in certain makefilesErkka Kääriä
The security flag '-D_FORTIFY_SOURCE' requires at least -O to work, otherwise a warning is given. If CFLAGS additionally contains -Werror, this warning turns into an error. As Openjdk build system intentionally deoptimizes certains files due to potential bad codegen during optimization, build will fail when both '-D_FORTIFY_SOURCE' and '-Werror' are used. As turning the optimizations back on will likely break things, the warning is silenced instead. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-04-29java-bootstrapping: Do not rely on hardcoded pathsErkka Kääriä
Various paths to files are hardcoded in either helper scripts or the resulting binaries (like path to Java class libraries). While this works well when using the files on the build machine, things start breaking down when the sstate gets shared between multiple workers in CI, as the paths between workers can differ. Instead of using these hardcoded paths, form the paths at runtime and pass them as parameters when required. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> 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-26openjdk-8: use private libsDaniel McGregor
Prevent a non-deterministic run time dependency between openjdk-8 and openjre-8. Without PRIVATE_LIBS, if openjre is built before openjdk, openjdk might RDEPEND on openjre. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-04-26openjdk-8: make jar repacking optionalDaniel McGregor
Repacking the runtime jar files takes a long time, and is only done to save some space. Make it optional to speed up builds that don't need it. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.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-03-23Openjdk-8: Fix build flags for adlcErkka Kääriä
Adlc is a native tool that openjdk builds and uses during its build process. Bitbake however passes target machine specific CFLAGS and CXXFLAGS because we are crosscompiling openjdk for the target architecture. This can cause issues, if these flags contains values, that work for the Yocto provided crosscompiler but not for the system compiler. As an example, compilation will fail on Ubuntu 14.04 if -fstack-protector-strong is specified in the distro security flags. Ubuntu 14.04 ships with GCC 4.8, whereas this flag is only supported by GCC 4.9+. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
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-02-05classpath: fix the licenseJackie Huang
There is no 'Classpath' license, set it as the same with classpath-native. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-02-05jlex: fix the license and add JLEX license fileJackie Huang
The license statement is in the middle of source file Main.java, it's not correct to referrence the COREBASE MIT license in LIC_FILES_CHKSUM. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-02-05jacl: fix license and add license filesJackie Huang
license.amd(AMD): applies to the TJC compiler source and test files license.itcl(CDS): applies to the Itcl source and test files license.ucb(UCB): applies to portions of Jacl and Tcl Blend sources license.terms(SUN): applies to the other cource files Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-02-05cup: add the license fileJackie Huang
Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-02-05jikes: fix the license nameJackie Huang
The license is: IBM Public License Version 1.0 and it is named IPL-1.0 instead of IBM in common-licenses. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-01-29cacao: remove invalid configure optionsJackie Huang
These configure options are invalid: --with-classpath-libdir --with-classpath-classes --with-classpath-includedir They had been replaced by: --with-java-runtime-library-libdir --with-java-runtime-library-classes --with-jni_h and --with-jni_md_h Remove them to avoid QA Issue: WARNING: QA Issue: cacao-native: configure was passed unrecognised options: --with-classpath-libdir --with-classpath-includedir --with-classpath-classes [unknown-configure-option] Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-01-04classpath: fix invalid optionsJackie Huang
After updated to version 0.99, the following options became invalid: * --with-ecj: use JAVAC env variable instead * --with-fastjar: change to --with-jar * --with-vm: uae JAVA env variable instead * --disable-qt4-peer: invalid even in 0.93, just drop it. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>