[Bug 101189] Latest git fails to compile with radeon

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 17 03:14:59 UTC 2017


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

Benji Wiebe <benjiwiebe14 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #15 from Benji Wiebe <benjiwiebe14 at gmail.com> ---
With this patch https://patchwork.freedesktop.org/patch/158696/ the build is
broken for me now, not using radeon. Two issues: 1) when you remove amdgpu.h
from ac_gpu_info.h, you need to (but didn't) add includes for stdint.h and
stdbool.h. 2) I get the following error when compiling (after adding the
stdint/stdbool includes):

In file included from ../../../src/amd/common/ac_gpu_info.c:37:0:
/usr/local/include/libdrm/amdgpu.h:107:31: error: conflicting types for
‘amdgpu_device_handle’
 typedef struct amdgpu_device *amdgpu_device_handle;
                               ^~~~~~~~~~~~~~~~~~~~
In file included from ../../../src/amd/common/ac_gpu_info.c:26:0:
../../../src/amd/common/ac_gpu_info.h:39:16: note: previous declaration of
‘amdgpu_device_handle’ was here
 typedef void * amdgpu_device_handle;
                ^~~~~~~~~~~~~~~~~~~~



And then a few more compiler warnings/errors that I believe tie into the above
one and will be resolved when the above is resolved.

-- 
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/20170617/33415add/attachment.html>


More information about the dri-devel mailing list