# 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-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 32f648fac0c17215014a47f1cd5caaaa17d8abec # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_KVM_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # Added to kconfig CONFIG_KVM_BOOK3S_64=n # Added to kconfig CONFIG_KVM=n # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_KVM_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_KVM_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_KVM_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: div64.o: missing .note.GNU-stack section implies executable stack /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: arch/powerpc/boot/dtbImage.ps3 has a LOAD segment with RWX permissions /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: opal-calls.o: missing .note.GNU-stack section implies executable stack /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: arch/powerpc/boot/zImage.epapr has a LOAD segment with RWX permissions /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: opal-calls.o: missing .note.GNU-stack section implies executable stack /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: arch/powerpc/boot/zImage.pmac has a LOAD segment with RWX permissions /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: opal-calls.o: missing .note.GNU-stack section implies executable stack /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: arch/powerpc/boot/zImage.pseries has a LOAD segment with RWX permissions /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: opal-calls.o: missing .note.GNU-stack section implies executable stack /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: arch/powerpc/boot/zImage.maple has a LOAD segment with RWX permissions Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc64_defconfig+NO_KVM_powerpc-gcc12 # Build took: 0:02:47.699971