linux kernel compiler warnings ignored

Patrick Venture venture at google.com
Tue Apr 30 00:48:36 AEST 2019


On Sun, Apr 28, 2019 at 11:33 PM Joel Stanley <joel at jms.id.au> wrote:
>
> On Sun, 28 Apr 2019 at 02:43, Lei YU <mine260309 at gmail.com> wrote:
> >
> > > I recommend installing your distro's arm cross toolchain if that's possible. It's a much less invasive solution than sourcing the sdk's environment script.
> >
> > But it would be convenient for bitbake's kernel build to treat warnings as
> > errors, so that CI will catch such issues.
>
> Can someone take this task on? We would like the kernel build to error
> out of any of the default warnings are emitted.

So, when building the kernel with W=1 on all modules, wow, there are a
ton of warnings.  But presumably there's a class of warning that you
mean by default or do you mean only error on warnings generated from
an openbmc build?


More information about the openbmc mailing list