On Thu, 5 Sep 2013, Bernhard Reutner-Fischer wrote: > uClibc has C99 math support optionally as well as other optional, nonstandard > feature sets. Your patch does not seem to check (in a cross-compilable > fashion, of course) if C99 math is supported in libc or not, thus regressing > on uClibc with C99_MATH enabled.
It is a basic principle that it should be possible to bootstrap cross tools by building the compiler, once, then using it to build runtime libraries. We haven't got there yet, but configure-time tests for library features that affect how the compiler behaves are best avoided so as to support such bootstraps - and if present, it's best for there to be a corresponding configure option to override them, and a command-line option to control things on a per-multilib basis. To the extent that we do have configure support for checking library headers if those are available when the compiler is configured, it only supports checking the default multilib and not headers for other multilibs. -- Joseph S. Myers jos...@codesourcery.com