alloca means including <alloca.h> on SunOS
https://bugs.freedesktop.org/show_bug.cgi?id=91727
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: [email protected]
Reporter: [email protected]
came across this issue in amdgpu/amdgpu_cs.c while building libdrm-2.4.64
The following patch get over it for me:
Quoted 15 lines
$NetBSD: patch-amdgpu_amdgpu__cs.c,v 1.1 2015/08/18 13:26:29 richard Exp $ at least on SunOS, alloca needs
alloca.hamdgpu_cs.c renamed from amdgpu_cs.c.orig +3
-1@@ -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"
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=91727
--- Comment #1 from Michel Dänzer <[email protected]> ---
Please send the fix, generated by git format-patch and with your Signed-off-by:
line, to the [email protected] list.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=91727
Martin Peres <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED--- Comment #2 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/56.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel