# git rev-parse -q --verify 9fa62ccf07a78e8ca3d8a3ce59276f4ef6660e58^{commit} 9fa62ccf07a78e8ca3d8a3ce59276f4ef6660e58 already have revision, skipping fetch # git checkout -q -f -B kisskb 9fa62ccf07a78e8ca3d8a3ce59276f4ef6660e58 # git clean -qxdf # < git log -1 # commit 9fa62ccf07a78e8ca3d8a3ce59276f4ef6660e58 # Author: Alexey Kardashevskiy # Date: Mon Mar 21 18:10:26 2022 +1100 # # powerpc/boot: Stop using RELACOUNT # # So far the RELACOUNT tag from the ELF header was containing the exact # number of R_PPC_RELATIVE/R_PPC64_RELATIVE relocations. However the LLVM's # recent change [1] make it equal-or-less than the actual number which # makes it useless. # # This replaces RELACOUNT in zImage loader with a pair of RELASZ and RELAENT. # The vmlinux relocation code is fixed in [2]. # # To make it more future proof, this walks through the entire .rela.dyn # section instead of assuming that the section is sorter by a relocation # type. Unlike [1], this does not add unaligned UADDR/UADDR64 relocations # as in hardly possible to see those in arch-specific zImage. # # [1] https://github.com/llvm/llvm-project/commit/da0e5b885b25cf4 # [2] https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=next&id=d799769188529a # # Signed-off-by: Alexey Kardashevskiy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20220321071026.918262-1-aik@ozlabs.ru # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 9fa62ccf07a78e8ca3d8a3ce59276f4ef6660e58 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig+ppc64le_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=n # Added to kconfig CONFIG_CPU_LITTLE_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_BOOK3E_64=n # Added to kconfig CONFIG_PPC_BOOK3S_64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig+ppc64le_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig+ppc64le_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4706:warning: override: reassigning to symbol PPC64 .config:4710:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:4711:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:4714:warning: override: reassigning to symbol UBSAN # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig+ppc64le_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/fs/jffs2/xattr.c: In function 'jffs2_build_xattr_subsystem': /kisskb/src/fs/jffs2/xattr.c:887:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=] 887 | } | ^ Completed OK # rm -rf /kisskb/build/powerpc-next-rand_powerpc-randconfig+ppc64le_powerpc-gcc9 # Build took: 0:02:44.006185