Subject: Re: [REGRESSION] next/pending-fixes: (build) error: unknown warning option '-Wno-suggest-attribute=format'; did...

From: Ihor Solodrai <[email-masked]>
Date: Mon, 15 Dec 2025 17:31:42 -0800

On 12/15/25 5:25 PM, Stephen Rothwell wrote:
> Hi all,
> 
> On Mon, 15 Dec 2025 23:59:03 -0000 KernelCI bot <[email-masked]> wrote:
>>
>> Hello,
>>
>> New build issue found on next/pending-fixes:
>>
>> ---
>>  error: unknown warning option '-Wno-suggest-attribute=format'; did you mean '-Wno-property-attribute-mismatch'? [-Werror,-Wunknown-warning-option] in kernel/bpf/helpers.o (scripts/Makefile.build:287) [logspec:kbuild,kbuild.compiler.error]
>> ---
>>
>> - dashboard: https://d.kernelci.org/i/maestro:32e32983183c2c586f588a4a3a7cda83311d5be9
>> - giturl: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>> - commit HEAD:  326785a1dd4cea4065390fb99b0249781c9912bf
>>
>>
>> Please include the KernelCI tag when submitting a fix:
>>
>> Reported-by: kernelci.org bot <[email-masked]>
>>
>>
>> Log excerpt:
>> =====================================================
>>   CC      kernel/bpf/helpers.o
>> error: unknown warning option '-Wno-suggest-attribute=format'; did you mean '-Wno-property-attribute-mismatch'? [-Werror,-Wunknown-warning-option]
>>
>> =====================================================
>>
>>
>> # Builds where the incident occurred:
>>
>> ## defconfig on (arm64):
>> - compiler: clang-21
>> - config: https://files.kernelci.org/kbuild-clang-21-arm64-mainline-694097d2cbfd84c3cdba292d/.config
>> - dashboard: https://d.kernelci.org/build/maestro:694097d2cbfd84c3cdba292d
>>
>>
>> #kernelci issue maestro:32e32983183c2c586f588a4a3a7cda83311d5be9
>>
>> --
>> This is an experimental report format. Please send feedback in!
>> Talk to us at [email-masked]
>>
>> Made with love by the KernelCI team - https://kernelci.org
>>
> 
> Presumably caused by commit
> 
>  ba34388912b5 ("bpf: Disable false positive -Wsuggest-attribute=format warning")

Hi Stephen,

A potential hotfix is here:
https://lore.kernel.org/bpf/[email-masked]/

Needs acks/nacks.

> in the bpf tree.