Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4666740iog; Wed, 22 Jun 2022 03:33:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tOn8VvX3su9CzUUamlWrLI5MFLuV+PeVH4xNMrSxS6pW/VtC5QIy8Mf7spExYex2omf2JH X-Received: by 2002:a17:906:5d07:b0:722:eac8:29a6 with SMTP id g7-20020a1709065d0700b00722eac829a6mr2535492ejt.89.1655893982783; Wed, 22 Jun 2022 03:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655893982; cv=none; d=google.com; s=arc-20160816; b=uriD3V9QqC2+ypsjVGF+emoNV9AobpNg+f3oe9ssLtSoW9R1U5mGdYiPY7bhKDplka VE6ZiwrZDyJBekIh2gZOz2MgMoDiKWlwypWj2YoaPwXpdHoRzgQF11vS6+nhjrvb38qu t0ToyB8uWX1kBsPkzlLRctclsx8WOlOH6yJyznOpSdBU+EWb41AR7hbsfvmICxuOii0z TOBT7ZBLgEJPouMHHggkID78e3mYQVdYFPGVfuLWXt3fOReN2CEpCY5B0Jk5xyCiBwbA LXIm90msgWYQqKR5YbhD+IuRF/CcJSCrDHJ8vcQk+kEKzO8VIh/M7dMhk0yoxyg5wQs9 eP/w== 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=qEPAGOxMSdk4gLCQ3Q2YT2MQlAarZo3S0qU7nlqQDf0=; b=oj/czmP+kaoH8OlufBq1wywuPvGIhcjeVZ5cgzH3iuNHLxLtIDWXepElzWTjSADDCc PM05ALA0QpMtHq3oNu3gU5reSnnvOshPEJru28KAHcSEDpdz7X2zPPpTjzoRXtNNobNA FVXQvMGjkk53wUo8jOFccf/sKh6wh4HGuDc3+JSASBHLbmMTVwRXaB7eoBWELFxAF5f2 gxBYqILzIL3z9hlRxcQmgU8Lh69RWHOGTvCgWztCnWNP8Lj11CfbHpfdVJuYoTfBvNv4 O7iKMM8R0P6sxKm/f7I2oKapg+TtQeubr7S7weNZHX4OnZQunrGb9bheglKRrx9OghAz J0xA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iukmiRMe; 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 mp42-20020a1709071b2a00b00716646dc05fsi4202316ejc.860.2022.06.22.03.32.35; Wed, 22 Jun 2022 03:33:02 -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=iukmiRMe; 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 S1349856AbiFVKXu (ORCPT + 99 others); Wed, 22 Jun 2022 06:23:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353870AbiFVKXk (ORCPT ); Wed, 22 Jun 2022 06:23:40 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2405C17E07; Wed, 22 Jun 2022 03:23:38 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id m1so14949641wrb.2; Wed, 22 Jun 2022 03:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=qEPAGOxMSdk4gLCQ3Q2YT2MQlAarZo3S0qU7nlqQDf0=; b=iukmiRMeggvZDo2T+uBsLZwNu7y4Cv0CuVYFQugMYYNcMTCo6eO7wxmfUngtI5qxa2 L3ljjtkIY5EZ0IFp0dd3M0DOso/yd8AAP7ic8zcOPnIeKvos0S2FNl6ai1D56JMVoruL dFB7JBMJAKaKFN3e7pwoRdEiOcrXb4SP7Jyd9N76L8oO1yhwsrF6zd61ge2nL81JTRez OIfSQxUbk5GrOF2hmjE4gTxF+oIJW4CDtubNht7FVpaDr5+bruRwBl3fvmhxebug2XPN IrTTtofFsclXLCCa2I9eV7nH5laDTd6bX/TbxefJc8dJjsNl/N5RAGfTuzdnV52xgzfj d94A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=qEPAGOxMSdk4gLCQ3Q2YT2MQlAarZo3S0qU7nlqQDf0=; b=7YkOV16uJBMIp3k3yu1RFnSARkvwQNfIZCX74WHLVXlUf0PUsbjsousFZw7griiVJU xGVnghbwZTcnJYRn4ItiORMF8P9zeBbOrclxiwSffJ0SMZzr1KrC111/bjGwOdcUDjbR g7m6bqqAfkZDtRigKl/SjLEZE/tSSw9qWgvS7haWSaZePZ+zpq7MgQy3qWhEUqURu6xL X/Ia1pfnCNbgc9xsnnsBFaQ+rG3OelZWIXzP4P+Vt/YqrJF69pHCR2ZldUBTykwLqGY/ EEq0ISL85uUn101ksZj6grKayeMpnq7SLIokWsNvQzzcSVtFqoUM4WN43O/43Cfj0hiR nVcQ== X-Gm-Message-State: AJIora+4D4C6eSr0USu9fFFqUtcoIlcp1nBaNNQiHm17XWc1agK1yZCG 9uqkLf/Oymvk/H8IMs3hAa4= X-Received: by 2002:adf:f446:0:b0:21b:821f:a916 with SMTP id f6-20020adff446000000b0021b821fa916mr2486592wrp.11.1655893416626; Wed, 22 Jun 2022 03:23:36 -0700 (PDT) Received: from debian ([167.98.27.226]) by smtp.gmail.com with ESMTPSA id bp17-20020a5d5a91000000b0021b9870049dsm4526213wrb.82.2022.06.22.03.23.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jun 2022 03:23:36 -0700 (PDT) Date: Wed, 22 Jun 2022 11:23:34 +0100 From: Sudip Mukherjee To: Kees Cook , Nick Desaulniers Cc: "David S. Miller" , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds Subject: mainline build failure due to 281d0c962752 ("fortify: Add Clang support") 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,T_SCC_BODY_TEXT_LINE 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, I have recently (since yesterday) started building the mainline kernel with clang-14 and I am seeing a build failure with allmodconfig. In file included from drivers/net/ethernet/huawei/hinic/hinic_devlink.c:15: In file included from ./include/linux/netlink.h:7: In file included from ./include/linux/skbuff.h:15: In file included from ./include/linux/time.h:60: In file included from ./include/linux/time32.h:13: In file included from ./include/linux/timex.h:67: In file included from ./arch/x86/include/asm/timex.h:5: In file included from ./arch/x86/include/asm/processor.h:22: In file included from ./arch/x86/include/asm/msr.h:11: In file included from ./arch/x86/include/asm/cpumask.h:5: In file included from ./include/linux/cpumask.h:12: In file included from ./include/linux/bitmap.h:11: In file included from ./include/linux/string.h:253: ./include/linux/fortify-string.h:344:4: error: call to __write_overflow_field declared with 'warning' attribute: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror,-Wattribute-warning] __write_overflow_field(p_size_field, size); After a bisect it pointed to 281d0c962752 ("fortify: Add Clang support"). Since it was introduced in v5.18, not sure if its already reported before. -- Regards Sudip