2022-04-25 14:27:06

by Naresh Kamboju

[permalink] [raw]
Subject: page_alloc.c:(.init.text+0xa7c): undefined reference to `vmalloc_huge'

Linux mainline arm architecture tinyconfig and allnoconfig builds failed.
These builds have config mmu not set.

# CONFIG_MMU is not set


Regressions found on arm:

- arm-clang-14-tinyconfig
- arm-clang-nightly-tinyconfig
- arm-gcc-11-tinyconfig
- arm-clang-13-tinyconfig
- arm-gcc-11-allnoconfig
- arm-clang-14-allnoconfig
- arm-clang-nightly-allnoconfig
- arm-gcc-8-allnoconfig
- arm-clang-11-allnoconfig
- arm-clang-11-tinyconfig
- arm-gcc-9-allnoconfig
- arm-gcc-9-tinyconfig
- arm-gcc-10-allnoconfig
- arm-gcc-8-tinyconfig
- arm-gcc-10-tinyconfig
- arm-clang-12-allnoconfig
- arm-clang-12-tinyconfig
- arm-clang-13-allnoconfig


Build error:
------------
arm-linux-gnueabihf-ld: mm/page_alloc.o: in function `alloc_large_system_hash':
page_alloc.c:(.init.text+0xa7c): undefined reference to `vmalloc_huge'
make[1]: *** [Makefile:1158: vmlinux] Error 1


# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake

tuxmake --runtime podman --target-arch arm --toolchain gcc-11
--kconfig tinyconfig


Reported-by: Linux Kernel Functional Testing <[email protected]>


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

[1] https://builds.tuxbuild.com/28GNGapkjXsbIbRSnHoGILqmaFp/