[Mesa-dev] [Bug 87137] Unable to build when configured with openmp and CFLAGS/LDFLAGS contain -fopenmp
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Dec 8 22:18:02 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=87137
Bug ID: 87137
Summary: Unable to build when configured with openmp and
CFLAGS/LDFLAGS contain -fopenmp
Product: Mesa
Version: 10.3
Hardware: x86-64 (AMD64)
OS: All
Status: NEW
Severity: trivial
Priority: medium
Component: Mesa core
Assignee: mesa-dev at lists.freedesktop.org
Reporter: chris.anderson2014 at yandex.com
For sometime now, I have a mythtv machine that I built using gentoo. I
sometimes update it and have noticed that for sometime that the build fails
when I enable openmp in gentoo;s use flags (does that mean it gets configured
with --openmp or something or other) and also add -fopenmp to the CFLAGS and
LDFLAGS.
The bug is here https://bugs.gentoo.org/show_bug.cgi?id=532020, which the
gentoo nazi's will probably reject because there is no line that contains my
CPU id but the solution for me is to add a define for:
extern int omp_get_num_threads();
in src/mesa/swrast/s_aatritemp.h
and the missing header in for #include <omp.h>
in src/mesa/swrast/s_context.c and src/mesa/swrast/s_texcombine.c
I think that you need to add this with some goddamn ugly #if defined(...)
nastyness, but I could be wrong.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141209/35f82f3f/attachment.html>
More information about the mesa-dev
mailing list