From 65041a6c16a11ca187734323177591e8fd09f2af Mon Sep 17 00:00:00 2001 From: Richard Leitner Date: Wed, 26 Apr 2017 15:39:12 +0200 Subject: openjdk-7: fix compile errors with current poky master (gcc6) Using the current poky master openjdk-7 wasn't buildable. This patch fixes those problems by adding three more patches to openjdk-7. These patches basically add/fix GCC6 support. Furthermore the LDFLAGS_HASH_STYLE variable (which was removed by the icedtea-crosscompile-fix.patch) is re-introduced and set to "both" for compatibility reasons. Following two patches were originally written by Abdur Rehman and taken from meta-mentor [1]: icedtea-flags-to-compile-with-GCC-6.patch icedtea-specify-overloaded-variant-of-fmod.patch [1] https://github.com/MentorEmbedded/meta-mentor Signed-off-by: Richard Leitner Signed-off-by: Maxin B. John --- ...cedtea-specify-overloaded-variant-of-fmod.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 recipes-core/openjdk/patches-openjdk-7/icedtea-specify-overloaded-variant-of-fmod.patch (limited to 'recipes-core/openjdk/patches-openjdk-7/icedtea-specify-overloaded-variant-of-fmod.patch') diff --git a/recipes-core/openjdk/patches-openjdk-7/icedtea-specify-overloaded-variant-of-fmod.patch b/recipes-core/openjdk/patches-openjdk-7/icedtea-specify-overloaded-variant-of-fmod.patch new file mode 100644 index 0000000..09fbffe --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-7/icedtea-specify-overloaded-variant-of-fmod.patch @@ -0,0 +1,28 @@ +From 64a8800cd4efa15bf625227b7cd3a2e15ebfa359 Mon Sep 17 00:00:00 2001 +From: Abdur Rehman +Date: Tue, 25 Oct 2016 13:29:51 +0500 +Subject: [PATCH] arm32JIT.cpp: specify overloaded variant of fmod + +Upstream-Status: Pending + +Signed-off-by: Abdur Rehman +--- + openjdk/hotspot/src/cpu/zero/vm/arm32JIT.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git openjdk/hotspot/src/cpu/zero/vm/arm32JIT.cpp openjdk/hotspot/src/cpu/zero/vm/arm32JIT.cpp +index 089a1c9..4482fd6 100644 +--- openjdk/hotspot/src/cpu/zero/vm/arm32JIT.cpp ++++ openjdk/hotspot/src/cpu/zero/vm/arm32JIT.cpp +@@ -8185,7 +8185,7 @@ handlers[H_INVOKEINTERFACE] = (unsigned)(cb->hp + INVOKEINTERFACE_STUB); + + handlers[H_DREM] = out_pos(&codebuf); + stm(&codebuf, (1<