[stable-rc 5.4] powerpc/sstep: Fix incorrect return from analyze_instr()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On stable rc 5.10 the ppc defconfig build failed due to below errors/warnings.

make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=powerpc
CROSS_COMPILE=powerpc64le-linux-gnu- 'CC=sccache
powerpc64le-linux-gnu-gcc' 'HOSTCC=sccache gcc'
arch/powerpc/lib/sstep.c: In function 'analyse_instr':
arch/powerpc/lib/sstep.c:1415:3: error: label 'unknown_opcode' used
but not defined
   goto unknown_opcode;
   ^~~~
make[3]: *** [scripts/Makefile.build:279: arch/powerpc/lib/sstep.o] Error 1
make[3]: Target '__build' not remade because of errors.


Reported-by: Naresh Kamboju <naresh.kamboju@xxxxxxxxxx>

ref:
https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/jobs/1064185056#L114
https://builds.tuxbuild.com/1pAHVbKxYMdzVk0M9veau5gvF3E/build.log

Steps to reproduce:
---------------------
# TuxMake is a command line tool and Python library that provides
# portable and repeatable Linux kernel builds across a variety of
# architectures, toolchains, kernel configurations, and make targets.
#
# TuxMake supports the concept of runtimes.
# See https://docs.tuxmake.org/runtimes/, for that to work it requires
# that you install podman or docker on your system.
#
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.

tuxmake --runtime podman --target-arch powerpc --toolchain gcc-9
--kconfig defconfig

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



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux