summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/openjdk8-prevent-debuginfo-in-favour-of-openembedded-package-split.patch
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2019-12-30 15:35:59 +0100
committerRichard Leitner <richard.leitner@skidata.com>2020-01-28 15:09:31 +0100
commit7d30e6ff7b8a54d67256ce528e8c4fd7e63f6b14 (patch)
tree398a12e3addb7470622d4cb2f98e7ad2dda02c5c /recipes-core/openjdk/patches-openjdk-8/openjdk8-prevent-debuginfo-in-favour-of-openembedded-package-split.patch
parent19b569281cc30e3aa94e772d6885cd340b1d1724 (diff)
downloadmeta-java-7d30e6ff7b8a54d67256ce528e8c4fd7e63f6b14.tar.gz
openjdk-8: update to latest ga version 242
As OpenJDK-8 is now tagging "ga" versions in addition to the "build" version the recipes are adapted to use those "ga" versions. All existing patches got re-applied and renamed. For better handling Hotspot patches now start at patch number 1001 and jdk patches at 2001. Furthermore architecture dependent patches are prefixed with the architecture they apply on. Following patches/hunks were completely dropped: - 0002-hotspot-fix-compilation-with-security-flags-enabled.patch got backported to hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/c40a28e54185 - 0011-hotspot-backport-patch-to-fix-misuses-of-strncpy-str.patch ostream.cpp:112 got fixed in hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/f3108e56b502 - 0014-hotspot-zero-fix-undefined-behaviour-gcc-v8-fix.patch got backported to hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/ca4663e58916 - 0018-hotspot-Fix-debug-build-after-8062808-Turn-on-the-Wr.patch fixed in hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/32bc598624bd - 0020-Enable-HotSpot-builds-on-5.x-Linux-kernels.patch fixed in hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/5af8ec63c21c - openjdk8-add-missing-linker-flags.patch fixed in hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/f175513c2c3a - openjdk8-fix-shark-stdc++11.patch fixed in hotspot jdk8u - openjdk8-fix-libpng-neon-build.patch fixed in jdk https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/5d57817931e1 - aarch64-hotspot-fix-undefined-behaviour-gcc-v8-fix.patch got backported to hotspot jdk8u Following patches were newly added: - 0011-autoconf-fix-CC-with-arguments-detection.patch needed because of jdk8u commit "8038340: Cleanup and fix sysroot and devkit handling on Linux and Solaris" - 0012-autoconf-NativeCompilation-remove-sysroot.patch needed because of jdk8u commit "8038340: Cleanup and fix sysroot and devkit handling on Linux and Solaris" Additionally add UPDATING.md which describes the openjdk8 update process for this layer and update8checksums.sh, a script that updates the openjdk8 source archive checksums in the corresponding .inc files. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/openjdk8-prevent-debuginfo-in-favour-of-openembedded-package-split.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-8/openjdk8-prevent-debuginfo-in-favour-of-openembedded-package-split.patch120
1 files changed, 0 insertions, 120 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/openjdk8-prevent-debuginfo-in-favour-of-openembedded-package-split.patch b/recipes-core/openjdk/patches-openjdk-8/openjdk8-prevent-debuginfo-in-favour-of-openembedded-package-split.patch
deleted file mode 100644
index 7d340a8..0000000
--- a/recipes-core/openjdk/patches-openjdk-8/openjdk8-prevent-debuginfo-in-favour-of-openembedded-package-split.patch
+++ /dev/null
@@ -1,120 +0,0 @@
1--- make/common/NativeCompilation.gmk.orig
2+++ make/common/NativeCompilation.gmk
3@@ -438,58 +438,6 @@ define SetupNativeCompilation
4 $$($1_OUTPUT_DIR)/% : $$($1_OBJECT_DIR)/%
5 $(CP) $$< $$@
6 endif
7-
8- ifneq ($(OPENJDK_TARGET_OS), macosx) # OBJCOPY is not used on MacOS X
9- ifneq ($(OPENJDK_TARGET_OS), windows) # nor on Windows
10- ifeq ($(OPENJDK_TARGET_OS), solaris)
11- # gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set.
12- # Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from
13- # empty section headers until a fixed $(OBJCOPY) is available.
14- # An empty section header has sh_addr == 0 and sh_size == 0.
15- # This problem has only been seen on Solaris X64, but we call this tool
16- # on all Solaris builds just in case.
17- #
18- # $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections.
19- # Use $(ADD_GNU_DEBUGLINK) until a fixed $(OBJCOPY) is available.
20- $$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo : $$($1_TARGET) \
21- $(FIX_EMPTY_SEC_HDR_FLAGS) $(ADD_GNU_DEBUGLINK)
22- $(RM) $$@
23- $(FIX_EMPTY_SEC_HDR_FLAGS) $(LOG_INFO) $$<
24- $(OBJCOPY) --only-keep-debug $$< $$@
25- $(CD) $$(@D) && $(ADD_GNU_DEBUGLINK) $(LOG_INFO) $$(@F) $$<
26- else # not solaris
27- $$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo : $$($1_TARGET)
28- $(RM) $$@
29- $(OBJCOPY) --only-keep-debug $$< $$@
30- $(CD) $$(@D) && $(OBJCOPY) --add-gnu-debuglink=$$(@F) $$<
31- endif # Touch to not retrigger rule on rebuild
32- $(TOUCH) $$@
33- endif # !windows
34- endif # !macosx
35-
36- ifeq ($(ZIP_DEBUGINFO_FILES), true)
37-ifneq ($(OPENJDK_TARGET_OS), macosx) # no MacOS X support yet
38- $1 += $$($1_OUTPUT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).diz
39-
40- ifeq ($(OPENJDK_TARGET_OS), windows)
41- $$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).diz : $$($1_TARGET)
42- $(CD) $$($1_OBJECT_DIR) \
43- && $(ZIP) -q $$@ $$($1_LIBRARY).map $$($1_LIBRARY).pdb
44- else
45- $$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).diz : $$($1_TARGET) \
46- $$($1_OBJECT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo
47- $(CD) $$($1_OBJECT_DIR) \
48- && $(ZIP) -q $$@ $$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo
49- endif
50-endif # no MacOS X support yet
51- else
52- ifeq ($(OPENJDK_TARGET_OS), windows)
53- $1 += $$($1_OUTPUT_DIR)/$$($1_LIBRARY).map \
54- $$($1_OUTPUT_DIR)/$$($1_LIBRARY).pdb
55- else ifneq ($(OPENJDK_TARGET_OS), macosx) # MacOS X does not use .debuginfo files
56- $1 += $$($1_OUTPUT_DIR)/$$(LIBRARY_PREFIX)$$($1_LIBRARY).debuginfo
57- endif
58- endif
59 endif
60 endif
61
62@@ -522,58 +470,6 @@ endif # no MacOS X support yet
63 $$($1_OUTPUT_DIR)/% : $$($1_OBJECT_DIR)/%
64 $(CP) $$< $$@
65 endif
66-
67- ifneq ($(OPENJDK_TARGET_OS), macosx) # OBJCOPY is not used on MacOS X
68- ifneq ($(OPENJDK_TARGET_OS), windows) # nor on Windows
69- ifeq ($(OPENJDK_TARGET_OS), solaris)
70- # gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set.
71- # Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from
72- # empty section headers until a fixed $(OBJCOPY) is available.
73- # An empty section header has sh_addr == 0 and sh_size == 0.
74- # This problem has only been seen on Solaris X64, but we call this tool
75- # on all Solaris builds just in case.
76- #
77- # $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections.
78- # Use $(ADD_GNU_DEBUGLINK) until a fixed $(OBJCOPY) is available.
79- $$($1_OBJECT_DIR)/$$($1_PROGRAM).debuginfo : $$($1_TARGET) \
80- $(FIX_EMPTY_SEC_HDR_FLAGS) $(ADD_GNU_DEBUGLINK)
81- $(RM) $$@
82- $(FIX_EMPTY_SEC_HDR_FLAGS) $(LOG_INFO) $$<
83- $(OBJCOPY) --only-keep-debug $$< $$@
84- $(CD) $$(@D) && $(ADD_GNU_DEBUGLINK) $(LOG_INFO) $$(@F) $$<
85- else # not solaris
86- $$($1_OBJECT_DIR)/$$($1_PROGRAM).debuginfo : $$($1_TARGET)
87- $(RM) $$@
88- $(OBJCOPY) --only-keep-debug $$< $$@
89- $(CD) $$(@D) && $(OBJCOPY) --add-gnu-debuglink=$$(@F) $$<
90- endif
91- $(TOUCH) $$@
92- endif # !windows
93- endif # !macosx
94-
95- ifeq ($(ZIP_DEBUGINFO_FILES), true)
96-ifneq ($(OPENJDK_TARGET_OS), macosx) # no MacOS X support yet
97- $1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).diz
98-
99- ifeq ($(OPENJDK_TARGET_OS), windows)
100- $$($1_OBJECT_DIR)/$$($1_PROGRAM).diz : $$($1_TARGET)
101- $(CD) $$($1_OBJECT_DIR) \
102- && $(ZIP) -q $$@ $$($1_PROGRAM).map $$($1_PROGRAM).pdb
103- else
104- $$($1_OBJECT_DIR)/$$(PROGRAM_PREFIX)$$($1_PROGRAM).diz : $$($1_TARGET) \
105- $$($1_OBJECT_DIR)/$$($1_PROGRAM).debuginfo
106- $(CD) $$($1_OBJECT_DIR) \
107- && $(ZIP) -q $$@ $$($1_PROGRAM).debuginfo
108- endif
109-endif # no MacOS X support yet
110- else
111- ifeq ($(OPENJDK_TARGET_OS), windows)
112- $1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).map \
113- $$($1_OUTPUT_DIR)/$$($1_PROGRAM).pdb
114- else ifneq ($(OPENJDK_TARGET_OS), macosx) # MacOS X does not use .debuginfo files
115- $1 += $$($1_OUTPUT_DIR)/$$($1_PROGRAM).debuginfo
116- endif
117- endif
118 endif
119 endif
120