* [next] arm: include/linux/compiler_types.h:352:38: error: call to '__compiletime_assert_295' declared with attribute error: BUILD_BUG failed
@ 2022-05-04 17:43 Naresh Kamboju
0 siblings, 0 replies; only message in thread
From: Naresh Kamboju @ 2022-05-04 17:43 UTC (permalink / raw)
To: open list, Linux-Next Mailing List, lkft-triage
Cc: Stephen Rothwell, Andrew Morton, Hugh Dickins, Arnd Bergmann
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 <command-line>:
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 <lkft@linaro.org>
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-04 18:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-04 17:43 [next] arm: include/linux/compiler_types.h:352:38: error: call to '__compiletime_assert_295' declared with attribute error: BUILD_BUG failed Naresh Kamboju
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).