Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp31934678rwd; Fri, 7 Jul 2023 06:33:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlHX40Sg6xOT1yPtvC7ZkC1G35L/2kiPgi9ZOv7I1shQgB77vXLmNWoNxEe0O9V+HRd/MfoC X-Received: by 2002:a17:903:1c5:b0:1ac:451d:34a with SMTP id e5-20020a17090301c500b001ac451d034amr5282963plh.33.1688736834237; Fri, 07 Jul 2023 06:33:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688736834; cv=none; d=google.com; s=arc-20160816; b=xPMz1OB1f1JOWXz81tFI/pZUguL/C3E7DSk7QGgtixdmfyd6aPbl9rAvZWAsa4QEbg IH71VP+uLpjVNADdK6fqXZfGnqwFZAB4nWrkUkVShsAJJ2H6scvvqkNWnXfylaxJDIXX gilFyW7KGdD6ZDHn1PK32IwbECx693t/xKrUE/zfOV73d7cXA2PrXwZG1XRzOv/VrTuS uPRXrxaecJTQHSplldwggS50fVpf0Ky5mT/dfBzGUZr3qQ41/Nk629WsLsJpGBjlQcD0 T/KtCitHHiyADduJC1hjq3AJLwlTP6KiL/Uh2TrZb78Pq/joXFzdmCCqTBa0lqCqUXEf BiIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:reply-to :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=2BTd0IaKyTJfeCyKZKNnpiUE8v8A9evHQA50ww8avnc=; fh=tFRiO/Ddlq1BhbCN3BH/8QLrc045Q623hLVlerXYDmQ=; b=BiStBDQNe2cW4OMSJhtBa/nr75IUzN67jKUxdj1xGuK6wv7e8pbuVr43mbZ+zpQsYv 0X9IDWmgmyKNuyYo5Msi1Mn3fQCLusmwIPqsbn0ZW9B6Z9egfbP7jExzmrCDOItHV6Gc W0jHb8ofUvs6vTBmnjqZZYjc9Z3XKww8QhsMbv86D9Mpo+THRXULIPXF2eleVX5vixAk uF/jFCj+PTCyuTxdOiNzCvEyuvU5GH24tTJhwNRKXUSC/bEZ36WgCfn+fBs5RscDWIhQ MVD0DlsODw2IAiUq7ZQ8vYt9QVaFVtMlI9NPg6WWZ8rJvRvu5puLCBW6tvZCGJxge2FP lqtw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12-20020a170903120c00b001b89bab468esi3881374plh.107.2023.07.07.06.33.40; Fri, 07 Jul 2023 06:33:54 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231249AbjGGMwe (ORCPT + 99 others); Fri, 7 Jul 2023 08:52:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbjGGMwd (ORCPT ); Fri, 7 Jul 2023 08:52:33 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64A031BF4; Fri, 7 Jul 2023 05:52:32 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1qHkwm-0006RT-L1; Fri, 07 Jul 2023 14:52:28 +0200 Message-ID: <423a78fe-ac40-9983-ff44-90b1759fc0b5@leemhuis.info> Date: Fri, 7 Jul 2023 14:52:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: mainline build failure due to df8fc4e934c1 ("kbuild: Enable -fstrict-flex-arrays=3") Content-Language: en-US, de-DE To: "Gustavo A. R. Silva" , "Sudip Mukherjee (Codethink)" , "Gustavo A. R. Silva" , Kees Cook Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds , regressions@lists.linux.dev References: From: "Linux regression tracking (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1688734352;d5c41fdb; X-HE-SMSGID: 1qHkwm-0006RT-L1 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 On 29.06.23 16:09, Gustavo A. R. Silva wrote: > > Thanks for the report. See my comments below. Thx for your reply. > On 6/29/23 07:53, Sudip Mukherjee (Codethink) wrote: >> >> The latest mainline kernel branch fails to build with clang (version >> 16.0.1), and the errors are like: >> >> drivers/scsi/aacraid/commsup.c:1170:17: error: array index 1 is past >> the end of the array (that has type 'u8[1]' (aka 'unsigned char[1]'), >> cast to '__le32 *' (aka 'unsigned int *')) [-Werror,-Warray-bounds] >>                                  (((__le32 *)aifcmd->data)[1] == >> cpu_to_le32(3)); >>                                              ^             ~ > [...] > These are addressed by this patch: > https://lore.kernel.org/linux-hardening/65907ee4083de62fbaadc5c2e6512e3828912d1b.1687974498.git.gustavoars@kernel.org/ > > in this series (for which I'll send v2 shortly): > https://lore.kernel.org/linux-hardening/62386518-4123-db1f-4656-6b4ea509f5b1@embeddedor.com/T/ Are those fixes still on track? Looks like there was not much progress since then, so I suspect this won't be fixed before -rc1? Or did miss something? Ciao, Thorsten > [...] >> >> git bisect pointed to df8fc4e934c1 ("kbuild: Enable >> -fstrict-flex-arrays=3"). >> >> Reverting the commit has fixed the build failure. >> >> I will be happy to test any patch or provide any extra log if needed. >> >> #regzbot introduced: df8fc4e934c12b906d08050d7779f292b9c5c6b5 >> >> > >