Hi Yinan, Thank you for the patch! Yet something to improve: [auto build test ERROR on rostedt-trace/for-next] [also build test ERROR on linux/master linus/master v5.16-rc1 next-20211117] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Yinan-Liu/scripts-ftrace-move-the-sort-processing-in-ftrace_init-to-compile-time/20211116-114954 base: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next config: i386-debian-10.3 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/fe96b08ca13186c5821d3fabf66f4a209be20507 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Yinan-Liu/scripts-ftrace-move-the-sort-processing-in-ftrace_init-to-compile-time/20211116-114954 git checkout fe96b08ca13186c5821d3fabf66f4a209be20507 # save the attached .config to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=i386 prepare If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): /usr/bin/ld: /tmp/ccTdfIIm.o: in function `main': >> sorttable.c:(.text.startup+0xabb): undefined reference to `pthread_create' >> /usr/bin/ld: sorttable.c:(.text.startup+0xc5a): undefined reference to `pthread_join' >> /usr/bin/ld: sorttable.c:(.text.startup+0xe34): undefined reference to `pthread_create' >> collect2: error: ld returned 1 exit status make[2]: *** [scripts/Makefile.host:95: scripts/sorttable] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1203: scripts] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:219: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org