# 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-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 36168e387fa7d0f1fe0cd5cf76c8cea7aee714fa # < make -s -j 8 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- randconfig # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # < make -s -j 8 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 8 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig .config:7292:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD # make -s -j 8 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 # Build took: 0:17:02.545401