blob: 64b22388e4a8f58310082416c5723ca6cf6c62d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Tag: debug-symbols-not-detached
Severity: warning
Check: binaries/debug-symbols/detached
Renamed-From:
debug-file-should-use-detached-symbols
Explanation: This file is in a location generally used for detached debugging
symbols, but it appears to contain a complete copy of the executable or
library instead of only the debugging symbols.
.
Files in subdirectories of <code>/usr/lib/debug</code> mirroring the main file
system should contain only debugging information generated by <code>objcopy
--only-keep-debug</code>. Binaries or shared objects built with extra
debugging should be installed directly in <code>/usr/lib/debug</code> or in
subdirectories corresponding to the package, not in the directories that
mirror the main file system.
.
If you are using dh_strip with the --dbg-package flag, don't also install
the library in <code>/usr/lib/debug</code>. dh_strip does all the work for
you.
See-Also:
developer-reference 6.8.9
|