This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Compilation getting slower


On  2 Sep, Andreas Jaeger wrote:
> 
> One problem going from libc5 to glibc 2.1 is that glibc 2.1 comes with
> a number of inline functions and macros for the string functions.  Can
> you try the glibc 2.1 tests again with -D__NO_STRING_INLINES?

I tried it only for egcs-1.1.2 with "-g -O2"
Without -D__NO_STRING_INLINES time was 2m58s with -D__NO_STRING_INLINES
it was 2m48s, so it seems is one of the reasons it runs slower.

Now, can you please explain me a bit why does glibc2 use those inline
functions (if they are better why?), and what is the impact on compiling
software with -D__NO_STRING_INLINES defined?

Thanks,
-- 
Dan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]