This is the mail archive of the libc-alpha@sources.redhat.com 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: How are CPU-optimized libraries supposed to work?


On Fri, Oct 03, 2003 at 03:15:41PM -0700, Roland McGrath wrote:
> > In any case here's a patch to make i686 libraries work with an i386
> > ld.so again.  Results look pretty good so far.
> 
> I don't think this is entirely doable.  That is, if any [HP_TIMING_AVAIL]
> code gets used, it won't produce correct results.  ld.so (_dl_start_final)
> initializes GL(dl_cpuclock_offset), and that needs to have been done if
> clock_gettime is called.

Oh hm, I didn't realize that HP_TIMING_AVAIL was used for code in
addition to linker statistics etc.

I'll have to think about this.  Otherwise it's a real killer for using
either i686-linuxthreads or i686-NPTL libraries on a distribution that
still supports the i386 (like Debian does).

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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