linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ardb@kernel.org>
To: Naresh Kamboju <naresh.kamboju@linaro.org>
Cc: Linux ARM <linux-arm-kernel@lists.infradead.org>,
	 Linux-Next Mailing List <linux-next@vger.kernel.org>,
	open list <linux-kernel@vger.kernel.org>,
	 linux-mm <linux-mm@kvack.org>,
	lkft-triage@lists.linaro.org,
	 ": Linus Walleij" <linus.walleij@linaro.org>,
	Arnd Bergmann <arnd@arndb.de>,
	 Andrew Morton <akpm@linux-foundation.org>,
	Masami Hiramatsu <mhiramat@kernel.org>,
	 Stephen Rothwell <sfr@canb.auug.org.au>,
	Steven Rostedt <rostedt@goodmis.org>,
	 Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will@kernel.org>,  Mike Rapoport <rppt@kernel.org>,
	Anshuman Khandual <anshuman.khandual@arm.com>,
	 Barry Song <song.bao.hua@hisilicon.com>,
	Roman Gushchin <guro@fb.com>,  Kees Cook <keescook@chromium.org>,
	Masahiro Yamada <yamada.masahiro@socionext.com>
Subject: Re: arm64: tinyconfig: compiler_types.h:326:38: error: call to '__compiletime_assert_382' declared with attribute error: BUILD_BUG_ON failed: !is_power_of_2(sizeof(struct page))
Date: Wed, 11 Nov 2020 12:49:52 +0100	[thread overview]
Message-ID: <CAMj1kXG4BZCSvX-tW3qCM+ZMbarxc3Dyjr4u+NhOLZZwdB+OCw@mail.gmail.com> (raw)
In-Reply-To: <CA+G9fYv7qiVPQZ5RUF4e0o+ZWnotrHBZ6hyTs2FPkQb=PRHwWw@mail.gmail.com>

On Wed, 11 Nov 2020 at 12:41, Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
>
> FYI,
> Linux next tag 20201111 arm64 tinyconfig build failed due to below error(s).
> tinyconfig arm64 build test failed with gcc-8, gcc-9 and gcc-10.
> config file attached to this email.
>
> Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
>

Thanks Naresh. This will be fixed shortly.

> make  -j16  ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
>
> arch/arm64/mm/init.c: In function 'mem_init':
> include/linux/compiler_types.h:326:38: error: call to
> '__compiletime_assert_382' declared with attribute error: BUILD_BUG_ON
> failed: !is_power_of_2(sizeof(struct page))
>   _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
>                                       ^
> include/linux/compiler_types.h:307:4: note: in definition of macro
> '__compiletime_assert'
>     prefix ## suffix();    \
>     ^~~~~~
> include/linux/compiler_types.h:326:2: note: in expansion of macro
> '_compiletime_assert'
>   _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
>   ^~~~~~~~~~~~~~~~~~~
> include/linux/build_bug.h:39:37: note: in expansion of macro
> 'compiletime_assert'
>  #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
>                                      ^~~~~~~~~~~~~~~~~~
> include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
>   BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
>   ^~~~~~~~~~~~~~~~
> arch/arm64/mm/init.c:443:2: note: in expansion of macro 'BUILD_BUG_ON'
>   BUILD_BUG_ON(!is_power_of_2(sizeof(struct page)));
>   ^~~~~~~~~~~~
> make[3]: *** [scripts/Makefile.build:284: arch/arm64/mm/init.o] Error 1
> make[3]: Target '__build' not remade because of errors.
>
>
> Build details:
>     kconfig: tinyconfig
>     git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
>     target_arch: arm64
>     toolchain: gcc-9
>     git_short_log: 3e14f70c05cd (\Add linux-next specific files for 20201111\)
>     git_describe: next-20201111
>     build link: https://builds.tuxbuild.com/1k8NvVvTvJrxp6CsgUXoZJZXzFy/
>
>
> --
> Linaro LKFT
> https://lkft.linaro.org


      reply	other threads:[~2020-11-11 11:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-11 11:41 Naresh Kamboju
2020-11-11 11:49 ` Ard Biesheuvel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMj1kXG4BZCSvX-tW3qCM+ZMbarxc3Dyjr4u+NhOLZZwdB+OCw@mail.gmail.com \
    --to=ardb@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=anshuman.khandual@arm.com \
    --cc=arnd@arndb.de \
    --cc=catalin.marinas@arm.com \
    --cc=guro@fb.com \
    --cc=keescook@chromium.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-next@vger.kernel.org \
    --cc=lkft-triage@lists.linaro.org \
    --cc=mhiramat@kernel.org \
    --cc=naresh.kamboju@linaro.org \
    --cc=rostedt@goodmis.org \
    --cc=rppt@kernel.org \
    --cc=sfr@canb.auug.org.au \
    --cc=song.bao.hua@hisilicon.com \
    --cc=will@kernel.org \
    --cc=yamada.masahiro@socionext.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox