X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 2 Sep 2008 16:22:18 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: undefined section `.gnu_debuglink' referenced in expression Message-ID: <20080902202218.GC9160@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list 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/