From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 91727] alloca means including on SunOS
Date: Sun, 23 Aug 2015 05:22:42 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1035737336=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id F199C8864B
for ; Sat, 22 Aug 2015 22:22:42 -0700 (PDT)
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
--===============1035737336==
Content-Type: multipart/alternative; boundary="1440307362.B485700.19679"; charset="UTF-8"
--1440307362.B485700.19679
Date: Sun, 23 Aug 2015 05:22:42 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.freedesktop.org/show_bug.cgi?id=3D91727
Bug ID: 91727
Summary: alloca means including on SunOS
Product: DRI
Version: XOrg git
Hardware: Other
OS: Solaris
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: dri-devel@lists.freedesktop.org
Reporter: richard@netbsd.org
came across this issue in amdgpu/amdgpu_cs.c while building libdrm-2.4.64
The following patch get over it for me:
>$NetBSD: patch-amdgpu_amdgpu__cs.c,v 1.1 2015/08/18 13:26:29 richard Exp $
>at least on SunOS, alloca needs alloca.h
>--- amdgpu/amdgpu_cs.c.orig 2015-08-13 22:27:03.000000000 +0000
>+++ amdgpu/amdgpu_cs.c
>@@ -32,7 +32,9 @@
> #include
> #include
> #include
>-
>+#ifdef HAVE_ALLOCA_H
>+#include
>+#endif
> #include "xf86drm.h"
> #include "amdgpu_drm.h"
> #include "amdgpu_internal.h"
--=20
You are receiving this mail because:
You are the assignee for the bug.
--1440307362.B485700.19679
Date: Sun, 23 Aug 2015 05:22:42 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
| Bug ID |
91727
|
| Summary |
alloca means including <alloca.h> on SunOS
|
| Product |
DRI
|
| Version |
XOrg git
|
| Hardware |
Other
|
| OS |
Solaris
|
| Status |
NEW
|
| Severity |
normal
|
| Priority |
medium
|
| Component |
DRM/AMDgpu
|
| Assignee |
dri-devel@lists.freedesktop.org
|
| Reporter |
richard@netbsd.org
|
came across this issue in amdgpu/amdgpu_cs.c while building li=
bdrm-2.4.64
The following patch get over it for me:
>$NetBSD: patch-amdgpu_amdgpu__cs.c,v 1.1 2015/08/=
18 13:26:29 richard Exp $
>at least on SunOS, alloca needs alloca.h
>--- amdgpu/amdgpu_cs.c.orig 2015-08-13 22:27:03.000000000 +0000
>+++ amdgpu/amdgpu_cs.c
>@@ -32,7 +32,9 @@
> #include <pthread.h>
> #include <sched.h>
> #include <sys/ioctl.h>
>-
>+#ifdef HAVE_ALLOCA_H
>+#include <alloca.h>
>+#endif
> #include "xf86drm.h"
> #include "amdgpu_drm.h"
> #include "amdgpu_internal.h"
You are receiving this mail because:
=20=20=20=20=20=20
- You are the assignee for the bug.
--1440307362.B485700.19679--
--===============1035737336==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0
cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK
--===============1035737336==--