* [meta-java][PATCH] openjdk-8: fix build on machines with linux kernel 5.0+
@ 2019-08-21 13:46 Matthias Schoepfer
2019-08-21 14:24 ` Jacob Kroon
0 siblings, 1 reply; 3+ messages in thread
From: Matthias Schoepfer @ 2019-08-21 13:46 UTC (permalink / raw)
To: openembedded-devel; +Cc: Matthias Schoepfer
Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
---
.../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 0000000..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 <matthias.schoepfer@ithinx.io>
+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 <matthias.schoepfer@ithinx.io>
+
+---
+ 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-java][PATCH] openjdk-8: fix build on machines with linux kernel 5.0+
2019-08-21 13:46 [meta-java][PATCH] openjdk-8: fix build on machines with linux kernel 5.0+ Matthias Schoepfer
@ 2019-08-21 14:24 ` Jacob Kroon
2019-08-22 5:29 ` Richard Leitner
0 siblings, 1 reply; 3+ messages in thread
From: Jacob Kroon @ 2019-08-21 14:24 UTC (permalink / raw)
To: Matthias Schoepfer, openembedded-devel; +Cc: Matthias Schoepfer
On 8/21/19 3:46 PM, Matthias Schoepfer via Openembedded-devel wrote:
> Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
> ---
> .../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 0000000..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 <matthias.schoepfer@ithinx.io>
> +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 <matthias.schoepfer@ithinx.io>
> +
> +---
> + 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))
> +
>
This is already fixed in master-next.
/me wonders when those patches will be merged to master.
/Jacob
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-java][PATCH] openjdk-8: fix build on machines with linux kernel 5.0+
2019-08-21 14:24 ` Jacob Kroon
@ 2019-08-22 5:29 ` Richard Leitner
0 siblings, 0 replies; 3+ messages in thread
From: Richard Leitner @ 2019-08-22 5:29 UTC (permalink / raw)
To: openembedded-devel, matthias.schoepfer, matthias.schoepfer, jacob.kroon
On 21/08/2019 16:24, Jacob Kroon wrote:
> On 8/21/19 3:46 PM, Matthias Schoepfer via Openembedded-devel wrote:
>> Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
>> ---
>> .../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 0000000..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 <matthias.schoepfer@ithinx.io>
>> +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 <matthias.schoepfer@ithinx.io>
>> +
>> +---
>> + 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))
>> +
>>
>
> This is already fixed in master-next.
True ;-)
>
> /me wonders when those patches will be merged to master.
If the tests pass, likely today afternoon or tomorrow morning (CET).
regards;Richard.L
>
> /Jacob
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-08-22 5:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-21 13:46 [meta-java][PATCH] openjdk-8: fix build on machines with linux kernel 5.0+ Matthias Schoepfer
2019-08-21 14:24 ` Jacob Kroon
2019-08-22 5:29 ` Richard Leitner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.