Bug 69056 - Doesn't compile with --disable-dri
Summary: Doesn't compile with --disable-dri
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-06 22:02 UTC by Ross Burton
Modified: 2013-09-06 23:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Compile log (489.69 KB, text/plain)
2013-09-06 22:02 UTC, Ross Burton
no flags Details

Description Ross Burton 2013-09-06 22:02:42 UTC
Created attachment 85381 [details]
Compile log

If xf86-video-intel (2.21.13 here) is compiled with --disable-dri (and no mesa is present) then it fails to compile very rapidly due to an unguarded #include "dri2.h" in intel.h.  Guarding that produces lots of errors, see log attached.

Is building the Intel driver without DRI still a supported configuration?
Comment 1 Chris Wilson 2013-09-06 23:01:45 UTC
I see the problem, you were trying to build UXA...

Oh well, that has been broken for ages.

commit ea30967245707ca4825de154e589a83dc605dae0
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Sep 6 22:54:48 2013 +0000

    configure: Disable UXA build without DRI2
    
    DRI2 is interwoven into the UXA structs, so simply disable building UXA
    if DRI2 is not available.
    
    Reported-by: Ross Burton <ross@burtonini.com>
    Bugzilla:  https://bugs.freedesktop.org/show_bug.cgi?id=69056
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>


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.