On Tue, 24 May 2011, Guozhi Wei wrote: > Index: getpagesize.c > =================================================================== > --- getpagesize.c (revision 174099) > +++ getpagesize.c (working copy) > @@ -60,11 +60,13 @@ BUGS > # endif /* PAGESIZE */ > #endif /* GNU_OUR_PAGESIZE */ > > +#if DEFAULT_LIBC != LIBC_BIONIC
This makes no sense to me. getpagesize.c is in libiberty. libiberty does not include any GCC-specific headers - and in particular, does not include tm.h, which is where the definitions of DEFAULT_LIBC and LIBC_BIONIC would come from (via tm_defines in config.gcc). (In any case, I thought it was now accepted that libiberty should stop being built for the target, and obviously it doesn't make sense for this particular host-side functionality to depend on what the target is.) -- Joseph S. Myers jos...@codesourcery.com