forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
[ARCH] x86_64This bug impacts ARCH=x86_64This bug impacts ARCH=x86_64[BUG] linuxA bug that should be fixed in the mainline kernel.A bug that should be fixed in the mainline kernel.[FIXED][LINUX] 5.11This bug was fixed in Linux 5.11This bug was fixed in Linux 5.11[TOOL] objtoolwarning is produced by the kernel's objtoolwarning is produced by the kernel's objtool
Description
This could be related to #1209 although I am filing a different issue for two reasons:
- This is with GNU as, not the integrated assembler.
- Neither Nick's patch nor Josh's patch for warning: objtool: missing symbol for insn at offset 0x3e #1209 resolve it.
When building with ToT LLVM and binutils, I see the following warning (which is actually an error):
$ make -skj"$(nproc)" LLVM=1 defconfig arch/x86/entry/thunk_64.o
arch/x86/entry/thunk_64.o: warning: objtool: missing symbol table
make[3]: *** [scripts/Makefile.build:360: arch/x86/entry/thunk_64.o] Error 1
make[3]: *** Deleting file 'arch/x86/entry/thunk_64.o'
...
I have uploaded the .o file here: https://github.com/nathanchance/bug-files/blob/7442f4c76efc096b02cb750b8c553de93fdcf409/cbl-1254/thunk_64.o
LLVM is built from llvm/llvm-project@202d359 and binutils are built from https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=58eadc4b691b5c943a9b8879420242ffc6d498c7.
cc @jpoimboe
Metadata
Metadata
Assignees
Labels
[ARCH] x86_64This bug impacts ARCH=x86_64This bug impacts ARCH=x86_64[BUG] linuxA bug that should be fixed in the mainline kernel.A bug that should be fixed in the mainline kernel.[FIXED][LINUX] 5.11This bug was fixed in Linux 5.11This bug was fixed in Linux 5.11[TOOL] objtoolwarning is produced by the kernel's objtoolwarning is produced by the kernel's objtool