1 |
On 09/06/2009 11:22 AM, Erik wrote: |
2 |
> Nikos Chantziaras skrev: |
3 |
>> On 09/06/2009 09:43 AM, Erik wrote: |
4 |
>>> I have emerged glibc with "debug -glibc-omitfp" and restarted the |
5 |
>>> system. But when I execute "valgrind /usr/lib/mozilla-firefox/firefox" I |
6 |
>>> only see things like this: |
7 |
>>> Invalid read of size 4 |
8 |
>>> at 0x4018620: (within /lib/ld-2.9.so) |
9 |
>>> |
10 |
>>> No filename:linenumber here. What does it take to get debug symbols from |
11 |
>>> /lib/ld-2.9.so? |
12 |
>> |
13 |
>> Don't emerge with "debug -glibc-omitfp". Emerge with "splitdebug" in |
14 |
>> FEATURES. |
15 |
> Done: |
16 |
> Conditional jump or move depends on uninitialised value(s) |
17 |
> at 0x400C0AC: _dl_relocate_object (in /lib/ld-2.9.so) |
18 |
> |
19 |
> Now it at least shows the function name. But still no |
20 |
> filename:linenumber. Maybe I need "debug" for that after all? |
21 |
|
22 |
Just "-g" in CFLAGS. |