Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5986721rwb; Tue, 1 Aug 2023 10:32:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlGFMW0W184p3Ghys6+/t8dtgA4efS06Jpx2yYi0TeYJvZ8f6rEnqbsilDAncLhTuTU3U0XR X-Received: by 2002:a05:6a20:3944:b0:132:965d:5323 with SMTP id r4-20020a056a20394400b00132965d5323mr13530940pzg.33.1690911142417; Tue, 01 Aug 2023 10:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690911142; cv=none; d=google.com; s=arc-20160816; b=NPDfooeqzf7jA0zpLvAOMcdRom24URRXE40Phjivq+96GjF2dmbUbRbJlQ/mj5bhD1 F2EuU+CEB7LM9jZ8pE8eK+x5KBTrADdL/CFj7zqFzlyGDiEk3yaPFspnktCSpXMOUzuz BvhJJnlYsnpAU6La9TbV0xwbo5cOrNIkUNAU5QB3EqWsHoJVh9tatMg3Wjy+5uzkd+4z lqJToXXFYFVP8auropi3Nmqd3X8lnKxj1dZjqxULeJpk67kRvuBYQbmuSJLPtoGHXxD9 xhcVCITL3CZMBv7h2nF4NzUurc5wd2JpcRcx3oIFr+wJb+2WBP/C7VB+wiZr4F64j8L9 Ddgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=xw6YuzgWrsf6N9/dl9YibgpFVTlpzsUsKjKhC+M17vg=; fh=+ag9kUW7rqac09if2RGoFdB5o6V0awRIv5KsnrwFHGc=; b=ZDv7VFYjBE44COM2h7g1irvHn632XjZdXNL10GRWoSth358289G21DTB5Ha1sZumut omYzTJ51Z1otA5f9ksUchAeVXWzaGt/mcEBFN/IILUfI3pNDrnB1BOh20Qy2tMBsdI/Z jJ7C+gToUmEkRW7DF1FuKYc4Y0QKKPBsSSSCgmBvdJAMJddP9rT73jmhqMFYvttVPfom kOFXxX/QS+fZZtYPEwCm1QVnKuw7ZvQc5L+yXpBtgCZC7al+dYqhHzk1P8XmSF3e87+n KPQ8di8brVNaRT+Rx8FpQ29a9Tvcjus9ZHUG4p9KjXi2oFaLC0hx+N9j0/Z++HIGt2k8 Hgsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FcufKVBp; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h24-20020a63f918000000b0055fc77ed00bsi9272868pgi.579.2023.08.01.10.32.08; Tue, 01 Aug 2023 10:32:22 -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=@linaro.org header.s=google header.b=FcufKVBp; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234647AbjHAOX5 (ORCPT + 99 others); Tue, 1 Aug 2023 10:23:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234630AbjHAOXx (ORCPT ); Tue, 1 Aug 2023 10:23:53 -0400 Received: from mail-vk1-xa31.google.com (mail-vk1-xa31.google.com [IPv6:2607:f8b0:4864:20::a31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18E2B210D for ; Tue, 1 Aug 2023 07:23:50 -0700 (PDT) Received: by mail-vk1-xa31.google.com with SMTP id 71dfb90a1353d-48668399b29so1684338e0c.1 for ; Tue, 01 Aug 2023 07:23:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690899829; x=1691504629; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xw6YuzgWrsf6N9/dl9YibgpFVTlpzsUsKjKhC+M17vg=; b=FcufKVBpxwMpH1oLtC8JliSvOIPO1y0hjQANK8npjt5rrIo0GqvmUkEwm9ey2YzGx6 WwuMtqNd76hHAZ5OughTksBYV9UAAMLjoYLP56ihDcBIXZLFyxPUepmFWAwsEonRl35o Qo/YqP2ZLfmM23+BgnNs9zC6nh5gsVNoSZIe2Ncb/z6aKGqNXjhUX6+fmbnVjZYWSx5v k9H9E1AlFKl/GHbgjLLMZIaSO8ISZ2FNIHfQ1VqJfqMCczOr+NuHGQPm6pyaAvA1geZ6 iloRu3+nPq+eD/fwBgaW04SdNZISyOlSprKWUALXYjk+9F4b381LdQSQRke08tvpYj+6 Tddw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690899829; x=1691504629; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xw6YuzgWrsf6N9/dl9YibgpFVTlpzsUsKjKhC+M17vg=; b=SvkRK9SSFdCMu+ALVGe5j6Qs9ybuYUdZn/ML9rcaEKqHoETMNnUIFkfb0endqq+8/2 cgreEPJb/k3NOYARBiXkTj9mefROl5MjUStJDWwpX66sAWYjY0SPJBE2VcClLOMkaP7l IVjx62uOrM80ae6BpXzvL/cnQJ0z0sh10Efneg0I0tbplPW1KTx+F/w1STsUJgh7LI/d accxB6Dq/SFbX4fYbAF2EIvI1h1VdPBaaESgCybfYlM+z/s/dYnlXasDyD+6GdDZFiYZ BULAH0SObJCsbQZqAR28zwW/HjZNhugMNWgTdZTqjiFYE6QUaoRRdVwNFPlkwY9qPIhE G2Vw== X-Gm-Message-State: ABy/qLbm6lR1vjBoiGZtuQUqJLFYzwmiAlj7Jo8lns3QRFs8qHgk7pBN 3mHGr/7y0lwXHbrUu8bmNo2IwYQcrSeqf7NZ1rjlXw== X-Received: by 2002:a1f:c1cd:0:b0:485:e984:64ca with SMTP id r196-20020a1fc1cd000000b00485e98464camr2616916vkf.3.1690899828996; Tue, 01 Aug 2023 07:23:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Naresh Kamboju Date: Tue, 1 Aug 2023 19:53:37 +0530 Message-ID: Subject: Re: next: arm64: gcc-8-defconfig: ufshcd.c:10629:2: /builds/linux/include/linux/compiler_types.h:397:38: error: call to '__compiletime_assert_553' declared with attribute error: BUILD_BUG_ON failed: To: Bart Van Assche Cc: open list , linux-scsi@vger.kernel.org, Linux-Next Mailing List , Avri Altman , "Martin K. Petersen" , Arnd Bergmann , Anders Roxell Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Tue, 1 Aug 2023 at 18:53, Bart Van Assche wrote: > > On 8/1/23 05:16, Naresh Kamboju wrote: > > Following build error noticed while building Linux next-20230801 tag > > arm64 defconfig with gcc-8 toolchain. > > > > Regressions found on arm64: > > > > - build/gcc-8-defconfig > > - build/gcc-8-defconfig-40bc7ee5 > > > > > > Reported-by: Linux Kernel Functional Testing > > > > log: > > ----- > > In function 'ufshcd_check_header_layout', > > inlined from 'ufshcd_core_init' at > > /builds/linux/drivers/ufs/core/ufshcd.c:10629:2: > > /builds/linux/include/linux/compiler_types.h:397:38: error: call to > > '__compiletime_assert_553' declared with attribute error: BUILD_BUG_ON > > failed: ((u8 *)&(struct request_desc_header){ .enable_crypto = 1})[2] > > != 0x80 > > _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) > > ^ > > > > > > Links: > > - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230801/testrun/18754886/suite/build/test/gcc-8-defconfig/log > > - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230801/testrun/18754886/suite/build/test/gcc-8-defconfig/details/ > > - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230801/testrun/18754886/suite/build/test/gcc-8-defconfig/history/ > > I can't reproduce this build error with a gcc-12 arm64 cross-compiler. How > important is gcc-8 for the ARM community? You are right, gcc-12 build pass. gcc-8 build failed. If you want to reproduce with gcc-8 you may follow these steps. # To install tuxmake to your home directory at ~/.local/bin: # pip3 install -U --user tuxmake # # Or install a deb/rpm depending on the running distribution # See https://tuxmake.org/install-deb/ or # https://tuxmake.org/install-rpm/ # # See https://docs.tuxmake.org/ for complete documentation. # Original tuxmake command with fragments listed below. # tuxmake --runtime podman --target-arch arm64 --toolchain gcc-8 --kconfig defconfig tuxmake --runtime podman --target-arch arm64 --toolchain gcc-8 --kconfig https://storage.tuxsuite.com/public/linaro/lkft/builds/2TN3A8EaWQJAcOYnbXZnkb7D3H7/config > > Thanks, > > Bart. - Naresh