# 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-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 32f648fac0c17215014a47f1cd5caaaa17d8abec # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64le_defconfig # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc64le_defconfig_powerpc-gcc5 # Build took: 0:02:14.480900