# 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/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 fb3fdea450305d932d933d7e75eead0477249d8e # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/kbuild_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- defconfig # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/kbuild_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- help # make -s -j 32 ARCH=sparc64 O=/kisskb/build/kbuild_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- olddefconfig # make -s -j 32 ARCH=sparc64 O=/kisskb/build/kbuild_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- :1515:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/drivers/scsi/Makefile:196: FORCE prerequisite is missing WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version ... Is "_mcount" prototyped in ? kernel: arch/sparc/boot/image is ready /kisskb/src/arch/sparc/boot/Makefile:26: FORCE prerequisite is missing kernel: arch/sparc/boot/zImage is ready Completed OK # rm -rf /kisskb/build/kbuild_sparc64-defconfig_sparc64 # Build took: 0:01:39.598216