https://sourceware.org/bugzilla/show_bug.cgi?id=27272
Bug ID: 27272 Summary: Cannot build Linux kernel 5.10.11 (or 5.10.6) with 2.36 binutils. 2.35.1 works. Product: binutils Version: 2.36 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: j-comm at westvi dot com Target Milestone: --- Pretty much described as above. Has been verified by another user. I submitted a bug report describing this in the Linux kernel bugzilla at https://bugzilla.kernel.org/show_bug.cgi?id=211443 But I copy the description for that bug here.... This error is seen with 2.36 binutils *very* early in the build started with: "make mrproper; make defconfig; make" ... it happens within a minute on my system ------------------------- As the summary states - trying to compile kernel 5.10.11. Here is a log of what I did. Note that I tried this both without AND with the recent patch in the git logs to help thunk_64.S compile with LLVM. That patch, by itself, did not help. Running GCC 10.2.0, GLIBC 2.32, binutils 2.36, kernel 5.10.11. When I tried kernel 5.10.6, which I had successfully compiled a short number of days ago with binutils 2.35.1, it also did not compile. So, the upgrade from binutils 2.35.1 to binutils 2.36 has changed something... j-comm@www:/sources% tar xf archive/linux-5.10.11.tar.xz j-comm@www:/sources% cd linux-5.10.11/ j-comm@www:/sources/linux-5.10.11% make mrproper j-comm@www:/sources/linux-5.10.11% make defconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/conf *** Default configuration is based on 'x86_64_defconfig' # # configuration written to .config # j-comm@www:/sources/linux-5.10.11% make V=1 ... gcc -Wp,-MMD,arch/x86/entry/.thunk_64.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -fmacro-prefix-map=./= -D__ASSEMBLY__ -fno-PIE -m64 -c -o arch/x86/entry/thunk_64.o arch/x86/entry/thunk_64.S ./tools/objtool/objtool orc generate --no-fp --retpoline --uaccess arch/x86/entry/thunk_64.o arch/x86/entry/thunk_64.o: warning: objtool: missing symbol table make[2]: *** [scripts/Makefile.build:360: arch/x86/entry/thunk_64.o] Error 1 make[2]: *** Deleting file 'arch/x86/entry/thunk_64.o' make[1]: *** [scripts/Makefile.build:496: arch/x86/entry] Error 2 make: *** [Makefile:1805: arch/x86] Error 2 j-comm@www:/sources/linux-5.10.11% -- You are receiving this mail because: You are on the CC list for the bug.