[pacman-dev] Pacman split debug info symbol path

Allan McRae allan at archlinux.org
Sat Mar 29 19:23:41 EDT 2014

On 30/03/14 04:00, Dave Reisner wrote:
> On Mar 29, 2014 1:52 PM, "Steven Noonan" <steven at uplinklabs.net> wrote:
>> On Sat, Mar 29, 2014 at 10:41 AM, Dave Reisner <d at falconindy.com> wrote:
>>> On Mar 29, 2014 1:36 PM, "Steven Noonan" <steven at uplinklabs.net> wrote:
>>>> Hi folks,
>>>> I think the directory Pacman is using for the split-out debug symbols
>>>> is incorrect. This appears to be needed:
>>> Why do you think this? What are the symptoms you're seeing? I use debug
>>> packages all the time and they work as expected.
>> I've seen tools complain they can't find debug symbols or simply not show
> any.
>> What tools have you used successfully? perf, gdb, and oprofile all
>> seem to look in the 'debug-id' directory, not in 'debug_id'...
> gdb and valgrind, mostly. I've not seen either complain about missing
> symbols.

I think this is an actual bug.  I bet gdb/valgrind are finding the
/usr/lib/debug/path/to/file symlinks and not using the .build-id path.

More information about the pacman-dev mailing list