# 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 120 ARCH=powerpc O=/kisskb/build/powerpc-next_pseries_defconfig+FA_DUMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_defconfig # Added to kconfig CONFIG_CRASH_DUMP=y # Added to kconfig CONFIG_FA_DUMP=y # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_pseries_defconfig+FA_DUMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_pseries_defconfig+FA_DUMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4363:warning: override: reassigning to symbol CRASH_DUMP .config:4364:warning: override: reassigning to symbol FA_DUMP # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_pseries_defconfig+FA_DUMP_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_pseries_defconfig+FA_DUMP_powerpc-gcc5 # Build took: 0:02:21.134795