Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp834698rwb; Thu, 4 Aug 2022 11:46:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR6Q8FbZpaufy38dC+3O7gbcJ5pBQmDLPx15vsbbJVZJdzenBM71mKF9SnB9ZcP+hpwMBupk X-Received: by 2002:a17:90a:db0d:b0:1f3:a48e:46b3 with SMTP id g13-20020a17090adb0d00b001f3a48e46b3mr12190574pjv.72.1659638792676; Thu, 04 Aug 2022 11:46:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659638792; cv=none; d=google.com; s=arc-20160816; b=Zq1yDXLZXoRUt0VVQCWTspEpSXE4BbhlFphDZgi0JX54kamNBFus35MJnwnVb2oihR Si3DT9VjAkMpNCTWoKE2vv3m0hC/qUNv5lhaII9gbD+Lk2LchCL9vEy+3YOB2qZGA9vc OO/ZINWjbB9XuFmiPvlP7jX+RDCz8ecxABdrTu58UyZL9qEGFNQrHz5bmj7ooyHQNLLQ 47KscTEFsppuWg/kcuaZZq4vh/UTLNGj4QwP1fKAUjoHOuBG0+/dfGDo3+wU1e8IoO8D LyUugdA/spR+8D8c6WPJ4JNINC6li4VtoCQQuxk3qbkMH1wJi92VVEtnK/zJTbUh7vNA 471A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=B8IeHwDJ6wqDm/ZlgAQSN22yY4qh5x2F6/SpKGeiUr4=; b=o1li7KF0GW23rjFn65wxfse+mUdaY5hbglUXZep52uGZLKg2a0NX1O37SdswgT/3wh P/iHH6bjX4gVvsNews1IqvbbZZXPxQSgfK2698yo4YSauqkGoeDMme/rIJa8oKUYG+Ik zzc5ml4jjMVzTNyQHkWV6Wj9SdqnAC1wWgdEqxTF2niHFmlYVnipgxwKL/vx9nxKfxPO BNIAeS+88UfDXRWR/lOl0GwvNOP4lvx9eez9PZdl0Iu73S+oDiiMnFJePy3GA5xdQeg0 tor3boouPREroUz4zLuh7hKePG0DG1s6cwVyEyzWlRd363iwkF4cSHQ2lHacAbsp+BYL TqSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=RFdiP7g4; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ca17-20020a17090af31100b001f0365517fesi5289841pjb.132.2022.08.04.11.46.17; Thu, 04 Aug 2022 11:46:32 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b=RFdiP7g4; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239008AbiHDShN (ORCPT + 99 others); Thu, 4 Aug 2022 14:37:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238734AbiHDShL (ORCPT ); Thu, 4 Aug 2022 14:37:11 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CD7E6A495 for ; Thu, 4 Aug 2022 11:37:09 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id j7so768256wrh.3 for ; Thu, 04 Aug 2022 11:37:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc; bh=B8IeHwDJ6wqDm/ZlgAQSN22yY4qh5x2F6/SpKGeiUr4=; b=RFdiP7g41bMHSuMHMiydnwChvxj1DJWx5rXs+ZgU3/sQs9HhnLQlrPwdGj3Gqqnn9n 5z9sg2V6E0k2bf4iy5j5GzNAwM16wjfIT7NubNfE2zdsNcVG//wlm3eQozf6aRqWwdzz A9oMzSdzLMARXzg3mKeGg+bpOPVKB4zBDazlwiZnS643LJda8iK3l0aclLgfHDlCKHCI oMFAW/cnYCqY8qwlYxGNfuu3xlFa0qGS9SKQXnT5H/8U7dkBN8yIo+ciPo49zlXrIu3S 06w88Fnm55q4Mb2OZaKqYBm+mdk+9S5lzoytIKUoufIHrV/QdZKZjBo0VqJv6UoXJZ8Q 5bEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc; bh=B8IeHwDJ6wqDm/ZlgAQSN22yY4qh5x2F6/SpKGeiUr4=; b=1wz3fj5ehkkOP+4BneuomYEkuYTRfD7tdRWAT8NYTd9Bi8uxWPL1zF2TqAjxBlX8pb /9HqIdgX3VVc/DpmqZQ0mMoQG6pj/lDf2pkYh2ur/Q3oJTi8szNAMkbVYazgz72XE+j1 LeiJmzaNIwbKYfAw091PcvzQzRoVlnHxB7YLZyUiVvuavXopMfPh9vSCWPYu+6cNGOZ9 IgYpbtt2iFIURgNnvDe7cxrDgFiNmhty5PzAVLIvp0Et9jFeV4OZ9uXDSyXfy/p6z9lW SLq8K5tJK3OQcT8tza3bV+VxWs/cNKOy0IgUXBUHTP0CeZYtyaDMzlilEcFl/Y78G+Hk Sm4g== X-Gm-Message-State: ACgBeo3fR4zw7vNrBS1/Vcv+m0Eki/m49ia4sgHucxhTB8dkQ+aWxYj3 7pTwcaAFQVWe6dVqnQDO/AA= X-Received: by 2002:a5d:4f86:0:b0:21e:f78b:33f1 with SMTP id d6-20020a5d4f86000000b0021ef78b33f1mr2331775wru.38.1659638228064; Thu, 04 Aug 2022 11:37:08 -0700 (PDT) Received: from debian ([2405:201:8005:8149:e5c9:c0ac:4d82:e94b]) by smtp.gmail.com with ESMTPSA id y10-20020adfe6ca000000b0021f0cf9e543sm2070037wrm.2.2022.08.04.11.37.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Aug 2022 11:37:07 -0700 (PDT) Date: Thu, 4 Aug 2022 19:36:57 +0100 From: "Sudip Mukherjee (Codethink)" To: Nathan Chancellor Cc: clang-built-linux , Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Linus Torvalds Subject: mainline build failure for x86_64 allmodconfig with clang Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, The latest mainline kernel branch fails to build for x86_64 allmodconfig with clang. The errors are: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn30/display_mode_vba_30.c:3596:6: error: stack frame size (2216) exceeds limit (2048) in 'dml30_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than] void dml30_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib) drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31/display_mode_vba_31.c:3908:6: error: stack frame size (2184) exceeds limit (2048) in 'dml31_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than] void dml31_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib) drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c:1726:6: error: stack frame size (2176) exceeds limit (2048) in 'dml32_ModeSupportAndSystemConfigurationFull' [-Werror,-Wframe-larger-than] void dml32_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib) git bisect points to 3876a8b5e241 ("drm/amd/display: Enable building new display engine with KCOV enabled"). My last good build for clang was with e2b542100719 ("Merge tag 'flexible-array-transformations-UAPI-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux"). I will be happy to test any patch or provide any extra log if needed. -- Regards Sudip