Re: [PATCH] objtool: Don't fail on missing symbol table

2021-01-15 Thread Josh Poimboeuf
On Fri, Jan 15, 2021 at 12:31:26PM +0100, Miroslav Benes wrote: > On Thu, 14 Jan 2021, Josh Poimboeuf wrote: > > > Thanks to a recent binutils change which doesn't generate unused > > symbols, it's now possible for thunk_64.o be completely empty with > > CONFIG_PREEMPTION: no text, no data, no

Re: [PATCH] objtool: Don't fail on missing symbol table

2021-01-15 Thread Miroslav Benes
On Thu, 14 Jan 2021, Josh Poimboeuf wrote: > Thanks to a recent binutils change which doesn't generate unused > symbols, it's now possible for thunk_64.o be completely empty with > CONFIG_PREEMPTION: no text, no data, no symbols. "without CONFIG_PREEMPTION", or did I misunderstand? > We could

Re: [PATCH] objtool: Don't fail on missing symbol table

2021-01-14 Thread Nathan Chancellor
On Thu, Jan 14, 2021 at 04:24:15PM -0600, Josh Poimboeuf wrote: > Thanks to a recent binutils change which doesn't generate unused > symbols, it's now possible for thunk_64.o be completely empty with > CONFIG_PREEMPTION: no text, no data, no symbols. > > We could edit the Makefile to only build

[PATCH] objtool: Don't fail on missing symbol table

2021-01-14 Thread Josh Poimboeuf
Thanks to a recent binutils change which doesn't generate unused symbols, it's now possible for thunk_64.o be completely empty with CONFIG_PREEMPTION: no text, no data, no symbols. We could edit the Makefile to only build that file when CONFIG_PREEMPTION is enabled, but that will likely create