<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Latest git fails to compile with radeon"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101189#c16">Comment # 16</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Latest git fails to compile with radeon"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101189">bug 101189</a>
from <span class="vcard"><a class="email" href="mailto:public@sourcemage.org" title="Pavel Vinogradov <public@sourcemage.org>"> <span class="fn">Pavel Vinogradov</span></a>
</span></b>
<pre>try current git, the patchset was applied there smoothly.
(In reply to Benji Wiebe from <a href="show_bug.cgi?id=101189#c15">comment #15</a>)
<span class="quote">> With this patch <a href="https://patchwork.freedesktop.org/patch/158696/">https://patchwork.freedesktop.org/patch/158696/</a> 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.</span ></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>