Gentoo Archives: gentoo-user

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

Replies