From afe248093ae780a83af08e658c8ab306a7eb5f6a Mon Sep 17 00:00:00 2001 From: Erkka Kääriä Date: Fri, 23 Oct 2015 12:50:01 +0300 Subject: icedtea7-native: Fix memory leak when compiled with GCC 5.0+ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hotspot compiler has a bug where signed integers could overflow. This is undefined behaviour, and causes massive memory leak when compiled with GCC 5.0+, causing the build to fail. This is fixed by backporting patch from https://bugs.openjdk.java.net/browse/JDK-8078666 where it was fixed by Severin Gehwolf. Signed-off-by: Erkka Kääriä Signed-off-by: Maxin B. John --- recipes-core/icedtea/openjdk-7-release-03b147.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-core/icedtea/openjdk-7-release-03b147.inc') diff --git a/recipes-core/icedtea/openjdk-7-release-03b147.inc b/recipes-core/icedtea/openjdk-7-release-03b147.inc index 98266f7..b1cf6e9 100644 --- a/recipes-core/icedtea/openjdk-7-release-03b147.inc +++ b/recipes-core/icedtea/openjdk-7-release-03b147.inc @@ -84,6 +84,7 @@ OPENJDK_PATCHES = " \ file://icedtea-change-to-gdb-debug-format.patch;apply=no \ file://icedtea-disable-x11-in-headless.patch;apply=no \ file://icedtea-disable-sun.applet-for-tools-in-headless.patch;apply=no \ + file://icedtea-hotspot-fix-undefined-behaviour.patch;apply=no \ " OPENJDK_HEADLESS_PATCHES = " \ @@ -102,5 +103,6 @@ export DISTRIBUTION_PATCHES = " \ patches/icedtea-flags.patch \ patches/icedtea-openjdk-remove-currency-data-generation-expi.patch \ patches/icedtea-change-to-gdb-debug-format.patch \ + patches/icedtea-hotspot-fix-undefined-behaviour.patch \ ${CLEAN_X11_DISTRIBUTION_PATCH} \ " -- cgit v1.2.3-54-g00ecf