This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Test optimizations for multiple architectures


> I assume you meant [...]

That's not the only thing.  The sad fact is that some idiot will build his
production library with your configure option too.  And the simple fact is
that everyone else's package build times will suffer by having to do yet
another whole glibc build just to run the tests and then throw it away and
do the real build without the testing hacks built into the library.

> Override selection of functions at runtime may not be easy since it is
> called quite earlier during start up.

Unless you use LD_BIND_NOW, it's not done until the functions are used.
Any references in libc's on PLT might be resolved early, for str* calls
made in startup code before main.  But the test program won't make any
calls to str*/mem* itself before main runs.


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