[oe] [meta-java][PATCH v2] openjdk-8: Fix QA error caused by a missing hash

2016-08-23 Thread Erkka 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ä --- recipes-core/openjdk/openjdk-8_102b14.bb | 1 + recipes-core

[oe] [meta-java][PATCH] openjdk-8-cross.inc: Fix QA error caused by missing hash

2016-08-19 Thread Erkka Kääriä
oe LDFLAGS fail to build. Signed-off-by: Erkka Kääriä --- recipes-core/openjdk/openjdk-8-cross.inc | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/recipes-core/openjdk/openjdk-8-cross.inc b/recipes-core/openjdk/openjdk-8-cross.inc index 11e94ce..6097afc 100644

[oe] [meta-java][PATCH v2 2/2] openjdk-8-release-102b14.inc: Ignore deprecation

2016-08-15 Thread Erkka Kääriä
prevent any unexpected breakage from patching the offending functions. Signed-off-by: Erkka Kääriä --- recipes-core/openjdk/openjdk-8-release-102b14.inc | 4 1 file changed, 4 insertions(+) diff --git a/recipes-core/openjdk/openjdk-8-release-102b14.inc b/recipes-core/openjdk/openjdk-8-release

[oe] [meta-java][PATCH v2 2/3] Openjdk-8: Fix build when using -Werror and -D_FORTIFY_SOURCE

2016-04-28 Thread Erkka Kääriä
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ä --- recipes-core/openjdk/openjdk-8_72b05.bb| 1 + recipes-c

[oe] [meta-java][PATCH v2 3/3] openjre-8_72b05.bb: Add missing patches

2016-04-28 Thread Erkka Kääriä
Two patches were only applied to openjdk-8. Apply these to jre as well Signed-off-by: Erkka Kääriä --- recipes-core/openjdk/openjre-8_72b05.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-core/openjdk/openjre-8_72b05.bb b/recipes-core/openjdk/openjre-8_72b05.bb index 3a34848

[oe] [meta-java][PATCH v2 1/3] java-bootstrapping: Do not rely on hardcoded paths

2016-04-28 Thread Erkka Kääriä
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ä --- ...cacao-1.6.1-do-not-rely-on-absolute-paths.patch | 41 ++ recipes-core/cacao/cacao-initial-native_0.98.bb

[oe] [meta-intel-iot-middleware][PATCH] mosquitto_1.4.bb: Fix typo in variable name

2016-04-27 Thread Erkka Kääriä
libbir -> libdir Signed-off-by: Erkka Kääriä --- recipes-connectivity/mosquitto/mosquitto_1.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-connectivity/mosquitto/mosquitto_1.4.bb b/recipes-connectivity/mosquitto/mosquitto_1.4.bb index 789c59a..e91a34d 100

[oe] [meta-java][PATCH 3/3] openjre-8_72b05.bb: Add missing patches

2016-04-22 Thread Erkka Kääriä
Two patches were only applied to openjdk-8. Apply these to jre as well Signed-off-by: Erkka Kääriä --- recipes-core/openjdk/openjre-8_72b05.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-core/openjdk/openjre-8_72b05.bb b/recipes-core/openjdk/openjre-8_72b05.bb index c7de5c7

[oe] [meta-java][PATCH 1/3] java-bootstrapping: Do not rely on hardcoded paths

2016-04-22 Thread Erkka Kääriä
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ä --- ...cacao-1.6.1-do-not-rely-on-absolute-paths.patch | 38 ++ recipes-core/cacao/cacao-initial-native_0.98.bb

[oe] [meta-java][PATCH 2/3] Openjdk-8: Add -Wno-cpp to CFLAGS in certain makefiles

2016-04-22 Thread Erkka Kääriä
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ä --- recipes-core/openjdk/openjdk-8_72b05.bb| 1 + recipes-c

[oe] [meta-java][PATCH 1/2] Openjdk-8: Fix openjdk build when CXX contains assembler arguments

2016-03-21 Thread Erkka Kääriä
r 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ä --- recipes-core/openjdk/openjdk-8_72b05.bb | 1 + ...dk

[oe] [meta-java][PATCH 2/2] Openjdk-8: Fix build flags for adlc

2016-03-21 Thread Erkka Kääriä
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ä --- recipes

[oe] [PATCH] ecj.in: Expand retry logic to work around internal compiler errors

2016-01-29 Thread Erkka Kääriä
Ecj rarely crashes due to internal compiler error. Extend the existing retry logic to silently retry if compile fails. Signed-off-by: Erkka Kääriä --- recipes-core/ecj/files/ecj.in | 4 1 file changed, 4 insertions(+) diff --git a/recipes-core/ecj/files/ecj.in b/recipes-core/ecj/files

[oe] [meta-java][PATCH] openjdk-8: Use zero mode on arm

2015-12-16 Thread Erkka Kääriä
Currently arm build fails due to hotspot errors. Use zero mode instead. Signed-off-by: Erkka Kääriä --- recipes-core/openjdk/openjdk-8-release-72b05.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-core/openjdk/openjdk-8-release-72b05.inc b/recipes-core/openjdk/openjdk-8

[oe] [meta-java][PATCH] gnumail: Fix race condition in makefile

2015-12-10 Thread Erkka Kääriä
incomplete class files to be included in one of the jars, causing build failures later one when javac attempts to use such class file. This issue is fixed by patching the makefile so that only one instance of javac is invoked, which compiles all the java files in one go. Signed-off-by: Erkka Kääriä

[oe] [meta-java][PATCH] ecj-initial.in: Disable multithreading to mitigate segfaulting

2015-11-09 Thread Erkka Kääriä
. As fixing the race condition would require large changes to the cacao-initial-native codebase, and as it is only used briefly during the bootstrapping process, it is easier and safer to just force ecj-initial to run in a singlethreaded mode. Signed-off-by: Erkka Kääriä --- recipes-core/ecj

[oe] [meta-java][PATCH] icedtea7-native: Fix memory leak when compiled with GCC 5.0+

2015-10-23 Thread Erkka Kääriä
where it was fixed by Severin Gehwolf. Signed-off-by: Erkka Kääriä --- .../icedtea-hotspot-fix-undefined-behaviour.patch | 49 ++ recipes-core/icedtea/openjdk-7-release-03b147.inc | 2 + 2 files changed, 51 insertions(+) create mode 100644 recipes-core/icedtea/openjdk-7

[oe] [meta-java][PATCH] cacao-initial-native: Fix undefined behaviour in gc

2015-10-21 Thread Erkka Kääriä
with Fedora 22. Signed-off-by: Erkka Kääriä --- recipes-core/cacao/cacao-initial-native_0.98.bb| 1 + ...-0.9.8-initial-fix-gc-undefined-behaviour.patch | 35 ++ 2 files changed, 36 insertions(+) create mode 100644 recipes-core/cacao/files/cacao-0.9.8-initial-fix-gc

[oe] [meta-java][PATCH] cacao-initial-native: Fix sed matching

2015-10-15 Thread Erkka Kääriä
command to consider larger portion of the source string. This ensures that the -initial is only appended once. Signed-off-by: Erkka Kääriä --- recipes-core/cacao/cacao-initial-native_0.98.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/cacao/cacao-initial-nati