Error on test file for libm(test_vec.c)?
J. Johnston
jjohnstn@cygnus.com
Wed Mar 28 11:56:00 GMT 2001
> Cliff Tsai wrote:
>
> Hi:
> I'm compiling the test files for libm under newlib/libm/test/
> But one error occur.I've checked similar file (tets_log10).
> But there is no such error in test_log10.Do anyone have suggestion?
>
> ..\log2_vec.c: In function `test_log2':
> ..\log2_vec.c:400: `log2' undeclared (first use in this function)
> ..\log2_vec.c:400: (Each undeclared identifier is reported only once
> ..\log2_vec.c:400: for each function it appears in.)
>
>
>
>
Cliff,
You will have to remove the log2 stuff and references to it since log2 is not part of libm. You
will also have to remove the test_ieee stuff since we don't have the "rounding" routines referenced
either.
I have personally never run these tests (they were last touched in '94) so I can't comment on how
accurate or up to date they are. I am currently running a test using an internal build that is
still running, but I have already noticed a number of failures in the xxxcvt/xxxcvtbuf routines. I
will have a look at these failures.
-- Jeff J.
More information about the Newlib
mailing list