Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1105537iob; Wed, 4 May 2022 14:52:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpG3XZe9khlZ2Sw3Klq5l5SIrqpdG/apNzXasAc+lFWakNPWfNOWZg182O4WtLKf7PnKXA X-Received: by 2002:a17:907:9482:b0:6da:8ad6:c8b5 with SMTP id dm2-20020a170907948200b006da8ad6c8b5mr22046033ejc.372.1651701168074; Wed, 04 May 2022 14:52:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651701168; cv=none; d=google.com; s=arc-20160816; b=HJJHTOd6sIwpzhqM+LH+7mqeQDoUCrXp1/chmmQwTf3UjW1V0bs7Cv/IWY9S4PfnuO Kg5hivOaac4HTsJK1KBEmNvobS54ZbMCBZBNPuLEq4qZlL1D654DtJOvbxC1XDXMe93i FmSWXIdpR0ebgt6akOHa6FupqL+nC4pF+zc/DD2jwJ0Q5IY13YWMKXRT0a7ElvmFmuZC 6e8h1BQ4lP+5yRJW4BgUITg2ZwqhiaQAFWCuiO0E+9jkBV9h8DMHR6YmjjgRiY969MVk 1JTZXDl6FVd04Tsnu6g1pxG1ccOAAHjWpdeO5c9wRV+oBJLyv2doewdt6oF8Vb8LLUET 7tIA== 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:mime-version :dkim-signature; bh=K1n9fpldTiBt4+7bTClyqmjUIHytSrQ70M4AzMF65Pc=; b=R2/jJkMV92kJdzfbG2ulKC9MgjiNpz7yeJPUo2Cqb/BmPyBUdON/qU5FpQwVsNiPDE f9yMfKxgFosCx/p0X3tPLH+uj6STbsAHHGib9Gg49exkTdoypK/cOxh2dDSlGqnDpUjM vBJ0Nnun3DsgtSylVsHj001DbFBGw8941IXF+xrqNCF5YXxwNp/vmzOJuMIQR58+q5tj EndZwRXx0fWiBaIUrp9k4w4MseS8UY7EiNQWxfGRG3fFb1TuC2PiQIkLcm/GQuBOPPj5 0GM0ZpMpLfz5sDnI/kGOR8zbslsxQCwPh6GorsR1Bg9drTPVsXW7AQ2DOnLBXecb7+xq kVGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="A/qVfvoB"; 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 u5-20020a056402064500b00425fffc1a30si16014033edx.397.2022.05.04.14.52.24; Wed, 04 May 2022 14:52:48 -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="A/qVfvoB"; 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 S1376569AbiEDSVs (ORCPT + 99 others); Wed, 4 May 2022 14:21:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376968AbiEDSVc (ORCPT ); Wed, 4 May 2022 14:21:32 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4055A61294 for ; Wed, 4 May 2022 10:43:57 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id w17so3623846ybh.9 for ; Wed, 04 May 2022 10:43:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=K1n9fpldTiBt4+7bTClyqmjUIHytSrQ70M4AzMF65Pc=; b=A/qVfvoBR7m65lufNi580qn7sweKa3qFysR8AOSrAEJ7mMjEh3aSQhMkP/nVDxJXr0 5gYeioggSEAMajiBMNyNUIMObE+Fg6rfKZKEWaGabAKTGY8o+8NhuiiMs2T8QLjAc2In e/SVZSpDn9tBcic/nrjIhGmE17asrK1EKWDliqOPiWhTvV6EG6+WuNnKSPPnltbdXuDb R9c2sZFImzk/P4ozL7d+2l/Jd/Gq9VZ9U49tf1RJbOaxItbB5sXdaolvuA/lS2F7Lwpi zMSNJkt47gNFNvIA/N1p0FcOToKUisCexxbdduq8ngZxmKbSTYcv1VgxTZGdbvBVMdrf jEkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=K1n9fpldTiBt4+7bTClyqmjUIHytSrQ70M4AzMF65Pc=; b=SZaiWJwhIRnjXCYVTEgVXhrMLGyve9P1Nqz1aM7BLT7eM6ViezxjCDtKe7q4hYsib5 w66sOCJaaKxYOe0x7xvMuFaDEvpYZ0hDKaKOhlIo16YWmx7F73HyKXpwHWNHq4egb5Lh AAL7G7EZ9BWJvewfC0/XBpfjxsOwg/hCcC+9tAR9tAKLKCxn31lr2M8fi6cLGRnObt+6 Wd2rO36s9uOYRDSEbSUyNcIfJBI0OrBhZrtSABj+E75eAPhSZMO7xfmvisxNGnFiW7B9 rOj1EKujXmE5x+WKMMRTITuECvHl65KZLUWFI7wtFX2eFqHPl8sLAKuSRFxTT37L3Liv EXBg== X-Gm-Message-State: AOAM533QWxhNV342t7n58+Fa0czB73VWxFONQzPWRrmmjCRwo9DLE3Wn qQtQGggCja1sITbnQdZpAYMlvGDnBKal4sOGWOdIrlITJl3RpQ== X-Received: by 2002:a25:8045:0:b0:648:a9b3:96d0 with SMTP id a5-20020a258045000000b00648a9b396d0mr17625426ybn.88.1651686235567; Wed, 04 May 2022 10:43:55 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Wed, 4 May 2022 23:13:43 +0530 Message-ID: Subject: [next] arm: include/linux/compiler_types.h:352:38: error: call to '__compiletime_assert_295' declared with attribute error: BUILD_BUG failed To: open list , Linux-Next Mailing List , lkft-triage@lists.linaro.org Cc: Stephen Rothwell , Andrew Morton , Hugh Dickins , Arnd Bergmann 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_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 Following build regressions noticed On Linux next-20220405. Regressions found on arm: - gcc-10-lkftconfig-kselftest - gcc-9-omap2plus_defconfig - clang-11-omap2plus_defconfig - gcc-10-lkftconfig-kasan - clang-12-omap2plus_defconfig - clang-nightly-omap2plus_defconfig - gcc-10-omap2plus_defconfig - clang-13-lkftconfig - gcc-10-lkftconfig-kunit - gcc-8-omap2plus_defconfig - gcc-10-lkftconfig-libgpiod - clang-13-omap2plus_defconfig - clang-14-lkftconfig - clang-14-omap2plus_defconfig - gcc-10-lkftconfig - gcc-11-omap2plus_defconfig - clang-nightly-lkftconfig - gcc-10-lkftconfig-debug-kmemleak - clang-12-lkftconfig - gcc-10-lkftconfig-perf - gcc-10-lkftconfig-debug - gcc-10-lkftconfig-rcutorture Build error: ------------ make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' In file included from : mm/shmem.c: In function 'shmem_add_to_page_cache': include/linux/compiler_types.h:352:38: error: call to '__compiletime_assert_295' declared with attribute error: BUILD_BUG failed 352 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:333:4: note: in definition of macro '__compiletime_assert' 333 | prefix ## suffix(); \ | ^~~~~~ include/linux/compiler_types.h:352:2: note: in expansion of macro '_compiletime_assert' 352 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:59:21: note: in expansion of macro 'BUILD_BUG_ON_MSG' 59 | #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") | ^~~~~~~~~~~~~~~~ include/linux/vm_event_item.h:148:30: note: in expansion of macro 'BUILD_BUG' 148 | #define THP_FILE_FALLBACK ({ BUILD_BUG(); 0; }) | ^~~~~~~~~ mm/shmem.c:721:20: note: in expansion of macro 'THP_FILE_FALLBACK' 721 | count_vm_event(THP_FILE_FALLBACK); | ^~~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:288: mm/shmem.o] Error 1 make[2]: Target '__build' not remade because of errors. Reported-by: Linux Kernel Functional Testing Steps to reproduce: --------------------- # To install tuxmake on your system globally: # sudo pip3 install -U tuxmake tuxmake --runtime podman --target-arch arm --toolchain gcc-10 --kconfig https://builds.tuxbuild.com/28hlyiP2D23NEFj3GPtiLeUE2Qy/config Build link: https://builds.tuxbuild.com/28hlyiP2D23NEFj3GPtiLeUE2Qy/ -- Linaro LKFT https://lkft.linaro.org