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

    From thelma@sys-concept.com@21:1/5 to Grant Edwards on Tue Nov 2 18:30:01 2021
    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

    --- 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 22:20:01 2021
    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

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