Gentoo Archives: gentoo-user

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

Replies