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:   Sat, 29 Jan 2022 14:07:10 +1100
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Naresh Kamboju <naresh.kamboju@...aro.org>
Cc:     open list <linux-kernel@...r.kernel.org>,
        Linux-Next Mailing List <linux-next@...r.kernel.org>,
        lkft-triage@...ts.linaro.org, regressions@...ts.linux.dev,
        Linux ARM <linux-arm-kernel@...ts.infradead.org>,
        rmk+kernel@...linux.org.uk, Borislav Petkov <bp@...en8.de>,
        Catalin Marinas <catalin.marinas@....com>,
        Dave Hansen <dave.hansen@...ux.intel.com>,
        Russell King <linux@...linux.org.uk>,
        Thomas Gleixner <tglx@...utronix.de>,
        Will Deacon <will@...nel.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Jisheng Zhang <jszhang@...nel.org>
Subject: Re: [next] arch/arm/kernel/setup.c:1028:63: error: 'SECTION_SIZE'
 undeclared

Hi all,

On Fri, 28 Jan 2022 20:51:53 +0530 Naresh Kamboju <naresh.kamboju@...aro.org> wrote:
>
> Following build errors noticed on Linux next 20220128 arm with tinyconfig.
> 
> make --silent --keep-going --jobs=8 \
>    ARCH=arm \
>    CROSS_COMPILE=arm-linux-gnueabihf- \
>    'CC=sccache arm-linux-gnueabihf-gcc' \
>    'HOSTCC=sccache gcc'
> 
> arch/arm/kernel/setup.c: In function 'reserve_crashkernel':
> arch/arm/kernel/setup.c:1028:63: error: 'SECTION_SIZE' undeclared
> (first use in this function); did you mean 'SECTIONS_SHIFT'?
>  1028 |                 start = memblock_phys_alloc_range(crash_size,
> SECTION_SIZE,
>       |
> ^~~~~~~~~~~~
>       |
> SECTIONS_SHIFT
> arch/arm/kernel/setup.c:1028:63: note: each undeclared identifier is
> reported only once for each function it appears in
> make[3]: *** [scripts/Makefile.build:289: arch/arm/kernel/setup.o] Error 1
> 
> 
> Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
> 
> meta data:
> -----------
>     git describe: next-20220128
>     git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>     git_sha: b605fdc54c2b28c30ef06d9db99282d8a32ae4be
>     target_arch: arm
>     kconfig: tinyconfig
>     toolchain: gcc-11
> 
> Build log:
> -------------
> https://builds.tuxbuild.com/24JPvTrXx7HvkQtxoIXqZtZoZkA/
> 
> Steps to reproduce:
> --------------------
> # To install tuxmake on your system globally:
> # sudo pip3 install -U tuxmake
> #
> # See https://docs.tuxmake.org/ for complete documentation.
> # Original tuxmake command with fragments listed below.
> 
> tuxmake --runtime podman --target-arch arm --toolchain gcc-11
> --kconfig tinyconfig
> 
> --
> Linaro LKFT
> https://lkft.linaro.org

Caused by commit

  35f56ebeffca ("arm: use IS_ENABLED(CONFIG_KEXEC_CORE) instead of #ifdef")

from Andrew's patch series.

I assume CONFIG_MMU is not set in tinyconfig for arm (so neither of
asm/pgtable-[23]level.h are included by asm/pgtable.h)?  CONFIG_KEXEC
depends on CONFIG_MMU.
-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ