2018-06-20, 20:36
(2018-06-20, 03:08)smp1 Wrote: @Milhouse
I'm still having an issue when building Kodi with parallel LTO. I have to disable LTO, otherwise DVD playback is not working.
I noticed that in your current images kodi.bin is 12,3 MB. But in my builds with default, untouched LTO settings kodi.bin is currently 14,7 MB and it is around 16 MB when LTO is disabled. Looks like something goes wrong during link-time optimization.
What hardware are you using to build those images? I suspect that my CPU (Ivy Bridge i5-3450) is somehow incompatible with current LTO settings in LE build system.
For these nightly build I'm using an AMD FX-8350 on Ubuntu 17.10. I've also been building on an Intel Haswell-type CPU in an Ubuntu 16.04 VM.
Both of these build hosts are creating kodi.bin in the region of 12.6-12.9MB.
AMD FX-8350, Ubuntu 17.10:
Intel Haswell, Ubuntu 16.04:text:
neil@nm-linux:~/projects$ ls -la extract/SYS/usr/lib/kodi/kodi.bin
-rwxr-xr-x 1 root root 12937680 Jun 19 22:17 extract/SYS/usr/lib/kodi/kodi.bin
text:
ubuntu@letest:~/projects$ ls -la extract/SYS/usr/lib/kodi/kodi.bin
-rwxr-xr-x 1 root root 12608084 Jun 20 15:26 extract/SYS/usr/lib/kodi/kodi.bin
Disabling LTO can be expected to increase the size of kodi.bin by about 1.5MB so that would account for the increase to 16MB, but I'm not sure why your binaries are so much larger in the first place.
Are you building with Ubuntu? Maybe try a 16.04 Ubuntu VM.