# git rev-parse -q --verify b2d7ecbe355698010a6b7a15eb179e09eb3d6a34^{commit} b2d7ecbe355698010a6b7a15eb179e09eb3d6a34 already have revision, skipping fetch # git checkout -q -f -B kisskb b2d7ecbe355698010a6b7a15eb179e09eb3d6a34 # git clean -qxdf # < git log -1 # commit b2d7ecbe355698010a6b7a15eb179e09eb3d6a34 # Author: Laurentiu Tudor # Date: Thu Apr 26 15:33:19 2018 +0300 # # powerpc/kvm/booke: Fix altivec related build break # # Add missing "altivec unavailable" interrupt injection helper # thus fixing the linker error below: # # arch/powerpc/kvm/emulate_loadstore.o: In function `kvmppc_check_altivec_disabled': # arch/powerpc/kvm/emulate_loadstore.c: undefined reference to `.kvmppc_core_queue_vec_unavail' # # Fixes: 09f984961c137c4b ("KVM: PPC: Book3S: Add MMIO emulation for VMX instructions") # Signed-off-by: Laurentiu Tudor # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 b2d7ecbe355698010a6b7a15eb179e09eb3d6a34 # < make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- randconfig KCONFIG_SEED=0xABF86788 # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig # yes \n | make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1268:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1819:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2497:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/bridge/br_netlink.c: In function 'br_process_vlan_info.isra.26': /kisskb/src/net/bridge/br_netlink.c:577:10: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma-buf/reservation.c: In function 'reservation_object_add_shared_replace': /kisskb/src/drivers/dma-buf/reservation.c:207:2: warning: 'k' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma-buf/reservation.c:210:7: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c: In function 'amdgpu_set_pp_od_clk_voltage': /kisskb/src/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:414:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] WARNING: vmlinux.o(.text+0x303ac): Section mismatch in reference from the function .fsl_add_bridge() to the function .init.text:.setup_pci_cmd() The function .fsl_add_bridge() references the function __init .setup_pci_cmd(). This is often because .fsl_add_bridge lacks a __init annotation or the annotation of .setup_pci_cmd is wrong. WARNING: 4 bad relocations c000000000017726 R_PPC64_ADDR16_HIGHEST .head.text+0x0000000000017740 c00000000001772a R_PPC64_ADDR16_HIGHER .head.text+0x0000000000017740 c000000000017732 R_PPC64_ADDR16_HI .head.text+0x0000000000017740 c000000000017736 R_PPC64_ADDR16_LO .head.text+0x0000000000017740 Completed OK # rm -rf /kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc # Build took: 0:01:43.799175