Re: [PATCH v2 11/12] retpoline/objtool: Disable some objtool warnings

From: Andi Kleen
Date: Thu Jan 04 2018 - 10:59:30 EST


> NAK. We can't blindly disable objtool warnings, that will break
> livepatch and the ORC unwinder. If you share a .o file (or the GCC
> code) I can look at adding retpoline support.

I don't think we can wait for that. We can disable livepatch and the
unwinder for now. They are not essential. Frame pointers should work
well enough for unwinding and afaik nobody can use livepatch in mainline anyways.

-Andi