Is anyone building GCC (and libstdc++ specifically) with uclibc? I haven't
done this in a while and when I do it now I get this build failure:
/scratch/sellcey/repos/uclibc-ng/src/gcc/libstdc++-v3/include/ext/random.tcc:
In member function '__gnu_cxx::{anonymous}::uniform_on_sphere_helper<_Dimen,
_RealType>::result_type
__gnu_cxx::{anonymous}::uniform_on_sphere_helper<_Dimen,
_RealType>::operator()(_NormalDistribution&, _UniformRandomNumberGenerator&)':
/scratch/sellcey/repos/uclibc-ng/src/gcc/libstdc++-v3/include/ext/random.tcc:1573:44:
error: expected unqualified-id before '(' token
while (__norm == _RealType(0) || ! std::isfinite(__norm));
I am thinking the issue may be isfinite, but I am not sure. I notice there
are some tests like 26_numerics/headers/cmath/c99_classification_macros_c++.cc
that are xfailed for uclibc and I wonder if this is a related problem.
I could not find any uses of isfinite in other C++ files (except cmath)
and the tests that use it are the same ones that are xfailed for uclibc.
Steve Ellcey
[email protected]