From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 101189] Latest git fails to compile with radeon Date: Sat, 17 Jun 2017 04:28:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0043659083==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id DA67A6EA45 for ; Sat, 17 Jun 2017 04:28:40 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0043659083== Content-Type: multipart/alternative; boundary="14976737203.a26b.32411"; charset="UTF-8" --14976737203.a26b.32411 Date: Sat, 17 Jun 2017 04:28:40 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D101189 --- Comment #16 from Pavel Vinogradov --- 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 amdgp= u.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): >=20 > 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 > =E2=80=98amdgpu_device_handle=E2=80=99 > 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 > =E2=80=98amdgpu_device_handle=E2=80=99 was here > typedef void * amdgpu_device_handle; > ^~~~~~~~~~~~~~~~~~~~ >=20 >=20 >=20 > 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --14976737203.a26b.32411 Date: Sat, 17 Jun 2017 04:28:40 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 16 on bug 10118= 9 from Pavel Vinogradov
try current git, the patchset was applied there smoothly.

(In reply to Benji Wiebe from comm=
ent #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 am=
dgpu.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 t=
he
> stdint/stdbool includes):
>=20
> 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
> =E2=80=98amdgpu_device_handle=E2=80=99
>  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 declaratio=
n of
> =E2=80=98amdgpu_device_handle=E2=80=99 was here
>  typedef void * amdgpu_device_handle;
>                 ^~~~~~~~~~~~~~~~~~~~
>=20
>=20
>=20
> And then a few more compiler warnings/errors that I believe tie into t=
he
> above one and will be resolved when the above is resolved.
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --14976737203.a26b.32411-- --===============0043659083== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0043659083==--