Re: [RFC][PATCH v2 20/19] kbuild/objtool: Add objtool-vmlinux.o pass

From: Josh Poimboeuf
Date: Wed Mar 18 2020 - 14:34:43 EST


On Wed, Mar 18, 2020 at 02:18:45PM +0100, Peter Zijlstra wrote:
>
> This seems to 'work', must be perfect etc..
>
> ---
>
> Subject: kbuild/objtool: Add objtool-vmlinux.o pass
> From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Date: Wed Mar 18 13:33:54 CET 2020
>
> Now that objtool is capable of processing vmlinux.o and actually has
> something useful to do there, (conditionally) add it to the final link
> pass.
>
> This will increase build time by a few seconds.

This looks fine (with the -z fix), but I'm guessing you haven't tried it
on an allyesconfig kernel yet? For example I'd expect the crypto code
to give trouble.

I actually have some code to fix that stashed away somewhere...

--
Josh