On 5/1/24 05:18, Dario Binacchi wrote:
Hello Richard,
On Tue, Apr 30, 2024 at 8:15 PM Richard Henderson
<richard.hender...@linaro.org> wrote:
On 4/30/24 09:47, Dario Binacchi wrote:
The fp-bench test (i. e. tests/fp/fp-bench.c) use fenv.h that is not
always provided by the libc (uClibc). The patch disables its compilation
in case the header is not available.
Since uclibc has had fenv.h since 2008, are you sure this isn't simply a case
of a corrupt
installation?
r~
It's not an issue of corrupted installation but rather of compilation:
Installation of your cross-compiler or buildroot, I mean.
../tests/fp/fp-bench.c:15:10: fatal error: fenv.h: No such file or directory
15 | #include <fenv.h>
| ^~~~~~~~
compilation terminated.
Yes, yes. However, <fenv.h> is present in uclibc-ng, and has been since 2008.
So *why* is fenv.h not present?
r~