Re: [norov:fns 7/19] include/linux/compiler_types.h:352:45: error: call to '__compiletime_assert_600' declared with attribute error: BUILD_BUG_ON failed: !__builtin_constant_p(res)
From: Yury Norov
Date: Thu Jun 23 2022 - 13:24:31 EST
On Thu, Jun 23, 2022 at 01:08:20PM +0200, Alexander Lobakin wrote:
> From: kernel test robot <lkp@xxxxxxxxx>
> Date: Thu, 23 Jun 2022 01:16:29 +0800
>
> Hi Yury,
>
> > tree: https://github.com/norov/linux fns
> > head: dc85542660535a9072c3b98819f4b80ff182b92a
> > commit: 2f52f0373b1a1bcf54a4aedc202518f6bed4c74f [7/19] lib: test_bitmap: add compile-time optimization/evaluations assertions
> > config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220623/202206230121.wlBiPZcR-lkp@xxxxxxxxx/config)
> > compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
> > reproduce (this is a W=1 build):
> > # https://github.com/norov/linux/commit/2f52f0373b1a1bcf54a4aedc202518f6bed4c74f
> > git remote add norov https://github.com/norov/linux
> > git fetch --no-tags norov fns
> > git checkout 2f52f0373b1a1bcf54a4aedc202518f6bed4c74f
> > # save the config file
> > mkdir build_dir && cp config build_dir/.config
> > make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
>
> Can't reproduce it at all on x86_64 with the attached config, were
> there any other changes maybe that could cause this?
This is my working branch, and it shouldn't be that loud. But
anyways...
There are some patches on top of your series. This is my
work-in-progress. If you think it's not relevant, please ignore
this.
Thanks,
Yury