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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev