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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79C29C433F5 for ; Wed, 4 May 2022 18:18:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376973AbiEDSVs (ORCPT ); Wed, 4 May 2022 14:21:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376959AbiEDSVc (ORCPT ); Wed, 4 May 2022 14:21:32 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B08E9137F for ; Wed, 4 May 2022 10:43:56 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id y76so3668598ybe.1 for ; Wed, 04 May 2022 10:43:56 -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=Q4eXnKz7NUop4y/BlMytupgkDSS41yfalsvWUP89sy12MPXmxDYB1TiPFPPeP8o54W WAzGZpoxsaqYuRpFaajBR3wpNGmepsKK3EGFPPh3LfQFE0s5/5kQNetNs8l9HkqUnvXN +rO1IDHkGxRQAaeBuxy9vepbOoZeApzyXJ7QKKhzual1FLxiiqT4DcV+IvUjk+hyAiur 3viRg/nA1ve0IZ4PPzBFOE9SrhFyB7A4v+chJK5O+3wuZcJk3IIgfU3X1PhFlzyRE5u6 cBvbJspA16CWl5u9I1WStw4n87XljZ4ovZ91p/23kMuLIH95ZB2qwziM5uhralAqNtgi 4oIQ== X-Gm-Message-State: AOAM532ZV8YZ0y9O85SScrTjPzRPgwXF++sZYbtVK0Z8THZL+gc3jx+9 CxmL7pwlD/3rITxgVYKhJ3YuTh/dUeIUEwyuAeIMAw== X-Google-Smtp-Source: ABdhPJzLe2h1An4Fs9MeIuSmoDbxLHlp73p6tTRs2p/M7zbc6blBeZDp8hE9uOb5Up99bp6rqfPv7sjz7KWrQFaTYFk= 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" Precedence: bulk List-ID: X-Mailing-List: linux-next@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