2022-04-02 12:29:07

by Naresh Kamboju

[permalink] [raw]
Subject: [next] arm64: builds failed - stacktrace.c:(.text+0x55c): undefined reference to `arch_stack_walk_shadow'

Linux next-20220401 arm64 builds failed due to below warnings / erros [1].

Regressions found on arm64:
- arm64-gcc-11-lkftconfig-kunit
- arm64-clang-12-lkftconfig
- arm64-gcc-11-lkftconfig-kselftest
- arm64-gcc-11-lkftconfig-rcutorture
- arm64-gcc-11-lkftconfig-kasan
- arm64-gcc-11-lkftconfig-armv8_features
- arm64-gcc-11-lkftconfig
- arm64-clang-13-lkftconfig
- arm64-gcc-11-lkftconfig-perf
- arm64-clang-14-lkftconfig
- arm64-gcc-11-lkftconfig-debug
- arm64-gcc-11-lkftconfig-devicetree
- arm64-gcc-11-lkftconfig-64k_page_size
- arm64-gcc-11-lkftconfig-debug-kmemleak
- arm64-clang-nightly-lkftconfig
- arm64-gcc-11-lkftconfig-libgpiod

aarch64-linux-gnu-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-gnu-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-gnu-ld: Entry trampoline text too big
aarch64-linux-gnu-ld: kernel/stacktrace.o: in function
`stack_trace_save_shadow':
stacktrace.c:(.text+0x55c): undefined reference to `arch_stack_walk_shadow'
make[1]: *** [/builds/linux/Makefile:1250: vmlinux] Error 1

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

metadata:
git_ref: master
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_sha: e5071887cd2296a7704dbcd10c1cedf0f11cdbd5
git_describe: next-20220401
kernel-config: https://builds.tuxbuild.com/27BBxWVk7aUyuYUrHdX9sgzoz3h/config

steps to reproduce:

# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch arm64 --toolchain gcc-11
--kconfig https://builds.tuxbuild.com/27BBxWVk7aUyuYUrHdX9sgzoz3h/config


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

[1] https://builds.tuxbuild.com/27BBxWVk7aUyuYUrHdX9sgzoz3h/