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 03:14:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1087886411==" 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 5F2916E096 for ; Sat, 17 Jun 2017 03:14:59 +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 --===============1087886411== Content-Type: multipart/alternative; boundary="14976692990.Dd6B.26259"; charset="UTF-8" --14976692990.Dd6B.26259 Date: Sat, 17 Jun 2017 03:14:59 +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 Benji Wiebe changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED --- Comment #15 from Benji Wiebe --- 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 =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; ^~~~~~~~~~~~~~~~~~~~ And then a few more compiler warnings/errors that I believe tie into the ab= ove one and will be resolved when the above is resolved. --=20 You are receiving this mail because: You are the assignee for the bug.= --14976692990.Dd6B.26259 Date: Sat, 17 Jun 2017 03:14:59 +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 Benji Wiebe changed bug 10118= 9
What Removed Added
Resolution FIXED ---
Status RESOLVED REOPENED

Comme= nt # 15 on bug 10118= 9 from Benji Wiebe
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
=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;
                ^~~~~~~~~~~~~~~~~~~~



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


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