# git rev-parse -q --verify 57f12a5ce0591532e8264d842b9086bace6544da^{commit} 57f12a5ce0591532e8264d842b9086bace6544da already have revision, skipping fetch # git checkout -q -f -B kisskb 57f12a5ce0591532e8264d842b9086bace6544da # git clean -qxdf # < git log -1 # commit 57f12a5ce0591532e8264d842b9086bace6544da # Author: Michael Ellerman # Date: Mon May 15 22:40:08 2023 +1000 # # powerpc/crypto: Fix aes-gcm-p10 build when VSX=n # # When VSX is disabled, eg. microwatt_defconfig, the build fails with: # # In function ‘enable_kernel_vsx’, # inlined from ‘vsx_begin’ at arch/powerpc/crypto/aes-gcm-p10-glue.c:68:2, # inlined from ‘p10_aes_gcm_crypt.constprop’ at arch/powerpc/crypto/aes-gcm-p10-glue.c:244:2: # ... # arch/powerpc/include/asm/switch_to.h:86:9: note: in expansion of macro ‘BUILD_BUG’ # 86 | BUILD_BUG(); # | ^~~~~~~~~ # # Fix it by making the p10-aes-gcm code depend on VSX. # # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 57f12a5ce0591532e8264d842b9086bace6544da # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-merge_mpc512x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc512x_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-merge_mpc512x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-merge_mpc512x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-merge_mpc512x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-merge_mpc512x_defconfig_powerpc-gcc5 # Build took: 0:00:45.461186