# git rev-parse -q --verify 8133a3f0aa66ed3d7d974c89ac6aca6fe6cec837^{commit} 8133a3f0aa66ed3d7d974c89ac6aca6fe6cec837 already have revision, skipping fetch # git checkout -q -f -B kisskb 8133a3f0aa66ed3d7d974c89ac6aca6fe6cec837 # git clean -qxdf # < git log -1 # commit 8133a3f0aa66ed3d7d974c89ac6aca6fe6cec837 # 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 # Link: https://msgid.link/20230515124731.122962-1-mpe%40ellerman.id.au # < /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 8133a3f0aa66ed3d7d974c89ac6aca6fe6cec837 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_40x_makalu_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 40x/makalu_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-fixes_40x_makalu_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-fixes_40x_makalu_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-fixes_40x_makalu_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-fixes_40x_makalu_defconfig_powerpc-gcc5 # Build took: 0:00:35.411671