Re: linux-next-20251029 - build error in amdgpu

From: Valdis Klētnieks

Date: Sat Nov 01 2025 - 20:59:55 EST


On Thu, 30 Oct 2025 19:05:30 +0100, Timur Krist�aid:

> Can you say how to reproduce that?
> I use the same version of GCC but it hasn't given me any warning or
> error for that patch.

Upon further testing,

[/usr/src/linux-next] make

is sufficient on my system. Turns out that it errors out even without W=1. My
next guess was that it had to do with -Werror, which would cause warnings to
be treated as errors, but my .config has

# CONFIG_WERROR is not set
# CONFIG_DRM_WERROR is not set
# CONFIG_DRM_AMDGPU_WERROR is not set

Do you perhaps have patches in your tree that aren't in next-20251029?

I wonder if Fedora's build of gcc 15.2.1 is different somehow from the
build you're using....