Created attachment 669983 [details] emerge --info edge07-nforce /usr/src/linux-4.14.202-gentoo # eix sys-libs/glibc [I] sys-libs/glibc Available versions: (2.2) [M]~2.19-r2^s [M]2.25-r11^s [M]2.30-r8^t [M]2.30-r9^t 2.31-r6^t 2.31-r7^t 2.32-r2^t **9999*l^t {audit caps cet compile-locales +crypt custom-cflags debug doc gd hardened headers-only +multiarch multilib nscd profile +rpc selinux +ssp +static-libs static-pie suid systemtap test vanilla} Installed versions: 2.32-r2(2.2)^t(00:09:12 04/11/20)(crypt multiarch multilib ssp static-libs -audit -caps -cet -compile-locales -custom-cflags -doc -gd -headers-only -nscd -profile -selinux -static-pie -suid -systemtap -test -vanilla) Homepage: https://www.gnu.org/software/libc/ Description: GNU libc C library edge07-nforce /usr/src # uname -a Linux edge07-nforce.nl.as208627.net 4.14.202-gentoo #1 SMP Thu Oct 22 14:41:22 CEST 2020 x86_64 Intel(R) Xeon(R) CPU E3-1270 V2 @ 3.50GHz GenuineIntel GNU/Linux edge07-nforce /usr/src/linux # make menuconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/mconf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTCC scripts/kconfig/lxdialog/checklist.o HOSTCC scripts/kconfig/lxdialog/util.o HOSTCC scripts/kconfig/lxdialog/inputbox.o HOSTCC scripts/kconfig/lxdialog/textbox.o HOSTCC scripts/kconfig/lxdialog/yesno.o HOSTCC scripts/kconfig/lxdialog/menubox.o HOSTLD scripts/kconfig/mconf scripts/kconfig/mconf Kconfig configuration written to .config *** End of the configuration. *** Execute 'make' to start the build or try 'make help'. edge07-nforce /usr/src/linux # time make -j6 HOSTCC scripts/kconfig/conf.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h DESCEND objtool make[4]: *** No rule to make target '/usr/include/bits/sys_errlist.h', needed by '/usr/src/linux-4.14.202-gentoo/tools/objtool/fixdep.o'. Stop. make[3]: *** [Makefile:43: /usr/src/linux-4.14.202-gentoo/tools/objtool/fixdep-in.o] Error 2 make[2]: *** [/usr/src/linux-4.14.202-gentoo/tools/build/Makefile.include:4: fixdep] Error 2 make[1]: *** [Makefile:62: objtool] Error 2 make: *** [Makefile:1678: tools/objtool] Error 2 make: *** Waiting for unfinished jobs.... real 0m4.043s user 0m2.659s sys 0m1.924s edge07-nforce /usr/src/linux-4.14.202-gentoo # file /usr/include/bits/sys_errlist.h /usr/include/bits/sys_errlist.h: cannot open `/usr/include/bits/sys_errlist.h' (No such file or directory) edge07-nforce /usr/src/linux-4.14.202-gentoo # e-file /usr/include/bits/sys_errlist.h [I] sys-libs/glibc Available Versions: 2.15-r3 2.21-r2 2.23-r3 2.23-r4 2.25-r11 2.26-r3 2.26-r7 2.27-r6 2.28-r4 2.28-r5 2.29-r2 2.29-r7 2.29-r8 2.30-r3 2.30-r4 2.30-r5 2.30-r6 2.30-r7 2.30-r8 2.30-r9 2.31-r2 2.31-r3 2.31-r4 2.31-r5 2.31-r6 2.31-r7 Last Installed Ver: 2.32-r2(Sun 01 Nov 2020 12:00:27 CET) Homepage: https://www.gnu.org/software/libc/ Description: GNU libc C library Matched Files: /usr/include/bits/sys_errlist.h;
Hi, please try it with a fresh make clean before compile the kernel.
Thanks for the tip, it fixed the build! I never had to do that before, so I didn’t thought about it…
thanks for resolving it! I still rebuild world or at least @system on gcc/glibc/linux-headers updates like in old times =) saves lot of headache and prevents similar problems.