openjdk-8: Upgrade from u72 to u102
PATCH 1/1 openjdk-8: Upgrade from u72 to u102
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.
---
recipes-core/openjdk/openjdk-8-native_102b14.bb | 2 +
recipes-core/openjdk/openjdk-8-native_72b05.bb | 2 -
...ease-72b05.inc => openjdk-8-release-102b14.inc} | 51 +-
.../{openjdk-8_72b05.bb => openjdk-8_102b14.bb} | 4 +-
.../{openjre-8_72b05.bb => openjre-8_102b14.bb} | 4 +-
.../openjdk8-avoid-early-ldflags-expansion.patch | 53 -
.../openjdk8-fix-shark-stdc++11.patch | 2623 ++++++++++----------
.../openjdk8-fix-zero-mode-crash.patch | 49 +
..._than_returning_address_of_local_variable.patch | 23 -
9 files changed, 1446 insertions(+), 1365 deletions(-)
create mode 100644 recipes-core/openjdk/openjdk-8-native_102b14.bb
delete mode 100644 recipes-core/openjdk/openjdk-8-native_72b05.bb
rename recipes-core/openjdk/{openjdk-8-release-72b05.inc => openjdk-8-release-102b14.inc} (62%)
rename recipes-core/openjdk/{openjdk-8_72b05.bb => openjdk-8_102b14.bb} (95%)
rename recipes-core/openjdk/{openjre-8_72b05.bb => openjre-8_102b14.bb} (92%)
delete mode 100644 recipes-core/openjdk/patches-openjdk-8/openjdk8-avoid-early-ldflags-expansion.patch
create mode 100644 recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-zero-mode-crash.patch
delete mode 100644 recipes-core/openjdk/patches-openjdk-8/openjdk8-use_builtin_frame_address_0_rather_than_returning_address_of_local_variable.patchrecipes-core/openjdk/openjdk-8-native_102b14.bb new file +2 -0
@@ -0,0 +1,2 @@ +require openjdk-8-release-102b14.inc +require openjdk-8-native.inc
recipes-core/openjdk/openjdk-8-native_72b05.bb deleted +0 -2
@@ -1,2 +0,0 @@ -require openjdk-8-release-72b05.inc -require openjdk-8-native.inc
recipes-core/openjdk/openjdk-8-release-102b14.inc renamed from recipes-core/openjdk/openjdk-8-release-72b05.inc +25 -26
72 lines not on this page · raw message
recipes-core/openjdk/openjdk-8_102b14.bb renamed from recipes-core/openjdk/openjdk-8_72b05.bb +2 -2
@@ -1,4 +1,4 @@ -require openjdk-8-release-72b05.inc +require openjdk-8-release-102b14.inc require openjdk-8-cross.inc # some patches extracted from http://cr.openjdk.java.net/~rkennke/shark-build-hotspot/webrev.01/hotspot.patch
@@ -8,10 +8,10 @@ PATCHES_URI_append = "\ file://openjdk8-restrict-to-staging-dir.patch;apply=no \ file://openjdk8-fix-shark-build.patch;apply=no \ file://openjdk8-fix-shark-stdc++11.patch;apply=no \ - file://openjdk8-use_builtin_frame_address_0_rather_than_returning_address_of_local_variable.patch;apply=no \ file://openjdk8-fix-assembler-flag-handling-in-makefile.patch;apply=no \ file://openjdk8-fix-adlc-flags.patch;apply=no \ file://openjdk8-silence-d_fortify_source-warning.patch;apply=no \ + file://openjdk8-fix-zero-mode-crash.patch;apply=no \ " do_install() {
recipes-core/openjdk/openjre-8_102b14.bb renamed from recipes-core/openjdk/openjre-8_72b05.bb +2 -2
@@ -1,4 +1,4 @@ -require openjdk-8-release-72b05.inc +require openjdk-8-release-102b14.inc require openjdk-8-cross.inc # some patches extracted from http://cr.openjdk.java.net/~rkennke/shark-build-hotspot/webrev.01/hotspot.patch
@@ -8,10 +8,10 @@ PATCHES_URI_append = "\ file://openjdk8-restrict-to-staging-dir.patch;apply=no \ file://openjdk8-fix-shark-build.patch;apply=no \ file://openjdk8-fix-shark-stdc++11.patch;apply=no \ - file://openjdk8-use_builtin_frame_address_0_rather_than_returning_address_of_local_variable.patch;apply=no \ file://openjdk8-fix-assembler-flag-handling-in-makefile.patch;apply=no \ file://openjdk8-fix-adlc-flags.patch;apply=no \ file://openjdk8-silence-d_fortify_source-warning.patch;apply=no \ + file://openjdk8-fix-zero-mode-crash.patch;apply=no \ " do_install() {
recipes-core/openjdk/patches-openjdk-8/openjdk8-avoid-early-ldflags-expansion.patch deleted +0 -53
53 lines not on this page · raw message
recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-stdc++11.patch +1366 -1257
2,839 lines not on this page · raw message
recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-zero-mode-crash.patch new file +49 -0
49 lines not on this page · raw message
recipes-core/openjdk/patches-openjdk-8/openjdk8-use_builtin_frame_address_0_rather_than_returning_address_of_local_variable.patch deleted +0 -23
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 12 lines
2.7.4 --------------------------------------------------------------------- Intel Finland Oy Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
Part of the diff is not shown here. View the raw message.
Re: [meta-java][PATCH] openjdk-8: Upgrade from u72 to u102y
Hi Erkka,
Quoted 6 lines · Erkka 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ä <[email protected]>
Quoted 10 lines
---
recipes-core/openjdk/openjdk-8-native_102b14.bb | 2 +
recipes-core/openjdk/openjdk-8-native_72b05.bb | 2 -
...ease-72b05.inc => openjdk-8-release-102b14.inc} | 51 +-
.../{openjdk-8_72b05.bb => openjdk-8_102b14.bb} | 4 +-
.../{openjre-8_72b05.bb => openjre-8_102b14.bb} | 4 +-
.../openjdk8-avoid-early-ldflags-expansion.patch | 53 -
.../openjdk8-fix-shark-stdc++11.patch | 2623 ++++++++++----------
.../openjdk8-fix-zero-mode-crash.patch | 49 +
..._than_returning_address_of_local_variable.patch | 23 -<snip>
openjdk-8 build fails with the following error now:
| /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/os/linux/vm/os_linux.inline.hpp:127:42: error: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Werror=deprecated-declarations]
| if((status = ::readdir_r(dirp, dbuf, &p)) != 0) {
| ^
| In file included from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/os/linux/vm/jvm_linux.h:44:0,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/prims/jvm.h:30,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/utilities/debug.hpp:29,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/runtime/globals.hpp:28,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/memory/allocation.hpp:28,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/memory/iterator.hpp:28,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/memory/genOopClosures.hpp:28,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/oops/klass.hpp:28,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/runtime/handles.hpp:28,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/memory/universe.hpp:28,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/code/oopRecorder.hpp:28,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/code/codeBlob.hpp:28,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/code/nmethod.hpp:28,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/runtime/simpleThresholdPolicy.hpp:28,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/runtime/advancedThresholdPolicy.hpp:28,
| from /media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/runtime/advancedThresholdPolicy.cpp:26:
| /media/poky/build/tmp/sysroots/qemux86-64/usr/include/dirent.h:183:12: note: declared here
| extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
| cc1plus: all warnings being treated as errorsBest Regards,
Maxin