Re: Build regressions/improvements in v4.12-rc2

From: Arnd Bergmann
Date: Mon May 22 2017 - 17:08:23 EST


On Mon, May 22, 2017 at 8:46 PM, John David Anglin <dave.anglin@xxxxxxxx> wrote:
> On 2017-05-22, at 5:49 AM, Geert Uytterhoeven wrote:
>
>>> [Deleted 1166 lines about "warning: -ffunction-sections disabled; it makes profiling impossible [enabled by default]" on parisc-allmodconfig]
>
> Although this issue may be fixed in gcc, do we really want to enable profiling by default?

This is ftrace, which uses the same compiler flag as gprof, and the option
is only enabled in allmodconfig, which seems reasonable.

Arnd