Solved Has anyone successfully built Kodi using -flto
#1
Is it possible to build Kodi using the -flto switch?  When I tried doing so, my build ended in multiple errors.

Just a sampling:
Code:
...
/tmp/kodi-x11.6b8G37.ltrans103.ltrans.o:<artificial>:function lpc_apply_welch_window_sse2: error: undefined reference to 'pd_1'
/tmp/kodi-x11.6b8G37.ltrans103.ltrans.o:<artificial>:function lpc_apply_welch_window_sse2: error: undefined reference to 'pd_2'
/tmp/kodi-x11.6b8G37.ltrans103.ltrans.o:<artificial>:function lpc_compute_autocorr_sse2: error: undefined reference to 'pd_1'
/tmp/kodi-x11.6b8G37.ltrans103.ltrans.o:<artificial>:function lpc_compute_autocorr_sse2: error: undefined reference to 'pd_1'
/tmp/kodi-x11.6b8G37.ltrans103.ltrans.o:<artificial>:function lpc_compute_autocorr_sse2: error: undefined reference to 'pd_1'
/tmp/kodi-x11.6b8G37.ltrans120.ltrans.o:<artificial>:function yuv2rgb565_X_ar_mmx: error: undefined reference to 'bF8'
/tmp/kodi-x11.6b8G37.ltrans120.ltrans.o:<artificial>:function yuv2rgb565_X_ar_mmx: error: undefined reference to 'bFC'
/tmp/kodi-x11.6b8G37.ltrans120.ltrans.o:<artificial>:function yuv2rgb565_X_ar_mmx: error: undefined reference to 'bF8'
/tmp/kodi-x11.6b8G37.ltrans120.ltrans.o:<artificial>:function yuv2rgb565_X_mmx: error: undefined reference to 'bF8'
/tmp/kodi-x11.6b8G37.ltrans120.ltrans.o:<artificial>:function yuv2rgb565_X_mmx: error: undefined reference to 'bFC'
/tmp/kodi-x11.6b8G37.ltrans120.ltrans.o:<artificial>:function yuv2rgb565_X_mmx: error: undefined reference to 'bF8'
/tmp/kodi-x11.6b8G37.ltrans120.ltrans.o:<artificial>:function yuv2rgb565_2_mmx: error: undefined reference to 'bFC'
/tmp/kodi-x11.6b8G37.ltrans120.ltrans.o:<artificial>:function yuv2rgb565_1_mmx: error: undefined reference to 'bFC'
...

Complete build log: https://gist.github.com/graysky2/951bb36...c75ba99dd3
Need help programming a Streamzap remote?
Reply


Messages In This Thread
Has anyone successfully built Kodi using -flto - by graysky - 2021-01-13, 16:47
Logout Mark Read Team Forum Stats Members Help
Has anyone successfully built Kodi using -flto0