This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: undefined section `.gnu_debuglink' referenced in expression
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 2 Sep 2008 16:22:18 -0400
- Subject: Re: undefined section `.gnu_debuglink' referenced in expression
- References: <g9k5tu$1nt$1@ger.gmane.org>
- Reply-to: cygwin at cygwin dot com
On Tue, Sep 02, 2008 at 03:58:42PM -0400, carlos wrote:
>I am trying to compile cygwin 1.5.25.15.
>I downloaded the source bz2 file (with cygwin setup).
>Extracted it and followed the instructions.
>
>The build goes a long way, until it stops with the following
>message in make.out:
>
>/oss/src/winsup/cygwin/cygwin.sc:143:
>undefined section `.gnu_debuglink' referenced in expression
You need this patch:
RCS file: /cvs/uberbaum/winsup/cygwin/cygwin.sc,v
retrieving revision 1.22
retrieving revision 1.23
diff -d -u -r1.22 -r1.23
--- cygwin.sc 18 Apr 2007 13:11:34 -0000 1.22
+++ cygwin.sc 3 Jun 2008 02:22:36 -0000 1.23
@@ -111,7 +111,6 @@
}
__cygheap_end = ABSOLUTE(.);
__cygheap_end1 = __cygheap_mid + SIZEOF(.cygheap);
- __cygwin_debug_size = SIZEOF(.gnu_debuglink);
/DISCARD/ :
{
*(.debug$S)
i.e., remove the "__cygwin_debug_size = SIZEOF(.gnu_debuglink);" line.
>The cygwin faq explain how to build a debug version of the cygwin dll.
>I would like to build a non-debug version of the cygwin dll. Do i have
>anything special to do for that, or is it what we got when we build
>from a .bz2
I can't see any mention of the word "debug" in
http://cygwin.com/faq/faq-nochunks.html#faq.programming.building-cygwin
There is nothing special that needs to be done besides typing "make".
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/