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

Khem Raj raj.khem at gmail.com
Tue Jan 7 15:30:24 UTC 2020


On Mon, Jan 6, 2020 at 10:12 PM Richard Leitner <richard.leitner at skidata.com>
wrote:

> 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.


Yes it is acceptable. Fixing warnings is useful if it finds a bug which was
otherwise latent

>
>
> 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