# git rev-parse -q --verify 89abbf6426992cb4e73bcaf4af0b756d454264a6^{commit} 89abbf6426992cb4e73bcaf4af0b756d454264a6 already have revision, skipping fetch # git checkout -q -f -B kisskb 89abbf6426992cb4e73bcaf4af0b756d454264a6 # git clean -qxdf # < git log -1 # commit 89abbf6426992cb4e73bcaf4af0b756d454264a6 # Author: Ariel Marcovitch # Date: Sun Aug 22 22:22:03 2021 +0300 # # checkkconfigsymbols.py: Forbid passing 'HEAD' to --commit # # As opposed to the --diff option, --commit can get ref names instead of # commit hashes. # # When using the --commit option, the script resets the working directory # to the commit before the given ref, by adding '~' to the end of the ref. # # However, the 'HEAD' ref is relative, and so when the working directory # is reset to 'HEAD~', 'HEAD' points to what was 'HEAD~'. Then when the # script resets to 'HEAD' it actually stays in the same commit. In this # case, the script won't report any cases because there is no diff between # the cases of the two refs. # # Prevent the user from using HEAD refs. # # A better solution might be to resolve the refs before doing the # reset, but for now just disallow such refs. # # Signed-off-by: Ariel Marcovitch # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 89abbf6426992cb4e73bcaf4af0b756d454264a6 # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/kbuild_x86_64-allnoconfig_x86_64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux- allnoconfig # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/kbuild_x86_64-allnoconfig_x86_64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86_64 O=/kisskb/build/kbuild_x86_64-allnoconfig_x86_64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 32 ARCH=x86_64 O=/kisskb/build/kbuild_x86_64-allnoconfig_x86_64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux- make[2]: *** No rule to make target 'scripts/mod/empty.o', needed by '__build'. Stop. make[1]: *** [/kisskb/src/Makefile:1209: prepare0] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=x86_64 O=/kisskb/build/kbuild_x86_64-allnoconfig_x86_64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/kbuild_x86_64-allnoconfig_x86_64-gcc4.9 # Build took: 0:00:03.586811