Compile bug in libm with busybox (patch included)

rhabarber1848 rhabarber1848 at web.de
Wed Feb 18 20:03:13 UTC 2009


Hi,

Denys Vlasenko wrote:

> In nan.c it is in this #if:
> 
> #if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
> libm_hidden_proto(nanl)
> long double nanl (const char *tagp)
> 
> but you do have UCLIBC_HAS_LONG_DOUBLE_MATH=y in your .config.

true, but libc/sysdeps/linux/powerpc/bits/mathdef.h shows

> #ifdef __UCLIBC_HAS_LONG_DOUBLE_MATH__
> #include <bits/wordsize.h>
> /* Signal that we do not really have a `long double'.  The disables the
>    declaration of all the `long double' function variants.  */
> # if __WORDSIZE == 32
> #  undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
> # endif  /* __WORDSIZE == 32 */
> #endif  /* __UCLIBC_HAS_LONG_DOUBLE_MATH__ */

This was added in rev 23582, for now I will deactivate
UCLIBC_HAS_LONG_DOUBLE_MATH and come back later with more answers to your
questions.

Cheers, rhabarber1848




More information about the uClibc mailing list