riscv32: mm/init.c:1495:11: error: use of undeclared identifier 'MODULES_VADDR'

From: Naresh Kamboju
Date: Fri Apr 26 2024 - 11:39:12 EST


The Linux next today's tag next-20240426 riscv32 builds failed due to following
build warnings / errors.

riscv32:
- rv32-clang-18-defconfig
- rv32-clang-18-allnoconfig
- rv32-clang-18-tinyconfig

Build log:
----
arch/riscv/mm/init.c:1495:11: error: use of undeclared identifier
'MODULES_VADDR'
1495 | start = MODULES_VADDR;
| ^
arch/riscv/mm/init.c:1496:9: error: use of undeclared identifier 'MODULES_END'
1496 | end = MODULES_END;
| ^
2 errors generated.

metadata:
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_sha: bb7a2467e6beef44a80a17d45ebf2931e7631083
git_short_log: bb7a2467e6be ("Add linux-next specific files for 20240426")
git_describe: next-20240426

steps to reproduce:
# tuxmake --runtime podman --target-arch riscv --toolchain clang-18
--kconfig defconfig --kconfig-add rv32_defconfig LLVM=1

Links:
- https://storage.tuxsuite.com/public/linaro/lkft/builds/2fdCURo2mABucb6hDzrLnPoTWMx/
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240426/testrun/23674184/suite/build/test/rv32-clang-18-defconfig/details/

--
Linaro LKFT
https://lkft.linaro.org