[oe] [meta-java][warrior][PATCH] Revert "openjdk-8: disable, stringop-overflow compiler errors"

Richard Leitner richard.leitner at skidata.com
Fri Jan 3 22:24:29 UTC 2020


This reverts commit d5a8ec9e269d1f04a6cf78867ebf74a297f33258 as it broke
the build with older GCC versions.

See also https://lists.yoctoproject.org/g/yocto/message/47850

Signed-off-by: Richard Leitner <richard.leitner at skidata.com>
Cc: Darcy Watkins <dwatkins at sierrawireless.com>
---
 recipes-core/openjdk/openjdk-8-release-172b11-common.inc | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
b/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
index f3bbf0a..ad20585 100644
--- a/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
+++ b/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
@@ -94,11 +94,6 @@ ARM_INSTRUCTION_SET_armv4t = "ARM"
 BUILD_CFLAGS_append = " -Wno-error=deprecated-declarations"
 TARGET_CFLAGS_append = " -Wno-error=deprecated-declarations"

-# WORKAROUND: disable the "specified bound depends on the length of the
source argument"
-# compiler error until we update openjdk8 to a fixed version
-BUILD_CFLAGS_append = " -Wno-error=stringop-overflow"
-TARGET_CFLAGS_append = " -Wno-error=stringop-overflow"
-
 # Enable zero mode for arm based builds, as normal hotspot fails to build
 PACKAGECONFIG_append_armv4 = " zero"
 PACKAGECONFIG_append_armv5 = " zero"
-- 
2.20.1



More information about the Openembedded-devel mailing list