From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Naresh Kamboju <naresh.kamboju@linaro•org>
Cc: open list <linux-kernel@vger•kernel.org>,
Linux-Next Mailing List <linux-next@vger•kernel.org>,
lkft-triage@lists•linaro.org, regressions@lists•linux.dev,
Linux ARM <linux-arm-kernel@lists•infradead.org>,
rmk+kernel@armlinux•org.uk, Borislav Petkov <bp@alien8•de>,
Catalin Marinas <catalin.marinas@arm•com>,
Dave Hansen <dave.hansen@linux•intel.com>,
Russell King <linux@armlinux•org.uk>,
Thomas Gleixner <tglx@linutronix•de>,
Will Deacon <will@kernel•org>,
Andrew Morton <akpm@linux-foundation•org>,
Jisheng Zhang <jszhang@kernel•org>
Subject: Re: [next] arch/arm/kernel/setup.c:1028:63: error: 'SECTION_SIZE' undeclared
Date: Sat, 29 Jan 2022 14:07:10 +1100 [thread overview]
Message-ID: <20220129140710.1ef9f9a5@canb.auug.org.au> (raw)
In-Reply-To: <CA+G9fYvxxc4o5UjRfHVgmcaTN1ijxXX8e=OTP4t7PbRENmVBsQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2094 bytes --]
Hi all,
On Fri, 28 Jan 2022 20:51:53 +0530 Naresh Kamboju <naresh.kamboju@linaro•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@linaro•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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2022-01-29 3:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-28 15:21 [next] arch/arm/kernel/setup.c:1028:63: error: 'SECTION_SIZE' undeclared Naresh Kamboju
2022-01-29 3:07 ` Stephen Rothwell [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=20220129140710.1ef9f9a5@canb.auug.org.au \
--to=sfr@canb$(echo .)auug.org.au \
--cc=akpm@linux-foundation$(echo .)org \
--cc=bp@alien8$(echo .)de \
--cc=catalin.marinas@arm$(echo .)com \
--cc=dave.hansen@linux$(echo .)intel.com \
--cc=jszhang@kernel$(echo .)org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=linux@armlinux$(echo .)org.uk \
--cc=lkft-triage@lists$(echo .)linaro.org \
--cc=naresh.kamboju@linaro$(echo .)org \
--cc=regressions@lists$(echo .)linux.dev \
--cc=rmk+kernel@armlinux$(echo .)org.uk \
--cc=tglx@linutronix$(echo .)de \
--cc=will@kernel$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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