[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#941295: libvulkan1: Please provide debug symbols in -dbgsym package



Package: libvulkan1
Severity: normal

$ file /usr/lib/x86_64-linux-gnu/libvulkan.so.1.1.121
/usr/lib/x86_64-linux-gnu/libvulkan.so.1.1.121: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=7b02a413d96ddc8829ac8067e4c52a6fcfa110d6, stripped
$

It looks like libvulkan1 is stripped and has no extra debug info. I wish to have
access to it, as it helps with reading some stack traces, and memory leak origins
in valgrind for example, and it is helpful when developing Vulkan layers (i.e. in
Mesa).

AFAIK all is needed is to simply call dh_strip in rules file. But it is also
possible you need to add -g or similar to compiler flags before building vulkan
loader.

Thanks.

PS. Same applies to shadered libraries vulkan-validationlayers package.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/32 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


Reply to: