<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - build fails because FE_INVALID is used uncoditionally in tests"
href="https://bugs.freedesktop.org/show_bug.cgi?id=55771">55771</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>cworth@cworth.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>build fails because FE_INVALID is used uncoditionally in tests
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>cairo-bugs@cairographics.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>blocker
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nico.nelson-91c8b80@yopmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>ARM
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>1.12.2
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>cairo
</td>
</tr></table>
<p>
<div>
<pre>CC cairo_test_suite-in-fill-trapezoid.o
CC cairo_test_suite-invalid-matrix.o
invalid-matrix.c: In function 'draw':
invalid-matrix.c:367:20: error: 'FE_INVALID' undeclared (first use in this
function)
invalid-matrix.c:367:20: note: each undeclared identifier is reported only once
for each function it appears in
At top level:
cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
make[4]: *** [cairo_test_suite-invalid-matrix.o] Error 1
make[4]: Leaving directory `/src/build/cairo/cairo-1.12.2/test'
make[3]: *** [all-recursive] Error 1
according to musl libc author:
"C99 requires the FE_ macros to be defined if and only if the exception they
correspond to is supported"
and since ARM doesn't necessarily support a FPU, this is optional.
the proper way to test is to check if each of the FE_ is defined before using
it.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>