From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C6808CCFA0D for ; Thu, 6 Nov 2025 02:41:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DA77C10E7EB; Thu, 6 Nov 2025 02:40:59 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ltdaPJt1"; dkim-atps=neutral Received: from mail-vs1-f44.google.com (mail-vs1-f44.google.com [209.85.217.44]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3052010E7EB for ; Thu, 6 Nov 2025 02:40:58 +0000 (UTC) Received: by mail-vs1-f44.google.com with SMTP id ada2fe7eead31-5d967b67003so384749137.2 for ; Wed, 05 Nov 2025 18:40:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762396857; x=1763001657; darn=lists.freedesktop.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=Fz3VOOaK2WJzX49TNEhoEpdRHL0wcrha2M363m/VmQg=; b=ltdaPJt1fgwyiaDtbvhT51QdVdYjjC75nydjokcdh/CkBg3Xtzp9KQPc5CsJwQNqlf C8vcXTYkYg6felLuioj4OoNpN9eAOiez+bwfygidtiTTJdt8sfF+veorr+JNtWewGUNr ytO3yIv2iPs1rVNGfVA2BVLVkdjW2ZqHdwxAXxxzLEeeUUAQZqUzFsuTXfjDZiv8yFAN H3w0baQTy25k1UXUWr0iwrJZJRd1yZp+JALaKvGQ5TBB4aoW8SxLkH20lpfhMBY2YHr9 opwLoXAG3DwIDgYlGCfAf9M9bUy0rAdiCyuaj+5MKkxk1IbwKxz+cIALzJnVvGIpq9vZ GRgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762396857; x=1763001657; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Fz3VOOaK2WJzX49TNEhoEpdRHL0wcrha2M363m/VmQg=; b=JYjw9fjg7A49kCboCctvUbiQpOkVT+GoF+UosVxkUUA0At5OeI9xTbOmfxV/vu77Ib HuZkVWcDDwZa1n8mj/l25L8M6ozytKBtkROITCKkk9yPMaCpSY9YvCWsvPuinc9kX9Kx 9QQ6PjIqq+9zYq0Qt/VHwHh+PmiyhHlIrhUx1+QKlAsl0RjsN6SupxqoilujYZUKwOgU kKWzLEDZstF/BMoN3u+K4DbWwdn0plZzIENU+tgd5Sp53845eA1C+MAu3+b4GanDcdyX W5iy6e5xmx3rof8Ks1dTunnMi9waX0J1TTyrAeZlgSqHOnH21aI9mHJgot6sApdmwr8s WVXg== X-Forwarded-Encrypted: i=1; AJvYcCWtOkPWXCQgGMEuVbLLqeVvk9z2Z6A+HoHfZeHOHNYrq0KxjNoFUYaWSQPsoa52/yb8O0TDwDepftw=@lists.freedesktop.org X-Gm-Message-State: AOJu0YxeEDARhxUwCO7ZjUqwFFb6MkbZO6/8prEYiwbu1mjkshQhh9Ns DWSeIzW4bf41oHa75hofI4utV5P5d4X8ZwJMUefzYZ6y59T8GA1wWmGE X-Gm-Gg: ASbGncuKcflWQIxyZnb2MvoUV4wqMMOH9BJkHnMVNqIBe+01OxZVq7EgtumwhObPyuo Fpsco2rK+LoK2VHgaJY8UCiD/Smi+fjw0sf5E9mBHLE/XE1yXazAPsdxUAPIPSkA3z+dXjNGIXd ffioULYiEUddap0/3JiMbRbEafrOK/2xUFYsOri9HHElot+l9uk26QryWTm+SOV+lCgETerXVmB xaVygVEfgYGFndnQV92fQzYJjEAlWgjM/VUavyaVVQNxIHjf5fPC4qhDJOryKK0H/0rm3jm19ay hSUNmPJa8IoSylYFiqOHadNkmWZN0fAMjE2s/g6dtdTb/IPOR/spaneb3lzlKEdvoC+IIDcO91l vY2XD0FW8+Qo76odYTFcCKNbZViyJSml9iYIoMXx2I3Dm2Izy0P57FRutwpUcoPne+xtDq6ft8O CbyWK+ezBqXHAQcz1Cgjm3KVYd3Jaod2tKg7aZiYhSvVJqh3fMOjwbcs0= X-Google-Smtp-Source: AGHT+IG48Ju4qzSiYeWrBUsxbdpp5+5EAVK8wecVkm+QFCx/tSKCn4HCOp+AQxx2reLlG02y/qKwQQ== X-Received: by 2002:a05:6102:304d:b0:59d:ad3:e1e4 with SMTP id ada2fe7eead31-5dd89174feamr2084724137.5.1762396856783; Wed, 05 Nov 2025 18:40:56 -0800 (PST) Received: from ?IPv6:2001:4c4e:24ca:a400:c3d8:2d5a:cb81:c0d3? ([2001:4c4e:24ca:a400:c3d8:2d5a:cb81:c0d3]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-93708862f07sm500320241.7.2025.11.05.18.40.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Nov 2025 18:40:56 -0800 (PST) Message-ID: <149f5bb52a21becedc17a5b0bf1a586672940af6.camel@gmail.com> Subject: Re: linux-next-20251029 - build error in amdgpu From: Timur =?ISO-8859-1?Q?Krist=F3f?= To: Amit Dhingra Cc: Valdis =?UTF-8?Q?Kl=C4=93tnieks?= , Alex Deucher , Leo Li , David Airlie , amd-gfx list , dri-devel , linux-kernel@vger.kernel.org Date: Thu, 06 Nov 2025 03:40:52 +0100 In-Reply-To: References: <1043551.1761844832@turing-police> <32ed124e9d603cad950c4836c7a14a3ba8bc2068.camel@gmail.com> <1296761.1762045181@turing-police> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-2.fc42) MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, 2025-11-05 at 18:34 -0800, Amit Dhingra wrote: >=20 > >=20 > > What do I need to do to trigger the warning? > >=20 > I have the same problem. >=20 > linux-next on Arch Linux > GCC : 15.2.1 20250813 >=20 >=20 > Steps to reproduce the error > - make mrproper > - make allmodconfig > - make drivers/gpu/drm/amd/amdgpu/ >=20 > Turns out its due to randconfig, See [1] >=20 > Setting RANDSTRUCT_NONE=3Dy seems to stop the error. Can you please try and see if this fixes the warning? https://pastebin.com/raw/b8j3UABj Alternatively, if anyone has other recommendations on how to fix it, I'm also open to suggestions. Thanks, Timur > >=20 > > Valdis Kl=C4=93tnieks ezt =C3=ADrta (id=C5=91= pont: 2025. > > nov. > > 2., Vas 1:59): > >=20 > > > On Thu, 30 Oct 2025 19:05:30 +0100, Timur Krist=C3=B3f said: > > >=20 > > > > 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. > > >=20 > > > Upon further testing, > > >=20 > > > [/usr/src/linux-next] make > > >=20 > > > is sufficient on my system. Turns out that it errors out even > > > without W=3D1. > > > My > > > next guess was that it had to do with -Werror, which would cause > > > warnings > > > to > > > be treated as errors, but my .config has > > >=20 > > > # CONFIG_WERROR is not set > > > # CONFIG_DRM_WERROR is not set > > > # CONFIG_DRM_AMDGPU_WERROR is not set > > >=20 > > > Do you perhaps have patches in your tree that aren't in next- > > > 20251029? > > >=20 > > > I wonder if Fedora's build of gcc 15.2.1 is different somehow > > > from the > > > build you're using.... > > >=20 > > >=20 > > >=20 > > >=20