# 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-4.9.4-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 fb3fdea450305d932d933d7e75eead0477249d8e # < make -s -j 24 ARCH=mips O=/kisskb/build/kbuild_mips-defconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- defconfig # < make -s -j 24 ARCH=mips O=/kisskb/build/kbuild_mips-defconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- help # make -s -j 24 ARCH=mips O=/kisskb/build/kbuild_mips-defconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- olddefconfig # make -s -j 24 ARCH=mips O=/kisskb/build/kbuild_mips-defconfig_mips-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/mips-linux/bin/mips-linux- /kisskb/src/net/sched/sch_frag.c: In function 'sch_fragment': /kisskb/src/net/sched/sch_frag.c:93:10: warning: missing braces around initializer [-Wmissing-braces] struct rtable sch_frag_rt = { 0 }; ^ /kisskb/src/net/sched/sch_frag.c:93:10: warning: (near initialization for 'sch_frag_rt.dst') [-Wmissing-braces] /kisskb/src/drivers/scsi/Makefile:196: FORCE prerequisite is missing /kisskb/src/drivers/net/ethernet/mscc/ocelot_vcap.c: In function 'is1_entry_set': /kisskb/src/drivers/net/ethernet/mscc/ocelot_vcap.c:755:11: warning: missing braces around initializer [-Wmissing-braces] struct ocelot_vcap_u16 etype = {0}; ^ /kisskb/src/drivers/net/ethernet/mscc/ocelot_vcap.c:755:11: warning: (near initialization for 'etype.value') [-Wmissing-braces] Completed OK # rm -rf /kisskb/build/kbuild_mips-defconfig_mips-gcc4.9 # Build took: 0:01:55.242424