Buildresult: powerpc-fixes/powernv_defconfig+STRICT_RWX/powerpc-gcc9 built on Mar 10 2022, 22:22
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Mar 10 2022, 22:22
Duration:
0:01:20.822302
Builder:
ka4
Revision:
powerpc: Fix STACKTRACE=n build (
48015b632f770c401f3816f144499a39f2884677)
Target:
powerpc-fixes/powernv_defconfig+STRICT_RWX/powerpc-gcc9
Branch:
powerpc-fixes
Compiler:
powerpc-gcc9
(powerpc64-linux-gcc (GCC) 9.2.0 / GNU ld (GNU Binutils) 2.32)
Config:
powernv_defconfig+STRICT_RWX
(
download
)
Log:
Download original
Possible warnings (1)
.config:4091:warning: override: reassigning to symbol RELOCATABLE
Full Log
# git rev-parse -q --verify 48015b632f770c401f3816f144499a39f2884677^{commit} 48015b632f770c401f3816f144499a39f2884677 already have revision, skipping fetch # git checkout -q -f -B kisskb 48015b632f770c401f3816f144499a39f2884677 # git clean -qxdf # < git log -1 # commit 48015b632f770c401f3816f144499a39f2884677 # Author: Michael Ellerman <mpe@ellerman.id.au> # Date: Fri Feb 11 17:32:37 2022 +1100 # # powerpc: Fix STACKTRACE=n build # # Our skiroot_defconfig doesn't enable FTRACE, and so doesn't get # STACKTRACE enabled either. That leads to a build failure since commit # 1614b2b11fab ("arch: Make ARCH_STACKWALK independent of STACKTRACE") # made stacktrace.c build even when STACKTRACE=n. # # arch/powerpc/kernel/stacktrace.c: In function ‘handle_backtrace_ipi’: # arch/powerpc/kernel/stacktrace.c:171:2: error: implicit declaration of function ‘nmi_cpu_backtrace’ # 171 | nmi_cpu_backtrace(regs); # | ^~~~~~~~~~~~~~~~~ # arch/powerpc/kernel/stacktrace.c: In function ‘arch_trigger_cpumask_backtrace’: # arch/powerpc/kernel/stacktrace.c:226:2: error: implicit declaration of function ‘nmi_trigger_cpumask_backtrace’ # 226 | nmi_trigger_cpumask_backtrace(mask, exclude_self, raise_backtrace_ipi); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # This happens because our headers haven't defined # arch_trigger_cpumask_backtrace, which causes lib/nmi_backtrace.c not to # build nmi_cpu_backtrace(). # # The code in question doesn't actually depend on STACKTRACE=y, that was # just added because arch_trigger_cpumask_backtrace() lived in # stacktrace.c for convenience. So drop the dependency on # CONFIG_STACKTRACE, that causes lib/nmi_backtrace.c to build # nmi_cpu_backtrace() etc. and fixes the build. # # Fixes: 1614b2b11fab ("arch: Make ARCH_STACKWALK independent of STACKTRACE") # [mpe: Cherry pick of 5a72345e6a78 from next into fixes] # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/20220212111349.2806972-1-mpe@ellerman.id.au # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 48015b632f770c401f3816f144499a39f2884677 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # Added to kconfig CONFIG_RELOCATABLE=n # Added to kconfig CONFIG_STRICT_KERNEL_RWX=y # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4091:warning: override: reassigning to symbol RELOCATABLE # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc9 # Build took: 0:01:20.822302
© Michael Ellerman 2006-2018.