Bug 90840 - latest xf86-video-intel (from git) fails to compile: inlining failed in call to always_inline 'compute_linear'
Summary: latest xf86-video-intel (from git) fails to compile: inlining failed in call ...
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-04 09:00 UTC by František Fencl
Modified: 2015-06-04 09:02 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
log from ./configure and make (21.63 KB, text/plain)
2015-06-04 09:00 UTC, František Fencl
no flags Details

Description František Fencl 2015-06-04 09:00:13 UTC
Created attachment 116280 [details]
log from ./configure and make

GCC: 5.1.0
kernel 4.0.4
make[4]: Entering directory `/usr/src/xorg/driver/xf86-video-intel/src/sna'
  CC     blt.lo
  CC     kgem.lo
  CC     sna_accel.lo
sna_accel.c: In function 'sna_poly_zero_line_blt':
sna_accel.c:9217:11: warning: variable 'intersects' set but not used [-Wunused-but-set-variable]
      bool intersects;
           ^
sna_accel.c:9117:7: warning: variable 'degenerate' set but not used [-Wunused-but-set-variable]
  bool degenerate = true;
       ^
  CC     sna_acpi.lo
  CC     sna_blt.lo
  CC     sna_composite.lo
  CC     sna_cpu.lo
  CC     sna_damage.lo
  CC     sna_display.lo
  CC     sna_display_fake.lo
  CC     sna_driver.lo
  CC     sna_glyphs.lo
  CC     sna_gradient.lo
  CC     sna_io.lo
  CC     sna_render.lo
  CC     sna_stream.lo
  CC     sna_trapezoids.lo
  CC     sna_trapezoids_boxes.lo
  CC     sna_trapezoids_imprecise.lo
  CC     sna_trapezoids_mono.lo
  CC     sna_trapezoids_precise.lo
  CC     sna_tiling.lo
  CC     sna_transform.lo
  CC     sna_threads.lo
  CC     sna_vertex.lo
  CC     sna_video.lo
  CC     sna_video_overlay.lo
  CC     sna_video_sprite.lo
  CC     sna_video_textured.lo
  CC     gen2_render.lo
  CC     gen3_render.lo
  CC     gen4_common.lo
  CC     gen4_render.lo
  CC     gen4_source.lo
  CC     gen4_vertex.lo
gen4_vertex.c: In function 'emit_primitive_linear__avx2':
gen4_vertex.c:312:1: error: inlining failed in call to always_inline 'compute_linear': optimization level attribute mismatch
 compute_linear(const struct sna_composite_channel *channel,
 ^
gen4_vertex.c:1523:9: error: called from here
  v[5] = compute_linear(&op->src, r->src.x, r->src.y);
         ^
gen4_vertex.c:312:1: error: inlining failed in call to always_inline 'compute_linear': optimization level attribute mismatch
 compute_linear(const struct sna_composite_channel *channel,
 ^
gen4_vertex.c:1522:9: error: called from here
  v[3] = compute_linear(&op->src, r->src.x, r->src.y+r->height);
         ^
gen4_vertex.c:312:1: error: inlining failed in call to always_inline 'compute_linear': optimization level attribute mismatch
 compute_linear(const struct sna_composite_channel *channel,
 ^
gen4_vertex.c:1521:9: error: called from here
  v[1] = compute_linear(&op->src, r->src.x+r->width, r->src.y+r->height);
         ^
make[4]: *** [gen4_vertex.lo] Error 1
Comment 1 Chris Wilson 2015-06-04 09:02:50 UTC
Known gcc5 bug.


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.