Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re:[SOLVED] [gentoo-user] Re: kernel compile error: arch/x86/entry/thunk_64.o: warning
Date: Tue, 02 Nov 2021 21:17:43
Message-Id: c0b401fa-26ad-1343-3d9e-8e746b5ee87c@sys-concept.com
In Reply to: Re: [gentoo-user] Re: kernel compile error: arch/x86/entry/thunk_64.o: warning by thelma@sys-concept.com
1 On 11/2/21 11:28 AM, thelma@×××××××××××.com wrote:
2 > On 11/2/21 11:13 AM, Grant Edwards wrote:
3 >> On 2021-11-02, thelma@×××××××××××.com <thelma@×××××××××××.com> wrote:
4 >>> On 11/2/21 10:52 AM, thelma@×××××××××××.com wrote:
5 >>>> I'm trying to enable (NFTS) file support in my kernel: 5.4.80
6 >>>> Disabled:
7 >>>> - [ ] NTFS write support
8 >>>>
9 >>>> Enabled:
10 >>>> <*> FUSE (Filesystem in Userspace) support
11 >>>>
12 >>>> When I try to compile the kernel I get an error message:
13 >>>> ...
14 >>>> AS arch/x86/entry/entry_64.o
15 >>>> AS arch/x86/entry/thunk_64.o
16 >>>> arch/x86/entry/thunk_64.o: warning: objtool: missing symbol table
17 >>>> make[2]: *** [scripts/Makefile.build:348: arch/x86/entry/thunk_64.o] Error 1
18 >>>> make[2]: *** Deleting file 'arch/x86/entry/thunk_64.o'
19 >>>> make[1]: *** [scripts/Makefile.build:500: arch/x86/entry] Error 2
20 >>>> make: *** [Makefile:1729: arch/x86] Error 2
21 >>>
22 >>> It seems to be related to this issue:
23 >>> https://lkml.org/lkml/2021/1/28/339
24 >>>
25 >>> by my kernel is 5.4.80 and I still have same problem
26 >>
27 >> Did you try doing a "make clean" before building the kernel? I believe
28 >> I've sometimes had problems in the past with the following sequence:
29 >>
30 >> 1. Build kernel from sources
31 >> 2. Upgrade gcc and/or binutils
32 >> 3. Make minor change to kernel .config file
33 >> 4. Do a "make" of the kernel
34 >>
35 >> If you do a make clean between 3 & 4, it seems to avoid problems
36 >> caused by doing a build with "mixed" gcc or binutils versions.
37 >>
38 >> --
39 >> Grant
40 >
41 > Just run: "make clean"
42 > still the same same problem. kernel stop compiling at:
43 > ...
44 > AS arch/x86/entry/thunk_64.o
45 > arch/x86/entry/thunk_64.o: warning: objtool: missing symbol table
46 > make[2]: *** [scripts/Makefile.build:348: arch/x86/entry/thunk_64.o] Error 1
47 > make[2]: *** Deleting file 'arch/x86/entry/thunk_64.o'
48 > make[1]: *** [scripts/Makefile.build:500: arch/x86/entry] Error 2
49 > make: *** [Makefile:1729: arch/x86] Error 2
50
51 Installing newer Kernel (solved the problem) in my case it was linux-5.10.61-gentoo