# 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-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 c2ee9f594da826bea183ed14f2cc029c719bf4da # make -s -j 160 ARCH=x86_64 O=/kisskb/build/linus_allnoconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- allnoconfig # < make -s -j 160 ARCH=x86_64 O=/kisskb/build/linus_allnoconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 160 ARCH=x86_64 O=/kisskb/build/linus_allnoconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 160 ARCH=x86_64 O=/kisskb/build/linus_allnoconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/linus_allnoconfig_x86_64-gcc8 # Build took: 0:01:23.949869