On Fri, 14 Sep 2012, H.J. Lu wrote: > +# Only support for glibc 2.3.0 or higher with AT_PHDR/AT_PHNUM from > +# Linux kernel. > + [[if test x$host = x$build -a x$host = x$target && > + ldd --version 2>&1 >/dev/null &&
Could we please stop adding this sort of native-only test? There is various existing code that examines headers to determine glibc features, which is more cross-compile friendly. This should probably be factored out into an autoconf macro to determine values from target headers, used once in configure.ac to get the glibc version for tools with glibc targets, and the --enable-gnu-unique-object test should be changed to use the version from the headers like other tests do. -- Joseph S. Myers jos...@codesourcery.com