parisc: stacktrace.c:25:21: error: implicit declaration of function '__kernel_text_address'

From: Naresh Kamboju <hidden>
Date: 2021-11-05 12:00:23
Also in: lkml

[Please ignore this email if it is already reported ]

Regression found on parisc gcc-8/9/10 and gcc-11 built with defconfig
Following build warnings / errors reported on linux next 20211105.

metadata:
    git_describe: next-20211105
    git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
    git_short_log: b477ae38e815 (\"Add linux-next specific files for 20211105\")
    target_arch: parisc
    toolchain: gcc-11

build error :
--------------
<stdin>:1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp]
arch/parisc/kernel/stacktrace.c: In function 'walk_stackframe':
arch/parisc/kernel/stacktrace.c:25:21: error: implicit declaration of
function '__kernel_text_address'
[-Werror=implicit-function-declaration]
   25 |                 if (__kernel_text_address(info.ip))
      |                     ^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:288:
arch/parisc/kernel/stacktrace.o] Error 1

Reported-by: Linux Kernel Functional Testing <redacted>

build link:
-----------
https://builds.tuxbuild.com/20U3L7IKgdLoEJQrfGdwlmczMDy/build.log

build config:
-------------
https://builds.tuxbuild.com/20U3L7IKgdLoEJQrfGdwlmczMDy/config

# To install tuxmake on your system globally
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch parisc --toolchain gcc-11
--kconfig defconfig


--
Linaro LKFT
https://lkft.linaro.org
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help