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

    From thelma@sys-concept.com@21:1/5 to All on Tue Nov 2 18:00:02 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From thelma@sys-concept.com@21:1/5 to thelma@sys-concept.com on Tue Nov 2 18:10:01 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Edwards@21:1/5 to thelma@sys-concept.com on Tue Nov 2 18:20:02 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Edwards@21:1/5 to thelma@sys-concept.com on Tue Nov 2 22:30:01 2021
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)