# git rev-parse -q --verify 32f648fac0c17215014a47f1cd5caaaa17d8abec^{commit} 32f648fac0c17215014a47f1cd5caaaa17d8abec already have revision, skipping fetch # git checkout -q -f -B kisskb 32f648fac0c17215014a47f1cd5caaaa17d8abec # git clean -qxdf # < git log -1 # commit 32f648fac0c17215014a47f1cd5caaaa17d8abec # Author: Michael Ellerman # Date: Thu Oct 27 17:08:21 2022 +1100 # # powerpc/64e: Fix amdgpu build on Book3E w/o AltiVec # # There's a build failure for Book3E without AltiVec: # Error: cc1: error: AltiVec not supported in this target # make[6]: *** [/linux/scripts/Makefile.build:250: # drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_mode_lib.o] Error 1 # # This happens because the amdgpu build is only gated by # PPC_LONG_DOUBLE_128, but that symbol can be enabled even though AltiVec # is disabled. # # The only user of PPC_LONG_DOUBLE_128 is amdgpu, so just add a dependency # on AltiVec to that symbol to fix the build. # # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20221027125626.1383092-1-mpe@ellerman.id.au # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-ld --version # < git log --format=%s --max-count=1 32f648fac0c17215014a47f1cd5caaaa17d8abec # < make -s -j 160 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- defconfig # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig # < make -s -j 160 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- help # make -s -j 160 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- olddefconfig # make -s -j 160 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- In function 'setup_lowcore_dat_on', inlined from 'setup_arch' at /kisskb/src/arch/s390/kernel/setup.c:1059:2: /kisskb/src/arch/s390/kernel/setup.c:524:9: warning: 'memcpy' offset [0, 127] is out of the bounds [0, 0] [-Warray-bounds] 524 | memcpy(abs_lc->cregs_save_area, S390_lowcore.cregs_save_area, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 525 | sizeof(abs_lc->cregs_save_area)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc11 # Build took: 0:02:51.057836