<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/conf/distro/include/lto.inc, branch master-test</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=master-test</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=master-test'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2020-11-13T14:32:00+00:00</updated>
<entry>
<title>lto.inc: Disable LTO for webkit</title>
<updated>2020-11-13T14:32:00+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-11-11T01:47:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f35343550ad11c8484f7e9d2c164a487c8fecc2a'/>
<id>urn:sha1:f35343550ad11c8484f7e9d2c164a487c8fecc2a</id>
<content type='text'>
webkit fails to link with LTO on at this point.  Some of the issues
are being worked on upstream and disabling LTO should be re-evaluated as
we update this change.

(From OE-Core rev: fb24d6504c30d3302fda42b6e6a918d674323a8f)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>lto.inc: Disable LTO for perf</title>
<updated>2020-11-11T10:08:12+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-11-09T00:02:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d3598e429be3902338b90e410d196b71270cc881'/>
<id>urn:sha1:d3598e429be3902338b90e410d196b71270cc881</id>
<content type='text'>
perf invokes kernel sources, and currently fails in multiple places for
now therefore disable LTO for perf

(From OE-Core rev: f59a2db89a245d3ef9acd094f2055fb07dd4f42b)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>lto.inc: Disable LTO for xserver-xorg</title>
<updated>2020-11-11T10:08:11+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-11-09T00:02:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d0b24abaf251970e90d1eaa12bebd97bbd8d677b'/>
<id>urn:sha1:d0b24abaf251970e90d1eaa12bebd97bbd8d677b</id>
<content type='text'>
It ends up with undefined symbol when LTO is enabled
Fixes
test/xi2/protocol-xiquerydevice.c:345: undefined reference to `GrabButton'

(From OE-Core rev: 129ec897a25ed9ba2657f0ed44ccaf2f429ce6ac)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>libaio: Disable LTO</title>
<updated>2020-11-11T10:08:11+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-11-09T00:02:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7eb6bb849034072130d9ac66d8ca90927d26bb54'/>
<id>urn:sha1:7eb6bb849034072130d9ac66d8ca90927d26bb54</id>
<content type='text'>
Libaio uses ASMs to implement symbol versioning which does not work with LTO

(From OE-Core rev: 2b59fe1076d930a685fa7f443163da70a1d168b3)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>lto: Introduce LTOEXTRA variable</title>
<updated>2020-11-11T10:08:11+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-11-09T00:02:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=352446a2ee119a774da077f0995f1c86498d019f'/>
<id>urn:sha1:352446a2ee119a774da077f0995f1c86498d019f</id>
<content type='text'>
Certain packages may need additional flags to enable LTO, therefore
LTOEXTRA can be used to pass those flags

Add -flto-partition=none for alsa-lib

(From OE-Core rev: 0a5778f40f0d1a252f38151a1d4103fa7cbe7796)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>lto.inc: Add -ffat-lto-objects and -fuse-linker-plugin</title>
<updated>2020-11-11T10:08:11+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-11-09T00:02:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d20e270eccc8071a2ecf5f3f5274ce01a45d2f2a'/>
<id>urn:sha1:d20e270eccc8071a2ecf5f3f5274ce01a45d2f2a</id>
<content type='text'>
This helps to improve LTO and ensure the libs can be linked with non-LTO
objects too

(From OE-Core rev: 770c69c51f87223eee7bd968fd28a5dc15a955d6)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>lto: Add global LTO distro policy file</title>
<updated>2020-11-11T10:08:11+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-11-09T00:02:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9df7ab80895547a43857a299b58014dc359b6283'/>
<id>urn:sha1:9df7ab80895547a43857a299b58014dc359b6283</id>
<content type='text'>
Distros which want to enable LTO can utilize this file, it only covers
packages from OE-Core, other layers should include there own exclusion
list for recipe which dont work with LTO

Document the needed changes in local.conf.extended

(From OE-Core rev: 228b5a91516cdf9d5a1df3c721ba8e5619b188ab)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
