# 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/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 c2ee9f594da826bea183ed14f2cc029c719bf4da # make -s -j 24 ARCH=sh O=/kisskb/build/linus_allnoconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- allnoconfig # < make -s -j 24 ARCH=sh O=/kisskb/build/linus_allnoconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 24 ARCH=sh O=/kisskb/build/linus_allnoconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 24 ARCH=sh O=/kisskb/build/linus_allnoconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/kernel/fork.c: In function '__do_sys_clone3': /kisskb/src/kernel/fork.c:3075:2: warning: #warning clone3() entry point is missing, please fix [-Wcpp] 3075 | #warning clone3() entry point is missing, please fix | ^~~~~~~ Kernel: arch/sh/boot/zImage is ready Completed OK # rm -rf /kisskb/build/linus_allnoconfig_sh4-gcc13 # Build took: 0:00:45.470321