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

Bug#878806: debug-file-with-no-debug-symbols: mention lack of -g as common cause



Package: lintian
Version: 2.5.55
Severity: minor
Tags: patch

Mention the most (?) common cause of debug-file-with-no-debug-symbols:

diff --git a/checks/binaries.desc b/checks/binaries.desc
index 73f789a59..708ad263a 100644
--- a/checks/binaries.desc
+++ b/checks/binaries.desc
@@ -424,6 +424,8 @@ Ref: #668437
 Info: The binary is installed as a detached "debug symbols" ELF file,
  but it does not appear to have debug information associated with it.
  .
+ A common cause is not passing <tt>-g</tt> to GCC when compiling.
+ .
  Implementation detail: Lintian checks for the ".debug_line" and the
  ".debug_str" sections.  If either of these are present, the binary
  is assumed to contain debug information.


Reply to: