# git rev-parse -q --verify d45a90cb5d061fa7d411b974b950fe0b8bc5f265^{commit} d45a90cb5d061fa7d411b974b950fe0b8bc5f265 already have revision, skipping fetch # git checkout -q -f -B kisskb d45a90cb5d061fa7d411b974b950fe0b8bc5f265 # git clean -qxdf # < git log -1 # commit d45a90cb5d061fa7d411b974b950fe0b8bc5f265 # Author: Eric Biggers # Date: Tue Jan 8 22:12:41 2019 -0800 # # crypto: sm3 - fix undefined shift by >= width of value # # sm3_compress() calls rol32() with shift >= 32, which causes undefined # behavior. This is easily detected by enabling CONFIG_UBSAN. # # Explicitly AND with 31 to make the behavior well defined. # # Fixes: 4f0fc1600edb ("crypto: sm3 - add OSCCA SM3 secure hash") # Cc: # v4.15+ # Cc: Gilad Ben-Yossef # Signed-off-by: Eric Biggers # Signed-off-by: Herbert Xu # < /opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 d45a90cb5d061fa7d411b974b950fe0b8bc5f265 # < make -s -j 48 ARCH=x86 O=/kisskb/build/crypto_x86_64_defconfig_x86_64-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- x86_64_defconfig # make -s -j 48 ARCH=x86 O=/kisskb/build/crypto_x86_64_defconfig_x86_64-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- You are building kernel with non-retpoline compiler. Please update your compiler. make[1]: *** [arch/x86/Makefile:300: checkbin] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:152: sub-make] Error 2 Command 'make -s -j 48 ARCH=x86 O=/kisskb/build/crypto_x86_64_defconfig_x86_64-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/crypto_x86_64_defconfig_x86_64-gcc4.6 # Build took: 0:00:02.892670