Bug 11424

Summary: poky-tiny + Link Time Optimization
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Alejandro Hernandez <alejandro.hernandez>
Component: meta-yoctoAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: akuster, poky.bs.watcher, poky.watcher, randy.macleod, sgw
Version: 2.4   
Target Milestone: Future   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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.