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

Richard Leitner richard.leitner at skidata.com
Tue Jan 7 06:12:24 UTC 2020


Hi,

On 04/01/2020 03:29, Khem Raj wrote:
> On Fri, Jan 3, 2020 at 2:24 PM Richard Leitner

...

>> -# 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"
>> -
> 
> perhaps as distro integrator, its better for us to disable all
> warning-as-error settings
> which should work across all gcc versions and warnings will still be
> there if someone
> is interested in fixing them.
> 
> something like below might work.
> 
> BUILD_CFLAGS_append = " -Wno-error"
> TARGET_CFLAGS_append = " -Wno-error"

If that's acceptable for a OE/YP layer I'll gladly do this for meta-java.
I always wondered why so much effort is put into fixing new warnings in
"old" versions of software.

Thanks & regards;rl

> 
> other options is to add -Wno-unknown-warning which will not break
> build when a warning is not known

...


More information about the Openembedded-devel mailing list