# 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-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 8133a3f0aa66ed3d7d974c89ac6aca6fe6cec837 # < make -s -j 160 ARCH=x86 O=/kisskb/build/powerpc-fixes_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- x86_64_defconfig # < make -s -j 160 ARCH=x86 O=/kisskb/build/powerpc-fixes_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 160 ARCH=x86 O=/kisskb/build/powerpc-fixes_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 160 ARCH=x86 O=/kisskb/build/powerpc-fixes_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_x86_64_defconfig_x86_64-gcc8 # Build took: 0:10:09.096016