[Bug 101190] building gallium/R600 fails due to missing amdgpu.h

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 25 17:21:12 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101190

            Bug ID: 101190
           Summary: building gallium/R600 fails due to missing amdgpu.h
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/Gallium/r600
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: acelists at atlas.sk
        QA Contact: dri-devel at lists.freedesktop.org

Since some days I can't compile Mesa git due to the following error:

 CC       common/common_libamd_common_la-ac_gpu_info.lo
In file included from common/ac_gpu_info.c:26:0:
common/ac_gpu_info.h:31:20: fatal error: amdgpu.h: No such file or directory
compilation terminated.
make[4]: *** [Makefile:936: common/common_libamd_common_la-ac_gpu_info.lo]
Error 1
make[4]: Leaving directory 'mesa-git/src/amd'
make[3]: *** [Makefile:738: all] Error 2
make[3]: Leaving directory 'mesa-git/src/amd'
make[2]: *** [Makefile:850: all-recursive] Error 1
make[2]: Leaving directory 'mesa-git/src'
make[1]: *** [Makefile:641: all] Error 2
make[1]: Leaving directory 'mesa-git/src'
make: *** [Makefile:641: all-recursive] Error 1

Build was working fine some 2 weeks ago.

This is strange as I do not want to compile AMDGPU driver, I am compiling r600
(for a rv710 card). I have selected these drivers:
--with-dri-drivers="" --with-gallium-drivers="r600,swrast"

Even if compiling r600 needed amdgpu.h, I do have that in
/usr/include/libdrm/amdgpu.h . So it may be just the including does not work
right.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170525/9fa89997/attachment.html>


More information about the dri-devel mailing list