Bug 94966 - Compilation of newest xf86-video-intel version with -flto results in error
Summary: Compilation of newest xf86-video-intel version with -flto results in error
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-16 13:14 UTC by startas
Modified: 2019-11-27 13:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description startas 2016-04-16 13:14:32 UTC
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
Comment 1 Martin Peres 2019-11-27 13:44:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/issues/107.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.