# git rev-parse -q --verify c2ee9f594da826bea183ed14f2cc029c719bf4da^{commit} c2ee9f594da826bea183ed14f2cc029c719bf4da already have revision, skipping fetch # git checkout -q -f -B kisskb c2ee9f594da826bea183ed14f2cc029c719bf4da # git clean -qxdf # < git log -1 # commit c2ee9f594da826bea183ed14f2cc029c719bf4da # Author: Mark Brown # Date: Mon Oct 21 23:11:40 2024 +0100 # # KVM: selftests: Fix build on on non-x86 architectures # # Commit 9a400068a158 ("KVM: selftests: x86: Avoid using SSE/AVX # instructions") unconditionally added -march=x86-64-v2 to the CFLAGS used # to build the KVM selftests which does not work on non-x86 architectures: # # cc1: error: unknown value ‘x86-64-v2’ for ‘-march’ # # Fix this by making the addition of this x86 specific command line flag # conditional on building for x86. # # Fixes: 9a400068a158 ("KVM: selftests: x86: Avoid using SSE/AVX instructions") # Signed-off-by: Mark Brown # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/riscv64-linux/bin/riscv64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/riscv64-linux/bin/riscv64-linux-ld --version # < git log --format=%s --max-count=1 c2ee9f594da826bea183ed14f2cc029c719bf4da # make -s -j 160 ARCH=riscv O=/kisskb/build/linus_defconfig_riscv-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/riscv64-linux/bin/riscv64-linux- defconfig # < make -s -j 160 ARCH=riscv O=/kisskb/build/linus_defconfig_riscv-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/riscv64-linux/bin/riscv64-linux- help # make -s -j 160 ARCH=riscv O=/kisskb/build/linus_defconfig_riscv-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/riscv64-linux/bin/riscv64-linux- olddefconfig # make -s -j 160 ARCH=riscv O=/kisskb/build/linus_defconfig_riscv-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/riscv64-linux/bin/riscv64-linux- Completed OK # rm -rf /kisskb/build/linus_defconfig_riscv-gcc13 # Build took: 0:03:38.066955