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 3511EC00140 for ; Fri, 5 Aug 2022 07:27:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9123AB40E9; Fri, 5 Aug 2022 07:24:08 +0000 (UTC) Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by gabe.freedesktop.org (Postfix) with ESMTPS id A159E9BEC0; Thu, 4 Aug 2022 18:37:09 +0000 (UTC) Received: by mail-wr1-x42a.google.com with SMTP id p10so730539wru.8; 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=4RP8rxKBbAGQFZQl+UKxl+eG4srZhecxITrlhCGY8eD2wBMGN3F/F1S8jtlbBaiGnV 4n+UxD+ZzQPBjJjvZvKZK44YS3ZTCWm72OEOSeuGqSC5ZElkkVX2gAWIy+l1vuuiVq7+ czaG7T/55nDerz+R6yHfifP5+gY9tHWjPsEFviDgVmMcahGt2m5rCqPAp/CUmln1hSNx gdYChDiYNLawj/DRlDyWHtFzQywd+hblbceHNWqaAAGvo+Hd7YYoL2Q66OHLwzNy4Bwb uJbZfSx8hlT9amOF/SdtSSWoe1GB+DpPrLYjj4Pt06vUFRIZGgItqq4BtD3wn1MdsvgO JneQ== X-Gm-Message-State: ACgBeo0toy8CCg+m2hLEE1xKxPHoHCJn6dpg1kUMNcVdb2QBYzmTERre lFdP2BRVBz0gqqBtuNhv0uGW6FVQPaw= X-Google-Smtp-Source: AA6agR6BXtu4trhevGRN8TVyo6MRrwFBM4GRm3VN7u8yo8mEIkgNVkRgvawIxNMQllSvIRGPR7rAVA== 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 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-Mailman-Approved-At: Fri, 05 Aug 2022 07:24:03 +0000 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: clang-built-linux , David Airlie , "Pan, Xinhui" , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Daniel Vetter , Alex Deucher , Linus Torvalds , Christian =?iso-8859-1?Q?K=F6nig?= Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB83B2916 for ; Thu, 4 Aug 2022 18:37:09 +0000 (UTC) Received: by mail-wr1-f44.google.com with SMTP id z17so758375wrq.4 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=vVOGPC6bRNfr4gjI2OgO3FrBb3Hfjc5RLuUBFmEBb1YhfwLNp4/wI1s2K/GvsMCbnE cd6oe8DyH9lCwkNooh/EBzsKiadzwo1QAh5xLTOsgMXQzsGHTUCgRmO1XtfQRx+tJOGN d2yUAsyYn8oS7A65W5f4PrREEs7ZLmLbqEDWW4dw8/bJwd+3fFmiFByAhXpoHofXbckk Xq3I189TElEnhm0/wDPQfzyjBhtMLsMX3HWwklsjOQfABlQ4uipweOoWXl/3qqb7n1Gi xfK1hmTtgDTF5m+WzHK8Y9wsYnKxvBlTeyImgkDEZSB75D7tmCFMRNWLI5l8+BMuJaqw QuOA== X-Gm-Message-State: ACgBeo2QPBu39k4+FySgZQp2TLm0DtXfvhSF/C3WAHHY4XEFymFuq6GR eDTeUQkGUAzeYQTQfrqvZvs= X-Google-Smtp-Source: AA6agR6BXtu4trhevGRN8TVyo6MRrwFBM4GRm3VN7u8yo8mEIkgNVkRgvawIxNMQllSvIRGPR7rAVA== 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: Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 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 BEBD4C19F2A for ; Thu, 4 Aug 2022 18:37:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0F39894FE7; Thu, 4 Aug 2022 18:37:28 +0000 (UTC) Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by gabe.freedesktop.org (Postfix) with ESMTPS id A159E9BEC0; Thu, 4 Aug 2022 18:37:09 +0000 (UTC) Received: by mail-wr1-x42a.google.com with SMTP id p10so730539wru.8; 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=4RP8rxKBbAGQFZQl+UKxl+eG4srZhecxITrlhCGY8eD2wBMGN3F/F1S8jtlbBaiGnV 4n+UxD+ZzQPBjJjvZvKZK44YS3ZTCWm72OEOSeuGqSC5ZElkkVX2gAWIy+l1vuuiVq7+ czaG7T/55nDerz+R6yHfifP5+gY9tHWjPsEFviDgVmMcahGt2m5rCqPAp/CUmln1hSNx gdYChDiYNLawj/DRlDyWHtFzQywd+hblbceHNWqaAAGvo+Hd7YYoL2Q66OHLwzNy4Bwb uJbZfSx8hlT9amOF/SdtSSWoe1GB+DpPrLYjj4Pt06vUFRIZGgItqq4BtD3wn1MdsvgO JneQ== X-Gm-Message-State: ACgBeo0toy8CCg+m2hLEE1xKxPHoHCJn6dpg1kUMNcVdb2QBYzmTERre lFdP2BRVBz0gqqBtuNhv0uGW6FVQPaw= X-Google-Smtp-Source: AA6agR6BXtu4trhevGRN8TVyo6MRrwFBM4GRm3VN7u8yo8mEIkgNVkRgvawIxNMQllSvIRGPR7rAVA== 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 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-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: , Cc: clang-built-linux , David Airlie , "Pan, Xinhui" , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , Linus Torvalds , Christian =?iso-8859-1?Q?K=F6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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