All of lore.kernel.org
 help / color / mirror / Atom feed
* [next] arch/arm/kernel/setup.c:1028:63: error: 'SECTION_SIZE' undeclared
@ 2022-01-28 15:21 ` Naresh Kamboju
  0 siblings, 0 replies; 4+ messages in thread
From: Naresh Kamboju @ 2022-01-28 15:21 UTC (permalink / raw)
  To: open list, Linux-Next Mailing List, lkft-triage, regressions, Linux ARM
  Cc: Stephen Rothwell, rmk+kernel, Borislav Petkov, Catalin Marinas,
	Dave Hansen, Russell King, Thomas Gleixner, Will Deacon,
	Andrew Morton

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [next] arch/arm/kernel/setup.c:1028:63: error: 'SECTION_SIZE' undeclared
@ 2022-01-28 15:21 ` Naresh Kamboju
  0 siblings, 0 replies; 4+ messages in thread
From: Naresh Kamboju @ 2022-01-28 15:21 UTC (permalink / raw)
  To: open list, Linux-Next Mailing List, lkft-triage, regressions, Linux ARM
  Cc: Stephen Rothwell, rmk+kernel, Borislav Petkov, Catalin Marinas,
	Dave Hansen, Russell King, Thomas Gleixner, Will Deacon,
	Andrew Morton

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [next] arch/arm/kernel/setup.c:1028:63: error: 'SECTION_SIZE' undeclared
  2022-01-28 15:21 ` Naresh Kamboju
@ 2022-01-29  3:07   ` Stephen Rothwell
  -1 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2022-01-29  3:07 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: open list, Linux-Next Mailing List, lkft-triage, regressions,
	Linux ARM, rmk+kernel, Borislav Petkov, Catalin Marinas,
	Dave Hansen, Russell King, Thomas Gleixner, Will Deacon,
	Andrew Morton, Jisheng Zhang

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [next] arch/arm/kernel/setup.c:1028:63: error: 'SECTION_SIZE' undeclared
@ 2022-01-29  3:07   ` Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2022-01-29  3:07 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: open list, Linux-Next Mailing List, lkft-triage, regressions,
	Linux ARM, rmk+kernel, Borislav Petkov, Catalin Marinas,
	Dave Hansen, Russell King, Thomas Gleixner, Will Deacon,
	Andrew Morton, Jisheng Zhang


[-- Attachment #1.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 #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-29  3:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-28 15:21 [next] arch/arm/kernel/setup.c:1028:63: error: 'SECTION_SIZE' undeclared Naresh Kamboju
2022-01-28 15:21 ` Naresh Kamboju
2022-01-29  3:07 ` Stephen Rothwell
2022-01-29  3:07   ` Stephen Rothwell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.