<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Unable to build when configured with openmp and CFLAGS/LDFLAGS contain -fopenmp"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87137">87137</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Unable to build when configured with openmp and CFLAGS/LDFLAGS contain -fopenmp
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>10.3
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>trivial
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>chris.anderson2014@yandex.com
</td>
</tr></table>
<p>
<div>
<pre>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 <a href="https://bugs.gentoo.org/show_bug.cgi?id=532020">https://bugs.gentoo.org/show_bug.cgi?id=532020</a>, 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>