[next] arch/arm/kernel/setup.c:1028:63: error: 'SECTION_SIZE' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

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



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux