# git rev-parse -q --verify e3a606f2c544b231f6079c8c5fea451e772e1139^{commit} e3a606f2c544b231f6079c8c5fea451e772e1139 already have revision, skipping fetch # git checkout -q -f -B kisskb e3a606f2c544b231f6079c8c5fea451e772e1139 # git clean -qxdf # < git log -1 # commit e3a606f2c544b231f6079c8c5fea451e772e1139 # Author: Ard Biesheuvel # Date: Wed Apr 21 09:55:11 2021 +0200 # # fsverity: relax build time dependency on CRYPTO_SHA256 # # CONFIG_CRYPTO_SHA256 denotes the generic C implementation of the SHA-256 # shash algorithm, which is selected as the default crypto shash provider # for fsverity. However, fsverity has no strict link time dependency, and # the same shash could be exposed by an optimized implementation, and arm64 # has a number of those (scalar, NEON-based and one based on special crypto # instructions). In such cases, it makes little sense to require that the # generic C implementation is incorporated as well, given that it will never # be called. # # To address this, relax the 'select' clause to 'imply' so that the generic # driver can be omitted from the build if desired. # # Acked-by: Eric Biggers # Signed-off-by: Ard Biesheuvel # Signed-off-by: Herbert Xu # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 e3a606f2c544b231f6079c8c5fea451e772e1139 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/crypto_ppc64e_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64e_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/crypto_ppc64e_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/crypto_ppc64e_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/crypto_ppc64e_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0xd2a1e8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-5.12.0-rc2-ge3a606f2c544 Created: Mon Apr 26 22:36:10 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5326154 Bytes = 5201.32 KiB = 5.08 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/crypto_ppc64e_defconfig_powerpc-gcc4.9 # Build took: 0:02:16.521185