cygport: No debuginfo is generated

Corinna Vinschen
Sun Sep 2 11:35:00 GMT 2012

Hi Yaakov,

I'm trying to build the new openssh 6.1p1-1 package.  My problem
is that the debuginfo package is not created:

  *** Info: No debug files, skipping debuginfo subpackage

  >>> Checking packages for missing or duplicate files
  *** Warning: Packages are missing files:

First I thought that this is a result of linking the files without the
-g option, so I patched the cygport file to add -g to the link stage,
but to no avail.

The executables definitely contain Dwarf2 debug info, but the
corresponding *.dbg files all have a general look of brokenness:  They
have a constant size of 1197 bytes and don't contain any .debug_*
section.  Example:

$ ls -l scp.exe.dbg
-rw-r--r-- 1 corinna vinschen 1197 Sep  2 12:48 scp.exe.dbg
$ objdump -h scp.exe.dbg

scp.exe.dbg:     file format pei-i386

Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         000095a8  00401000  00401000  00000000  2**4
                  ALLOC, LOAD, READONLY, CODE, DATA
  1 .data         00001634  0040b000  0040b000  00000000  2**5
                  ALLOC, LOAD, DATA
  2 .rdata        00000d44  0040d000  0040d000  00000000  2**2
                  ALLOC, LOAD, READONLY, DATA
  3 .eh_frame     00000160  0040e000  0040e000  00000000  2**2
                  ALLOC, LOAD, DATA
  4 .bss          00000250  0040f000  0040f000  00000000  2**5
  5 .idata        000009f0  00410000  00410000  00000000  2**2
                  ALLOC, LOAD, DATA
  6 .gnu_debuglink 0000000c  00411000  00411000  00000290  2**2

FWIW, I'm using cygport-0.11.0-1.

Thanks for any help,

Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

More information about the Cygwin-apps mailing list