[Bug lto/107014] flatten+lto fails the kernel build
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 23 08:21:15 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107014
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amonakov at gcc dot gnu.org
--- Comment #3 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
It was added to force inlining of small helpers that outgrow limits when
building with gcov profiling:
https://github.com/torvalds/linux/commit/258e0815e2b1706e87c0d874211097aa8a7aa52f
(lack of inlining triggered a sanity check, as explained in the commit)
I am surprised that "flatten" blows up on this function. Is that with any
config, or again some specific settings like gcov? Is there an existing lkml
thread about this?
More information about the Gcc-bugs
mailing list