This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: cygport: No debuginfo is generated
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-apps <cygwin-apps at cygwin dot com>
- Date: Sun, 02 Sep 2012 13:18:10 -0500
- Subject: Re: cygport: No debuginfo is generated
- References: <20120902113516.GH13401@calimero.vinschen.de>
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.
Yaakov