cygport: No debuginfo is generated

Corinna Vinschen
Mon Sep 3 10:31:00 GMT 2012

On Sep  2 13:18, Yaakov (Cygwin/X) wrote:
> On Sun, 2012-09-02 at 13:35 +0200, Corinna Vinschen wrote: 
> > I'm trying to build the new openssh 6.1p1-1 package.  My problem
> > is that the debuginfo package is not created:
> [snip] 
> > 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.
> Generally there are a few common causes of this:
> 1) the build system does not honour custom CFLAGS/CXXFLAGS/etc.
> 2) the binaries are stripped during 'make' (e.g. linked with -s, or an
> explicit call to strip(1)).
> 3) the binaries are stripped during 'make install' (e.g. install -s).
> In the case of openssh, the culprit is #3.  Adding --disable-strip to
> the cygconf arguments WFM.

That did it.  Thanks,

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