Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] kernel compile error: arch/x86/entry/thunk_64.o: warning

2,953 views
Skip to first unread message

the...@sys-concept.com

unread,
Nov 2, 2021, 1:00:04 PM11/2/21
to
I'm trying to enable (NFTS) file support in my kernel: 5.4.80
Disabled:
- [ ] NTFS write support

Enabled:
<*> FUSE (Filesystem in Userspace) support

When I try to compile the kernel I get an error message:
...
AS arch/x86/entry/entry_64.o
AS arch/x86/entry/thunk_64.o
arch/x86/entry/thunk_64.o: warning: objtool: missing symbol table
make[2]: *** [scripts/Makefile.build:348: arch/x86/entry/thunk_64.o] Error 1
make[2]: *** Deleting file 'arch/x86/entry/thunk_64.o'
make[1]: *** [scripts/Makefile.build:500: arch/x86/entry] Error 2
make: *** [Makefile:1729: arch/x86] Error 2

the...@sys-concept.com

unread,
Nov 2, 2021, 1:10:03 PM11/2/21
to
It seems to be related to this issue:
https://lkml.org/lkml/2021/1/28/339

by my kernel is 5.4.80 and I still have same problem

Grant Edwards

unread,
Nov 2, 2021, 1:20:04 PM11/2/21
to
Did you try doing a "make clean" before building the kernel? I believe
I've sometimes had problems in the past with the following sequence:

1. Build kernel from sources
2. Upgrade gcc and/or binutils
3. Make minor change to kernel .config file
4. Do a "make" of the kernel

If you do a make clean between 3 & 4, it seems to avoid problems
caused by doing a build with "mixed" gcc or binutils versions.

--
Grant

the...@sys-concept.com

unread,
Nov 2, 2021, 1:30:03 PM11/2/21
to
Just run: "make clean"
still the same same problem. kernel stop compiling at:
...
AS arch/x86/entry/thunk_64.o
arch/x86/entry/thunk_64.o: warning: objtool: missing symbol table
make[2]: *** [scripts/Makefile.build:348: arch/x86/entry/thunk_64.o] Error 1
make[2]: *** Deleting file 'arch/x86/entry/thunk_64.o'
make[1]: *** [scripts/Makefile.build:500: arch/x86/entry] Error 2
make: *** [Makefile:1729: arch/x86] Error 2

--
Thelma

the...@sys-concept.com

unread,
Nov 2, 2021, 5:20:03 PM11/2/21
to
Installing newer Kernel (solved the problem) in my case it was linux-5.10.61-gentoo

Grant Edwards

unread,
Nov 2, 2021, 5:30:03 PM11/2/21
to
It appears that your binutils version is too new for your kernel version.

https://www.spinics.net/lists/kernel/msg3797871.html

Is there some reason you're running such an ancient kernel? The 5.4
kernel is presently at 5.4.157, and it has presumably had the fix for
this problem backported to it.
0 new messages