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>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 11 Nov 2020 12:49:52 +0100
From:   Ard Biesheuvel <ardb@...nel.org>
To:     Naresh Kamboju <naresh.kamboju@...aro.org>
Cc:     Linux ARM <linux-arm-kernel@...ts.infradead.org>,
        Linux-Next Mailing List <linux-next@...r.kernel.org>,
        open list <linux-kernel@...r.kernel.org>,
        linux-mm <linux-mm@...ck.org>, lkft-triage@...ts.linaro.org,
        ": Linus Walleij" <linus.walleij@...aro.org>,
        Arnd Bergmann <arnd@...db.de>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Masami Hiramatsu <mhiramat@...nel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>,
        Steven Rostedt <rostedt@...dmis.org>,
        Catalin Marinas <catalin.marinas@....com>,
        Will Deacon <will@...nel.org>, Mike Rapoport <rppt@...nel.org>,
        Anshuman Khandual <anshuman.khandual@....com>,
        Barry Song <song.bao.hua@...ilicon.com>,
        Roman Gushchin <guro@...com>,
        Kees Cook <keescook@...omium.org>,
        Masahiro Yamada <yamada.masahiro@...ionext.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))

On Wed, 11 Nov 2020 at 12:41, Naresh Kamboju <naresh.kamboju@...aro.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@...aro.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ