Buildresult: powerpc-next/mpc85xx_defconfig+KVM/powerpc-gcc9 built on Apr 4 2022, 01:59
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Apr 4 2022, 01:59
Duration:
0:02:07.591785
Builder:
ka2
Revision:
powerpc/64: Fix build failure with allyesconfig in book3s_64_entry.S (
af41d2866f7d75bbb38d487f6ec7770425d70e45)
Target:
powerpc-next/mpc85xx_defconfig+KVM/powerpc-gcc9
Branch:
powerpc-next
Compiler:
powerpc-gcc9
(powerpc64-linux-gcc (GCC) 9.2.0 / GNU ld (GNU Binutils) 2.32)
Config:
mpc85xx_defconfig+KVM
(
download
)
Log:
Download original
Possible errors
arch/powerpc/kvm/powerpc.c:716:8: error: implicit declaration of function 'kvmhv_on_pseries' [-Werror=implicit-function-declaration] cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:289: arch/powerpc/kvm/powerpc.o] Error 1 make[2]: *** [scripts/Makefile.build:551: arch/powerpc/kvm] Error 2 make[1]: *** [Makefile:1830: arch/powerpc] Error 2 make: *** [Makefile:219: __sub-make] Error 2
Possible warnings (3)
.config:4338:warning: override: reassigning to symbol PPC_E500MC .config:4339:warning: override: reassigning to symbol VIRTUALIZATION include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Full Log
# git rev-parse -q --verify af41d2866f7d75bbb38d487f6ec7770425d70e45^{commit} af41d2866f7d75bbb38d487f6ec7770425d70e45 already have revision, skipping fetch # git checkout -q -f -B kisskb af41d2866f7d75bbb38d487f6ec7770425d70e45 # git clean -qxdf # < git log -1 # commit af41d2866f7d75bbb38d487f6ec7770425d70e45 # Author: Christophe Leroy <christophe.leroy@csgroup.eu> # Date: Sun Mar 27 09:32:26 2022 +0200 # # powerpc/64: Fix build failure with allyesconfig in book3s_64_entry.S # # Using conditional branches between two files is hasardous, # they may get linked too far from each other. # # arch/powerpc/kvm/book3s_64_entry.o:(.text+0x3ec): relocation truncated # to fit: R_PPC64_REL14 (stub) against symbol `system_reset_common' # defined in .text section in arch/powerpc/kernel/head_64.o # # Reorganise the code to use non conditional branches. # # Fixes: 89d35b239101 ("KVM: PPC: Book3S HV P9: Implement the rest of the P9 path in C") # Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> # [mpe: Avoid odd-looking bne ., use named local labels] # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/89cf27bf43ee07a0b2879b9e8e2f5cd6386a3645.1648366338.git.christophe.leroy@csgroup.eu # < /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 af41d2866f7d75bbb38d487f6ec7770425d70e45 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # Added to kconfig CONFIG_PPC_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4338:warning: override: reassigning to symbol PPC_E500MC .config:4339:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kvm/powerpc.c: In function 'kvm_vm_ioctl_check_extension': /kisskb/src/arch/powerpc/kvm/powerpc.c:716:8: error: implicit declaration of function 'kvmhv_on_pseries' [-Werror=implicit-function-declaration] 716 | if (kvmhv_on_pseries()) { | ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:289: arch/powerpc/kvm/powerpc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:551: arch/powerpc/kvm] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1830: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/build_bug.h:5, from /kisskb/src/include/linux/container_of.h:5, from /kisskb/src/include/linux/list.h:5, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 22 | #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) | ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' 139 | if (IS_ERR_VALUE(fep->ring_mem_addr)) | ^~~~~~~~~~~~ make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 # Build took: 0:02:07.591785
© Michael Ellerman 2006-2018.