This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygport: No debuginfo is generated


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]