I have a NAS (dlink-320) with a fully working fun_plug (http://wiki.dns323.info/
) Linux system.
However when I try to install x263 the configuration scripts says it need the math function log2f()
But because fun_plug uses uClib instead of glibc and uClib have not yet implemented log2f() function I am trying to compile the glibc instead.
I am only interested in the math part of glibc but have not found any documentation to just compile this part so it seems that I have to compile "most" of it.
I have glibc-2.11.2 and glibc-ports-2.9
I have copied glibc-ports-2.9/sysdeps/arm to glibc-2.11.2/sysdeps.
and I enter
../configure --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include --enable-shared --build=arm-linux
but get the following error message
running configure fragment for sysdeps/arm/elf
checking for ARM TLS support... yes
running configure fragment for nptl/sysdeps/pthread
configure: error: compiler support for __thread is required
Why is this error occur and how do I fix this problem fairly easy?
I have tried to removing the nptl directory and used flag --disable-sanity-checks but this does not feels like the right way.
Is it correct to glibc-ports-2.9/sysdeps/arm to glibc-2.11.2/sysdeps or should it have been done in some other way ?