From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 91727] alloca means including <alloca.h> on SunOS
Date: Sun, 23 Aug 2015 05:22:42 +0000 [thread overview]
Message-ID: <bug-91727-502@http.bugs.freedesktop.org/> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1109 bytes --]
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: 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 <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:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2558 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2015-08-23 5:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-23 5:22 bugzilla-daemon [this message]
2015-09-10 7:25 ` [Bug 91727] alloca means including <alloca.h> on SunOS bugzilla-daemon
2019-11-19 8:06 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-91727-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox