# git rev-parse -q --verify 10a7af60e25a6a16a07285a902b526e5d707d821^{commit} 10a7af60e25a6a16a07285a902b526e5d707d821 already have revision, skipping fetch # git checkout -q -f -B kisskb 10a7af60e25a6a16a07285a902b526e5d707d821 # git clean -qxdf # < git log -1 # commit 10a7af60e25a6a16a07285a902b526e5d707d821 # Author: Masahiro Yamada # Date: Fri Sep 30 03:12:23 2022 +0900 # # Revert "kbuild: Check if linker supports the -X option" # # This reverts commit d79a27195a33f4b5e591de5536799ad874ea6cf5. # # According to the commit description, this ld-option test was added for # the gold linker at that time. # # Commit 75959d44f9dc ("kbuild: Fail if gold linker is detected") gave # up the gold linker support after all. # # I tested the BFD linker from binutils 2.23 and LLD from LLVM 11.0.0. # Both of them support the -X option. # # Signed-off-by: Masahiro Yamada # Reviewed-by: Nick Desaulniers # Reviewed-by: Nathan Chancellor # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 10a7af60e25a6a16a07285a902b526e5d707d821 # < make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- x86_64_defconfig # < make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 # Build took: 0:02:12.624556