diff options
author | Erkka Kääriä <erkka.kaaria@intel.com> | 2015-10-23 12:50:01 +0300 |
---|---|---|
committer | Maxin B. John <maxin.john@intel.com> | 2015-10-23 13:05:09 +0300 |
commit | afe248093ae780a83af08e658c8ab306a7eb5f6a (patch) | |
tree | 130c599b521fb46af0344f1edebd7cc4c20a782c /recipes-core/icedtea/openjdk-7-release-03b147.inc | |
parent | d7d4f64a32d26fc8a92e4c89b47c78956f20a14d (diff) | |
download | meta-java-afe248093ae780a83af08e658c8ab306a7eb5f6a.tar.gz |
icedtea7-native: Fix memory leak when compiled with GCC 5.0+
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ä <erkka.kaaria@intel.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Diffstat (limited to 'recipes-core/icedtea/openjdk-7-release-03b147.inc')
-rw-r--r-- | recipes-core/icedtea/openjdk-7-release-03b147.inc | 2 |
1 files changed, 2 insertions, 0 deletions
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 = " \ | |||
84 | file://icedtea-change-to-gdb-debug-format.patch;apply=no \ | 84 | file://icedtea-change-to-gdb-debug-format.patch;apply=no \ |
85 | file://icedtea-disable-x11-in-headless.patch;apply=no \ | 85 | file://icedtea-disable-x11-in-headless.patch;apply=no \ |
86 | file://icedtea-disable-sun.applet-for-tools-in-headless.patch;apply=no \ | 86 | file://icedtea-disable-sun.applet-for-tools-in-headless.patch;apply=no \ |
87 | file://icedtea-hotspot-fix-undefined-behaviour.patch;apply=no \ | ||
87 | " | 88 | " |
88 | 89 | ||
89 | OPENJDK_HEADLESS_PATCHES = " \ | 90 | OPENJDK_HEADLESS_PATCHES = " \ |
@@ -102,5 +103,6 @@ export DISTRIBUTION_PATCHES = " \ | |||
102 | patches/icedtea-flags.patch \ | 103 | patches/icedtea-flags.patch \ |
103 | patches/icedtea-openjdk-remove-currency-data-generation-expi.patch \ | 104 | patches/icedtea-openjdk-remove-currency-data-generation-expi.patch \ |
104 | patches/icedtea-change-to-gdb-debug-format.patch \ | 105 | patches/icedtea-change-to-gdb-debug-format.patch \ |
106 | patches/icedtea-hotspot-fix-undefined-behaviour.patch \ | ||
105 | ${CLEAN_X11_DISTRIBUTION_PATCH} \ | 107 | ${CLEAN_X11_DISTRIBUTION_PATCH} \ |
106 | " | 108 | " |