Bug 71391

Summary: latest git master fails to build
Product: Mesa Reporter: Armin K <krejzi>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: RESOLVED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium CC: kai, ullysses.a.eoff
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Armin K 2013-11-08 15:11:39 UTC
Mesa git master from today, which includes Ian's patches for GLX_MESA_query_renderer are broken because of reverted libdrm commit which added necessarry interfaces for this extension:

http://cgit.freedesktop.org/mesa/drm/commit/?id=da738d1ed0a0941a0cd061395ad86072171b3242

Build error is the following:

brw_context.c: In function 'brwCreateContext':
brw_context.c:721:9: error: implicit declaration of function 'drm_intel_get_reset_stats' [-Werror=implicit-function-declaration]
         || drm_intel_get_reset_stats(brw->hw_ctx, &brw->reset_count, NULL,

Assigning to Mesa since it depends on a yet unreleased library, yet worse on a yet non-existing interface
Comment 1 Ian Romanick 2013-11-08 16:27:39 UTC
Use libdrm from git.
Comment 2 Armin K 2013-11-08 21:29:36 UTC
It doesn't work with libdrm from git since it got necessarry commit reverted.

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.