# git rev-parse -q --verify 93e12bca65206913d9ed654ac1faa2d5d938fc29^{commit} 93e12bca65206913d9ed654ac1faa2d5d938fc29 already have revision, skipping fetch # git checkout -q -f -B kisskb 93e12bca65206913d9ed654ac1faa2d5d938fc29 # git clean -qxdf # < git log -1 # commit 93e12bca65206913d9ed654ac1faa2d5d938fc29 # Author: Nathan Chancellor # Date: Wed Feb 15 11:41:17 2023 -0700 # # powerpc: Allow CONFIG_PPC64_BIG_ENDIAN_ELF_ABI_V2 with ld.lld 15+ # # Commit 5017b4594672 ("powerpc/64: Option to build big-endian with ELFv2 # ABI") restricted the ELFv2 ABI configuration such that it can only be # selected when linking with ld.bfd, due to lack of testing with LLVM. # # ld.lld can link ELFv2 kernels without any issues; in fact, it is the # only ABI that ld.lld supports, as ELFv1 is not supported in ld.lld. # # As this has not seen a ton of real world testing yet, be conservative # and only allow this option to be selected with the latest stable release # of LLVM (15.x) and newer. # # While in the area, remove 'default n', as it is unnecessary to specify # it explicitly since all boolean/tristate configuration symbols default # to n. # # Tested-by: "Erhard F." # Signed-off-by: Nathan Chancellor # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20230118-ppc64-elfv2-llvm-v1-3-b9e2ec9da11d@kernel.org # < /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 93e12bca65206913d9ed654ac1faa2d5d938fc29 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_83xx_mpc8315_rdb_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 83xx/mpc8315_rdb_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_83xx_mpc8315_rdb_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-next_83xx_mpc8315_rdb_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-next_83xx_mpc8315_rdb_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-next_83xx_mpc8315_rdb_defconfig_powerpc-gcc5 # Build took: 0:00:42.523713