Message ID | 20221125120750.3537134-1-lee@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3966500wrr; Fri, 25 Nov 2022 04:11:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf7ifC6yEi+dP+tVMoZomgVOSiln7K3acSMhD7E4eYVxWAtNSWsPkJR6lmQ+ASkNhOrdxoon X-Received: by 2002:a05:6402:360a:b0:469:f59f:352e with SMTP id el10-20020a056402360a00b00469f59f352emr15005959edb.241.1669378288757; Fri, 25 Nov 2022 04:11:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669378288; cv=none; d=google.com; s=arc-20160816; b=tdm3h3WHYuVMYcl37ZFZeqVQua7YbWSh8U5Y4uNFt8ex9GqGupziBz1TEG0Q224U0U +oRHZtAho9G8bESmAuOzlZFiZTve9myG7GhS3v1ZosfDpbfgNqw8cUXz4z/AYb5PXfQj 7SY0rUHV/UYCabSXvdSPO/vXKJn1fGelAxzb/CD3WvCjuFWRuGp9mez86lkM/yxHJbYX aRoeIDpc7jjjLJcZVZbRmBr+SgTfZez8u/Qc6cuPfC0sEPZD9Ogrdwsgw1rlm1+C1nlt 6gAamK6QxMm07k4LzEPc/dBkuvOsIWCH1oj1d3yLFg0Oavzmf4IhCsmRELV6FaP73RPM O5qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=csCvaGE4kxRWGHY/9e6HlrcuJqLImJTO5kj9lR3SSRk=; b=g6RqH7aKSbyh7jJ6U4UUVP11sdXuBrrdLE3XGnCl04f2atPoBS6XB9NvU8DxdGKWzb w5u1vy8TvdUq7rhryL4ZiSycof061OrbtqkKjk6rxYEwivOW5snLFyG7pmZpwGJ4A0TY JTybPwXP54hVNh5cnpH0aAbuYvaj+siIyXdysJqMo34hUo7E1Tw37gCeBpqzlJrl1ALm k1OsljDdT4wCsFEgdM56Fm1+gUU+6cLbvXfhuqNpbIoHBON155QXIvVKbIwEU1yq5q0H yP9lC2sqBeGTdzIorvmiz7+d/DMSrKzaGfvx+JujKXGASVlDEXrl+NM24jWR4QLkdE3Y Rhxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n5tAbEzM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg6-20020a170907970600b007aea6b2696fsi3524539ejc.454.2022.11.25.04.11.02; Fri, 25 Nov 2022 04:11:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n5tAbEzM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229564AbiKYMIB (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Fri, 25 Nov 2022 07:08:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiKYMIA (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 25 Nov 2022 07:08:00 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C2F422294 for <linux-kernel@vger.kernel.org>; Fri, 25 Nov 2022 04:07:59 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 28ABC6226E for <linux-kernel@vger.kernel.org>; Fri, 25 Nov 2022 12:07:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F6F9C433D6; Fri, 25 Nov 2022 12:07:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669378078; bh=MoK1DQO20BcY9LoJfm+n7aQF0/HNoDNA8moMNciZNtI=; h=From:To:Cc:Subject:Date:From; b=n5tAbEzMxcV6gWMhqqKmliBOejuMMDMf+u1A29qQP3Pt9zU85bXC3mZQaELQEgQYn MsLPUi3y2Qi8/DJSogMef1OFzML+RmjMIsK9GI7Ne8iqWcbJNpD1k0OHMhgGAnDiGN 5RKbtPiZCOR3Yq+GA9EkZ/Il4BMCA5oZ2DbHtBhPjBaY0Dy6VYGcfENzz55yeypRoG cbWV6SL0xgjM0i0jKpxUNufdLwNqm0ma9Sb3At8+DX74eSAlIzEXd0KDA6GL6BZkKL 32CT1F4krTpmlTWl21W8UxJqD8Kw7GmJx73u98s8dt3wkXG5uG/DRndNfHo+T67hNE z3JNNmY+Vikww== From: Lee Jones <lee@kernel.org> To: lee@kernel.org, arnd@arndb.de, akpm@linux-foundation.org, nathan@kernel.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, ndesaulniers@google.com, trix@redhat.com, harry.wentland@amd.com, sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, alexander.deucher@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH v2 0/2] Fix a bunch of allmodconfig errors Date: Fri, 25 Nov 2022 12:07:48 +0000 Message-Id: <20221125120750.3537134-1-lee@kernel.org> X-Mailer: git-send-email 2.38.1.584.g0f3c55d4c2-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750459690753656897?= X-GMAIL-MSGID: =?utf-8?q?1750470008854393116?= |
Series |
Fix a bunch of allmodconfig errors
|
|
Message
Lee Jones
Nov. 25, 2022, 12:07 p.m. UTC
Since b339ec9c229aa ("kbuild: Only default to -Werror if COMPILE_TEST") WERROR now defaults to COMPILE_TEST meaning that it's enabled for allmodconfig builds. This leads to some interesting failures, each resolved in this set. With this set applied, I am able to obtain a successful allmodconfig Arm build. v1 => v2: - Remove superfluous change (these two override it) - Mark only DRM_AMD_DC ("the new display engine) as Broken - Change logic to only *include* working arches, not *preclude* them Lee Jones (2): drm/amdgpu: Temporarily disable broken Clang builds due to blown stack-frame Kconfig.debug: Provide a little extra FRAME_WARN leeway when KASAN is enabled drivers/gpu/drm/amd/display/Kconfig | 7 +++++++ lib/Kconfig.debug | 1 + 2 files changed, 8 insertions(+)
Comments
On Fri, 25 Nov 2022 12:07:48 +0000 Lee Jones <lee@kernel.org> wrote: > Since b339ec9c229aa ("kbuild: Only default to -Werror if COMPILE_TEST") WERROR > now defaults to COMPILE_TEST meaning that it's enabled for allmodconfig > builds. This leads to some interesting failures, each resolved in this set. I'm not sure who this patchset is aimed at, so I'll take my usual approach of grabbing it and seeing who complains. > With this set applied, I am able to obtain a successful allmodconfig Arm build. b339ec9c229aa is a year old and I've been doing arm allmodconfig for ever. What am I missing here? A broken arm allmodconfig is pretty irritating - I'm thinking that a fix should be backported into -stable kernels. But I'm clearly missing something here.
On Fri, 25 Nov 2022 12:07:48 +0000 Lee Jones <lee@kernel.org> wrote: > Since b339ec9c229aa ("kbuild: Only default to -Werror if COMPILE_TEST") WERROR > now defaults to COMPILE_TEST meaning that it's enabled for allmodconfig > builds. This leads to some interesting failures, each resolved in this set. Oh, I get it. Clang. I'll tweak the above para to make that clearer. cc:stable question still applies? How much trouble will these build errors be causing people for the next N years? > With this set applied, I am able to obtain a successful allmodconfig Arm build.
On Fri, 25 Nov 2022, Andrew Morton wrote: > On Fri, 25 Nov 2022 12:07:48 +0000 Lee Jones <lee@kernel.org> wrote: > > > Since b339ec9c229aa ("kbuild: Only default to -Werror if COMPILE_TEST") WERROR > > now defaults to COMPILE_TEST meaning that it's enabled for allmodconfig > > builds. This leads to some interesting failures, each resolved in this set. > > I'm not sure who this patchset is aimed at, so I'll take my usual > approach of grabbing it and seeing who complains. > > > With this set applied, I am able to obtain a successful allmodconfig Arm build. > > b339ec9c229aa is a year old and I've been doing arm allmodconfig for > ever. What am I missing here? > > A broken arm allmodconfig is pretty irritating - I'm thinking that a > fix should be backported into -stable kernels. But I'm clearly missing > something here. I will be taking these through all applicable Stable kernels.