[oe] [meta-java][PATCH] icedtea7-native: Fix compilation error due to format-overflow
Richard Leitner
richard.leitner at skidata.com
Fri Dec 27 11:00:29 UTC 2019
Hi,
On 05/12/2019 03:43, mohamad.noor.alim.hussin at intel.com wrote:
> From: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin at intel.com>
>
> Getting a compilaton error due to format-overflow. Workaround
> to suppress the error message by ignore the warning.
Same as for jdk 8, AFAIK these warnings should be fixed by
recipes-core/icedtea/openjdk-7-03b147/icedtea-hotspot-handle-gcc7-format-overflow.patch
Where/why do you get them?
regards;Richard.L
>
> Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin at intel.com>
> ---
> recipes-core/icedtea/icedtea7-native.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-core/icedtea/icedtea7-native.inc b/recipes-core/icedtea/icedtea7-native.inc
> index b578cb2..0329d71 100644
> --- a/recipes-core/icedtea/icedtea7-native.inc
> +++ b/recipes-core/icedtea/icedtea7-native.inc
> @@ -26,7 +26,7 @@ CXXFLAGS_append = " -fno-tree-dse"
> CXX_append = " -std=gnu++98"
>
> # WORKAROUND: ignore errors from new compilers
> -CFLAGS_append = " -Wno-error=stringop-overflow -Wno-error=return-type"
> +CFLAGS_append = " -Wno-error=stringop-overflow -Wno-error=return-type -Wno-error=format-overflow"
>
> inherit native java autotools pkgconfig
> inherit openjdk-build-helper
>
More information about the Openembedded-devel
mailing list