This is the mail archive of the glibc-bugs@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]

[Bug dynamic-link/14370] ld.so crashes on mismatched TLS/non-TLS symbols


http://sourceware.org/bugzilla/show_bug.cgi?id=14370

--- Comment #23 from H.J. Lu <hjl.tools at gmail dot com> 2012-09-05 15:29:56 UTC ---
(In reply to comment #22)
> (In reply to comment #20)
> 
> > The performance impact is too small to be visible unless most
> > of time is spent in _dl_symbol_lookup_x.
> 
> For a large application with 1000+ shared libraries (which is how we run unit
> tests here), time-to-main often *is* dominated by _dl_symbol_lookup_x.

Do you have a setup to simulate this with the newly built glibc
without installing it?

> "make && make check" are about the worst possible way to measure the impact --
> they invoke small programs with (relatively) very few dynamic symbol
> resolutions.

Understand.  But it is the easiest way to test the newly built glibc.

> Measuring startup time for Firefox or OpenOffice would (I expect) be much more
> meaningful.

This isn't practical for me.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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