Re: [oe] [meta-java][g0hl1n/wip-jdk8u242ga][PATCH] Fix building openjre-8 242
Hi Richard, I "fixed" it by manually copying feature_check.bbclass into the layer. I can confirm, that your java8u242 works on aarch64 (even could get rid of some patches needed to compile on kernel 5.x)! Is there anything planed to "backport" it to zeus branch of meta-java? Thanks and Regards, Matthias On 2/6/20 10:24 AM, Richard Leitner wrote: Hi Matthias, On Wed, Feb 05, 2020 at 02:20:53PM +0100, Matthias Schoepfer via Openembedded-devel wrote: Hi Richard and Jacob, I just stumbled across the very same error, but on aarch64. I tried to switch to the wip-branch, but I get ParseError at /[...]/meta-java/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb:7: Could not inherit file classes/features_check.bbclass I am on zeus... This seems legit as AFAIK features_check.bbclass was introduced after the zeus release. For zeus you can replace it with distro_features_check.bbclass, but please note that I haven't tested on zeus. I'm working on master. Futhermore please use meta-java's master-next branch for testing as I will remove the wip branch in the near future. thanks for your testing! regards;rl Regards, Matthias -- Dr.-Ing. Matthias Schöpfer matthias.schoep...@googlemail.com -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-java][g0hl1n/wip-jdk8u242ga][PATCH] Fix building openjre-8 242
Hi Richard and Jacob, I just stumbled across the very same error, but on aarch64. I tried to switch to the wip-branch, but I get ParseError at /[...]/meta-java/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb:7: Could not inherit file classes/features_check.bbclass I am on zeus... Regards, Matthias On 1/27/20 6:22 AM, Richard Leitner wrote: On Sun, Jan 26, 2020 at 09:03:45PM +0100, Jacob Kroon wrote: On 1/26/20 12:26 PM, Jacob Kroon wrote: ... Btw, as I mentioned my build host is an up2date Fedora 31, x86-64. Any idea why these errors aren't showing up on your test builds ? In my tests I only built the openjdk package, therefore the "find" issue didn't trigger. The linker errors were fixed in aarch32 [1] and aarch64 [2] upstream. I just double-checked my tests and it seems I only built for those two architectures... Time for me to rework my tests ;-) So I will adapt and apply your PATCH and push it to the branch. Thanks for your work! If you have any further feedback/tests for the 242 update please feel free to share ;-) regards;rl [1] http://hg.openjdk.java.net/aarch32-port/jdk8u/jdk/rev/4a51a4ac7fc2 [2] https://hg.openjdk.java.net/shenandoah/jdk8/jdk/rev/391be061dfc7 Cheers, Jacob -- Dr.-Ing. Matthias Schöpfer matthias.schoep...@googlemail.com -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-java][PATCH] openjdk-8: fix build on machines with linux kernel 5.0+
Signed-off-by: Matthias Schoepfer --- .../openjdk-8-release-172b11-common.inc | 1 + ...fixing-build-for-kernel-versions-5.x.patch | 27 +++ 2 files changed, 28 insertions(+) create mode 100644 recipes-core/openjdk/patches-openjdk-8/0001-fixing-build-for-kernel-versions-5.x.patch diff --git a/recipes-core/openjdk/openjdk-8-release-172b11-common.inc b/recipes-core/openjdk/openjdk-8-release-172b11-common.inc index ad20585..eb7e38a 100644 --- a/recipes-core/openjdk/openjdk-8-release-172b11-common.inc +++ b/recipes-core/openjdk/openjdk-8-release-172b11-common.inc @@ -21,6 +21,7 @@ PATCHES_URI = "\ ${LIBPNG_NEON_PATCH} \ file://handle_extra_output.patch \ file://hotspot-handle-gcc7-format-overflow.patch \ +file://0001-fixing-build-for-kernel-versions-5.x.patch \ " HOTSPOT_UB_PATCH = "\ file://0014-hotspot-zero-fix-undefined-behaviour-gcc-v8-fix.patch \ diff --git a/recipes-core/openjdk/patches-openjdk-8/0001-fixing-build-for-kernel-versions-5.x.patch b/recipes-core/openjdk/patches-openjdk-8/0001-fixing-build-for-kernel-versions-5.x.patch new file mode 100644 index 000..9b17b66 --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-8/0001-fixing-build-for-kernel-versions-5.x.patch @@ -0,0 +1,27 @@ +From 51b022bcc596aa85e72e8d8bb93ffc3be843b8b9 Mon Sep 17 00:00:00 2001 +From: Matthias Schoepfer +Date: Wed, 21 Aug 2019 14:33:02 +0200 +Subject: [PATCH] fixing build for kernel versions 5.x + +This simply extends the possibility of having a version 5+ linux kernel + + +Signed-off-by: Matthias Schoepfer + +--- + hotspot/make/linux/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/hotspot/make/linux/Makefile b/hotspot/make/linux/Makefile +index 17c14097..02cb0b33 100644 +--- a/hotspot/make/linux/Makefile b/hotspot/make/linux/Makefile +@@ -233,7 +233,7 @@ checks: check_os_version check_j2se_version + # Solaris 2.5.1, 2.6). + # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok. + +-SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% 4% ++SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% 4% 5% + OS_VERSION := $(shell uname -r) + EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION)) + -- 2.21.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel