* [gentoo-user] kernel compile error: arch/x86/entry/thunk_64.o: warning
@ 2021-11-02 16:52 thelma
2021-11-02 17:04 ` thelma
2021-11-02 21:20 ` Grant Edwards
0 siblings, 2 replies; 6+ messages in thread
From: thelma @ 2021-11-02 16:52 UTC (permalink / raw
To: Gentoo mailing list
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] kernel compile error: arch/x86/entry/thunk_64.o: warning
2021-11-02 16:52 [gentoo-user] kernel compile error: arch/x86/entry/thunk_64.o: warning thelma
@ 2021-11-02 17:04 ` thelma
2021-11-02 17:13 ` [gentoo-user] " Grant Edwards
2021-11-02 21:20 ` Grant Edwards
1 sibling, 1 reply; 6+ messages in thread
From: thelma @ 2021-11-02 17:04 UTC (permalink / raw
To: gentoo-user
On 11/2/21 10:52 AM, thelma@sys-concept.com wrote:
> 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
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: kernel compile error: arch/x86/entry/thunk_64.o: warning
2021-11-02 17:04 ` thelma
@ 2021-11-02 17:13 ` Grant Edwards
2021-11-02 17:28 ` thelma
0 siblings, 1 reply; 6+ messages in thread
From: Grant Edwards @ 2021-11-02 17:13 UTC (permalink / raw
To: gentoo-user
On 2021-11-02, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
> On 11/2/21 10:52 AM, thelma@sys-concept.com wrote:
>> 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
>
> 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
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: kernel compile error: arch/x86/entry/thunk_64.o: warning
2021-11-02 17:13 ` [gentoo-user] " Grant Edwards
@ 2021-11-02 17:28 ` thelma
2021-11-02 21:17 ` thelma
0 siblings, 1 reply; 6+ messages in thread
From: thelma @ 2021-11-02 17:28 UTC (permalink / raw
To: gentoo-user
On 11/2/21 11:13 AM, Grant Edwards wrote:
> On 2021-11-02, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
>> On 11/2/21 10:52 AM, thelma@sys-concept.com wrote:
>>> 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
>>
>> 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
>
> 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
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re:[SOLVED] [gentoo-user] Re: kernel compile error: arch/x86/entry/thunk_64.o: warning
2021-11-02 17:28 ` thelma
@ 2021-11-02 21:17 ` thelma
0 siblings, 0 replies; 6+ messages in thread
From: thelma @ 2021-11-02 21:17 UTC (permalink / raw
To: gentoo-user
On 11/2/21 11:28 AM, thelma@sys-concept.com wrote:
> On 11/2/21 11:13 AM, Grant Edwards wrote:
>> On 2021-11-02, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
>>> On 11/2/21 10:52 AM, thelma@sys-concept.com wrote:
>>>> 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
>>>
>>> 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
>>
>> 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
>
> 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
Installing newer Kernel (solved the problem) in my case it was linux-5.10.61-gentoo
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: kernel compile error: arch/x86/entry/thunk_64.o: warning
2021-11-02 16:52 [gentoo-user] kernel compile error: arch/x86/entry/thunk_64.o: warning thelma
2021-11-02 17:04 ` thelma
@ 2021-11-02 21:20 ` Grant Edwards
1 sibling, 0 replies; 6+ messages in thread
From: Grant Edwards @ 2021-11-02 21:20 UTC (permalink / raw
To: gentoo-user
On 2021-11-02, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
> 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
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-11-02 21:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-02 16:52 [gentoo-user] kernel compile error: arch/x86/entry/thunk_64.o: warning thelma
2021-11-02 17:04 ` thelma
2021-11-02 17:13 ` [gentoo-user] " Grant Edwards
2021-11-02 17:28 ` thelma
2021-11-02 21:17 ` thelma
2021-11-02 21:20 ` Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox