Thread (5 messages) 5 messages, 3 authors, 2025-12-16

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

From: Ihor Solodrai <hidden>
Date: 2025-12-16 01:31:59
Also in: bpf, kernelci, linux-next, regressions

On 12/15/25 5:25 PM, Stephen Rothwell wrote:
Hi all,

On Mon, 15 Dec 2025 23:59:03 -0000 KernelCI bot [off-list ref] wrote:
quoted
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 <redacted>


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 kernelci@lists.linux.dev

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/d80c77cf-c570-4f3b-960f-bbd2d0316fac@linux.dev/ (local)

Needs acks/nacks.
in the bpf tree.
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help