arm64/for-kernelci build: 1 build: 0 failed, 1 passed, 1 warning (v6.8-rc4-55-g905b00721763)

Paul Moore paul at paul-moore.com
Tue Feb 20 06:59:23 PST 2024


On Tue, Feb 20, 2024 at 6:49 AM Will Deacon <will at kernel.org> wrote:
>
> [+Paul Moore for the array bounds warning]
>
> On Fri, Feb 16, 2024 at 12:56:52PM -0800, kernelci.org bot wrote:
> > arm64/for-kernelci build: 1 build: 0 failed, 1 passed, 1 warning (v6.8-rc4-55-g905b00721763)
> >
> > Full Build Summary: https://kernelci.org/build/arm64/branch/for-kernelci/kernel/v6.8-rc4-55-g905b00721763/
> >
> > Tree: arm64
> > Branch: for-kernelci
> > Git Describe: v6.8-rc4-55-g905b00721763
> > Git Commit: 905b007217637b34a6a877271f21ed0dada0f564
> > Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
> > Built: 1 unique architecture
> >
> > Warnings Detected:
> >
> > arm64:
> >     defconfig (gcc-10): 1 warning
> >
> >
> > Warnings summary:
> >
> >     1    security/security.c:810:2: warning: ‘memcpy’ offset 32 is out of the bounds [0, 0] [-Warray-bounds]
> >
> > ================================================================================
> >
> > Detailed per-defconfig build reports:
> >
> > --------------------------------------------------------------------------------
> > defconfig (arm64, gcc-10) — PASS, 0 errors, 1 warning, 0 section mismatches
> >
> > Warnings:
> >     security/security.c:810:2: warning: ‘memcpy’ offset 32 is out of the bounds [0, 0] [-Warray-bounds]
>
> Paul, sorry if you've had lots of these reports already, but this one keeps
> showing up in our CI and I don't think it's related to any of our arm64
> changes. So, on the off chance that you're not aware, here it is!

Hi Will,

Yes, I've seen this reported quite a bit and I've double (triple ...)
checked that it is a bogus warning.  Kees mentioned that it was due to
a known gcc bug so I've been ignoring it, I would appreciate it if you
could do the same.  I love to see bugs reported during the development
cycle - thanks for your help in this regard! - but I do get tired of
seeing the same bogus warnings caused by a buggy toolchain.

-- 
paul-moore.com



More information about the linux-arm-kernel mailing list