lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 4 May 2022 23:13:43 +0530
From:   Naresh Kamboju <naresh.kamboju@...aro.org>
To:     open list <linux-kernel@...r.kernel.org>,
        Linux-Next Mailing List <linux-next@...r.kernel.org>,
        lkft-triage@...ts.linaro.org
Cc:     Stephen Rothwell <sfr@...b.auug.org.au>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Hugh Dickins <hughd@...gle.com>, Arnd Bergmann <arnd@...db.de>
Subject: [next] arm: include/linux/compiler_types.h:352:38: error: call to
 '__compiletime_assert_295' declared with attribute error: BUILD_BUG failed

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@...aro.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

Powered by blists - more mailing lists