Compilation of newest xf86-video-intel version with -flto results in error
Submitted by startas
Assigned to Chris Wilson @ickle
Description
I'm using manjaro linux, newest stable version, kernel 4.5, gcc 5.3.0, core i7 4510u + intel hd 4400 graphics, trying to compile fresh version of xf86-video-intel from git with flag "-flto" results in these errors :
blt.c: In function ‘to_sse128xN’:
blt.c:142:1: error: inlining failed in call to always_inline ‘xmm_save_128’: target specific option mismatch
xmm_save_128(__m128i dst, __m128i data)
^
blt.c:379:3: error: called from here
xmm_save_128((__m128i)dst + 7, xmm7);
^
blt.c:142:1: error: inlining failed in call to always_inline ‘xmm_save_128’: target specific option mismatch
xmm_save_128(__m128i dst, __m128i data)
^
blt.c:378:3: error: called from here
xmm_save_128((__m128i)dst + 6, xmm6);
^
blt.c:142:1: error: inlining failed in call to always_inline ‘xmm_save_128’: target specific option mismatch
xmm_save_128(__m128i dst, __m128i data)
^
blt.c:377:3: error: called from here
xmm_save_128((__m128i)dst + 5, xmm5);
^
blt.c:142:1: error: inlining failed in call to always_inline ‘xmm_save_128’: target specific option mismatch
xmm_save_128(__m128i dst, __m128i data)
^
blt.c:376:3: error: called from here
xmm_save_128((__m128i)dst + 4, xmm4);
^
blt.c:142:1: error: inlining failed in call to always_inline ‘xmm_save_128’: target specific option mismatch
xmm_save_128(__m128i dst, __m128i data)
^
blt.c:375:3: error: called from here
xmm_save_128((__m128i)dst + 3, xmm3);
^
blt.c:142:1: error: inlining failed in call to always_inline ‘xmm_save_128’: target specific option mismatch
xmm_save_128(__m128i dst, __m128i data)
^
blt.c:374:3: error: called from here
xmm_save_128((__m128i)dst + 2, xmm2);
^
blt.c:142:1: error: inlining failed in call to always_inline ‘xmm_save_128’: target specific option mismatch
xmm_save_128(__m128i dst, __m128i data)
^
blt.c:373:3: error: called from here
xmm_save_128((__m128i)dst + 1, xmm1);
^
blt.c:142:1: error: inlining failed in call to always_inline ‘xmm_save_128’: target specific option mismatch
xmm_save_128(__m128i dst, __m128i data)
^
blt.c:372:3: error: called from here
xmm_save_128((__m128i)dst + 0, xmm0);
^
blt.c:136:1: error: inlining failed in call to always_inline ‘xmm_load_128u’: target specific option mismatch
xmm_load_128u(const __m128i src)
^
blt.c:370:8: error: called from here
xmm7 = xmm_load_128u((const __m128i)src + 7);
^
blt.c:136:1: error: inlining failed in call to always_inline ‘xmm_load_128u’: target specific option mismatch
xmm_load_128u(const __m128i src)
^
blt.c:369:8: error: called from here
xmm6 = xmm_load_128u((const __m128i)src + 6);
^
blt.c:136:1: error: inlining failed in call to always_inline ‘xmm_load_128u’: target specific option mismatch
xmm_load_128u(const __m128i src)
^
blt.c:368:8: error: called from here
xmm5 = xmm_load_128u((const __m128i)src + 5);
^
blt.c:136:1: error: inlining failed in call to always_inline ‘xmm_load_128u’: target specific option mismatch
xmm_load_128u(const __m128i src)
^
blt.c:367:8: error: called from here
xmm4 = xmm_load_128u((const __m128i)src + 4);
^
blt.c:136:1: error: inlining failed in call to always_inline ‘xmm_load_128u’: target specific option mismatch
xmm_load_128u(const __m128i src)
^
blt.c:366:8: error: called from here
xmm3 = xmm_load_128u((const __m128i)src + 3);
^
blt.c:136:1: error: inlining failed in call to always_inline ‘xmm_load_128u’: target specific option mismatch
xmm_load_128u(const __m128i src)
^
blt.c:365:8: error: called from here
xmm2 = xmm_load_128u((const __m128i)src + 2);
^
blt.c:136:1: error: inlining failed in call to always_inline ‘xmm_load_128u’: target specific option mismatch
xmm_load_128u(const __m128i src)
^
blt.c:364:8: error: called from here
xmm1 = xmm_load_128u((const __m128i)src + 1);
^
blt.c:136:1: error: inlining failed in call to always_inline ‘xmm_load_128u’: target specific option mismatch
xmm_load_128u(const __m128i src)
^
blt.c:363:8: error: called from here
xmm0 = xmm_load_128u((const __m128i)src + 0);
^
Makefile:649: recipe for target 'blt.lo' failed
make[4]: *** [blt.lo] Error 1