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: [patch] Remove sprof default installation


Hi Jan,

Jan Kratochvil wrote:
currently sprof is broken:
  $ sprof -p ./hello.so ./hello.so.profile
  sprof: failed to load shared object `./hello.so'

because __RTLD_SPROF is no longer supported by dlopen_doit(), moreover it
later crashes on corrupted `r_state'.  Bugreported by Olivier Fourdan.

As gprof/-pg/sprof is now obsoleted by oprofile suggesting to start removing
its support rather than fixing it.

I have just opened yesterday a bugzilla to fix sprof in glibc with a proposed patch (see bug#458861)


That patch for glibc is trivial seem to work fine.

Cheers,
Olivier.


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