I am also having this problem. I'm trying to profile libcurl in Ubuntu
16.04 LTS and I get this:

export LD_PROFILE_OUTPUT=`pwd`
export LD_PROFILE=libcurl.so.4
src/.libs/lt-curl google.com > /dev/null
sprof lib/.libs/libcurl.so.4 libcurl.so.4.profile -p >log

_dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state ==
RT_CONSISTENT' failed!

I compiled with -fno-omit-frame-pointer -g -pg in CFLAGS and CXXFLAGS

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/462760

Title:
  sprof fails to work with shared objects

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/462760/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to