On 09/06/2009 11:22 AM, Erik wrote:
Nikos Chantziaras skrev:
On 09/06/2009 09:43 AM, Erik wrote:
I have emerged glibc with "debug -glibc-omitfp" and restarted the
system. But when I execute "valgrind /usr/lib/mozilla-firefox/firefox" I
only see things like this:
Invalid read of size 4
     at 0x4018620: (within /lib/ld-2.9.so)

No filename:linenumber here. What does it take to get debug symbols from
/lib/ld-2.9.so?

Don't emerge with "debug -glibc-omitfp".  Emerge with "splitdebug" in
FEATURES.
Done:
Conditional jump or move depends on uninitialised value(s)
    at 0x400C0AC: _dl_relocate_object (in /lib/ld-2.9.so)

Now it at least shows the function name. But still no
filename:linenumber. Maybe I need "debug" for that after all?

Just "-g" in CFLAGS.


Reply via email to