Re: [UML] 3.16 build without optimization fails

From: Valdis . Kletnieks
Date: Tue Aug 19 2014 - 16:07:05 EST


On Tue, 19 Aug 2014 21:12:10 +0200, Thomas Meyer said:
> > Hi,
> >
> > the build with -O0 fails with:

> > bug or feature?
> >
> > any ideas?

Feature. The kernel is *known* to not build with -O0, because that
disables *all* function inlining, and there's several functions that *have*
to be inlined in order to function properly (most notably, anything
that uses the gcc __builtin_return_address in a function that is expected
to be inlined).

Attachment: pgpqrUWZeqPif.pgp
Description: PGP signature