[Bug 101189] Latest git fails to compile with radeon

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 17 04:28:41 UTC 2017


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

--- Comment #16 from Pavel Vinogradov <public at sourcemage.org> ---
try current git, the patchset was applied there smoothly.

(In reply to Benji Wiebe from comment #15)
> 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/f41b8eb2/attachment.html>


More information about the dri-devel mailing list