undefined section `.gnu_debuglink' referenced in expression
Christopher Faylor
cgf-use-the-mailinglist-please@cygwin.com
Tue Sep 2 20:23:00 GMT 2008
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/
More information about the Cygwin
mailing list