# git rev-parse -q --verify fb3fdea450305d932d933d7e75eead0477249d8e^{commit} fb3fdea450305d932d933d7e75eead0477249d8e already have revision, skipping fetch # git checkout -q -f -B kisskb fb3fdea450305d932d933d7e75eead0477249d8e # git clean -qxdf # < git log -1 # commit fb3fdea450305d932d933d7e75eead0477249d8e # Author: Masahiro Yamada # Date: Thu Aug 19 09:01:14 2021 +0900 # # kbuild: Fix 'no symbols' warning when CONFIG_TRIM_UNUSD_KSYMS=y # # When CONFIG_TRIM_UNUSED_KSYMS is enabled, I see some warnings like this: # # nm: arch/x86/entry/vdso/vdso32/note.o: no symbols # # $NM (both GNU nm and llvm-nm) warns when no symbol is found in the # object. Suppress the stderr. # # Fangrui Song mentioned binutils>=2.37 `nm -q` can be used to suppress # "no symbols" [1], and llvm-nm>=13.0.0 supports -q as well. # # We cannot use it for now, but note it as a TODO. # # [1]: https://sourceware.org/bugzilla/show_bug.cgi?id=27408 # # Fixes: bbda5ec671d3 ("kbuild: simplify dependency generation for CONFIG_TRIM_UNUSED_KSYMS") # Signed-off-by: Masahiro Yamada # Reviewed-by: Nathan Chancellor # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 fb3fdea450305d932d933d7e75eead0477249d8e # < make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.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.1.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.1.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.1.0-nolibc/x86_64-linux/bin/x86_64-linux- /kisskb/src/arch/x86/entry/vdso/Makefile:135: FORCE prerequisite is missing /kisskb/src/arch/x86/entry/vdso/Makefile:135: FORCE prerequisite is missing /kisskb/src/drivers/scsi/Makefile:196: FORCE prerequisite is missing Completed OK # rm -rf /kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 # Build took: 0:02:49.667776