# git rev-parse -q --verify 36168e387fa7d0f1fe0cd5cf76c8cea7aee714fa^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify 36168e387fa7d0f1fe0cd5cf76c8cea7aee714fa^{commit} 36168e387fa7d0f1fe0cd5cf76c8cea7aee714fa # git checkout -q -f -B kisskb 36168e387fa7d0f1fe0cd5cf76c8cea7aee714fa # git clean -qxdf # < git log -1 # commit 36168e387fa7d0f1fe0cd5cf76c8cea7aee714fa # Author: Nathan Chancellor # Date: Wed Mar 9 15:07:27 2022 -0700 # # ARM: Do not use NOCROSSREFS directive with ld.lld # # ld.lld does not support the NOCROSSREFS directive at the moment, which # breaks the build after commit b9baf5c8c5c3 ("ARM: Spectre-BHB # workaround"): # # ld.lld: error: ./arch/arm/kernel/vmlinux.lds:34: AT expected, but got NOCROSSREFS # # Support for this directive will eventually be implemented, at which # point a version check can be added. To avoid breaking the build in the # meantime, just define NOCROSSREFS to nothing when using ld.lld, with a # link to the issue for tracking. # # Cc: stable@vger.kernel.org # Fixes: b9baf5c8c5c3 ("ARM: Spectre-BHB workaround") # Link: https://github.com/ClangBuiltLinux/linux/issues/1609 # Signed-off-by: Nathan Chancellor # Signed-off-by: Linus Torvalds # < /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 36168e387fa7d0f1fe0cd5cf76c8cea7aee714fa # < make -s -j 10 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_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=y # Added to kconfig CONFIG_PPC64=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_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # 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 10 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 10 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:7378:warning: override: reassigning to symbol STANDALONE .config:7381:warning: override: reassigning to symbol CPU_BIG_ENDIAN .config:7381:warning: override: CPU_BIG_ENDIAN changes choice state .config:7390:warning: override: reassigning to symbol UBSAN # make -s -j 10 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 # Build took: 0:08:05.638619