Re: [PATCH v7 02/11] x86/retpoline: Temporarily disable objtool when CONFIG_RETPOLINE=y

2018-01-10 Thread Peter Zijlstra
On Tue, Jan 09, 2018 at 11:58:06PM -0600, Josh Poimboeuf wrote: > On Tue, Jan 09, 2018 at 02:43:08PM +, David Woodhouse wrote: > > From: Andi Kleen > > > > objtool's assembler currently cannot deal with the code generated by the > > retpoline compiler and throws hundreds of warnings, mostly b

Re: [PATCH v7 02/11] x86/retpoline: Temporarily disable objtool when CONFIG_RETPOLINE=y

2018-01-09 Thread Josh Poimboeuf
On Tue, Jan 09, 2018 at 02:43:08PM +, David Woodhouse wrote: > From: Andi Kleen > > objtool's assembler currently cannot deal with the code generated by the > retpoline compiler and throws hundreds of warnings, mostly because it sees > calls that don't have a symbolic target. > > Exclude all

[PATCH v7 02/11] x86/retpoline: Temporarily disable objtool when CONFIG_RETPOLINE=y

2018-01-09 Thread David Woodhouse
From: Andi Kleen objtool's assembler currently cannot deal with the code generated by the retpoline compiler and throws hundreds of warnings, mostly because it sees calls that don't have a symbolic target. Exclude all the options that rely on objtool when RETPOLINE is active. This mainly means