Summary: | c99_alloca.h:40:22: fatal error: alloca.h: No such file or directory | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | blocker | ||
Priority: | medium | Keywords: | regression |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Proposed fix for FreeBSD |
Description
Vinson Lee
2015-02-27 18:48:27 UTC
The _MSC_VER check fails on MinGW. I'll post a patch... Fixed by 098e5bf3b37431af2a9156789cbc9534f0b70235 mesa: 76cd0f00f44c0935dc7d6a0e14e0515f08a8e1dc (master 10.6.0-devel) Same build error with FreeBSD. CC nir/nir_from_ssa.lo In file included from nir/nir_from_ssa.c:29: ../../include/c99_alloca.h:44:12: fatal error: 'alloca.h' file not found # include <alloca.h> ^ Created attachment 113888 [details] [review] Proposed fix for FreeBSD Vinson, can you try this patch? OpenBSD (and likely other BSDs/Mac OS X) also needs to include stdlib.h for alloca(). DragonFly BSD also has this same build error. Mac OS X does not have this build error. Vinson, can you retest with the latest code and close this bug if things check out? Thanks. I no longer see this specific build error. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.