Re: [PATCH v2] objtool: move libelf detection to Kconfig from Makefile

From: Ingo Molnar
Date: Tue Jul 10 2018 - 01:27:55 EST



* Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:

> Since we switched the x86_64 default to the ORC unwinder, a lot of
> people have switched over. But this patch will reverse (or at least
> slow down) that trend, because almost nobody has the libelf devel
> packaged installed by default. So over time, it will effectively make
> frame pointers the default again in many cases. That's exactly what we
> *don't* want to do. It will also cause people to accidentally re-enable
> frame pointers when they thought they had ORC.

Yeah, agreed - turning ORC off like that is a non-starter.

Thanks,

Ingo