Bug 11424 - poky-tiny + Link Time Optimization
Summary: poky-tiny + Link Time Optimization
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 2.4
Hardware: All Multiple
: Low enhancement
Target Milestone: Future
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-04-27 02:34 UTC by Alejandro Hernandez
Modified: 2024-05-09 15:01 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro Hernandez 2017-04-27 02:34:45 UTC
Add Link Time Optimization (LTO) to poky-tiny's kernel.

Some work has already been submitted and its been merged on yocto-kernel-cache and linux-yocto MLs, although this work was for kernel 4.4.

A rebase to this previous work needs to be done to make it work with newer production kernels, the reason why this is not merged for newer kernels is that there are some compilation/linking issues with kernels > 4.4.
Comment 1 Saul Wold 2017-10-30 19:21:21 UTC
The requirement for tinification/ smaller kernel size has waned, if we need to bring this back alive later we can.
Comment 2 Armin Kuster 2019-12-22 17:24:10 UTC
LTO support is gcc and we have lto.scc kfrag.

musl is default libc.

It sounds like we have addressed this.
Comment 3 Randy MacLeod 2024-05-09 15:01:29 UTC
Apparently fixed. Re-open if there's more work to do.