delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/24/14:54:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Shankar Unni <shankar AT cotagesoft DOT com>
Subject: Re: bug: gcc - use of register keyword and undefined reference to
`LC0'
Date: Tue, 24 Jun 2003 10:37:39 -0700
Lines: 23
Message-ID: <3EF88C63.9030302@cotagesoft.com>
References: <OFC242EAD1 DOT FAE60F04-ON80256D4F DOT 0034CCBD AT ny DOT jpmorgan DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529
X-Accept-Language: en-us, en
In-Reply-To: <OFC242EAD1.FAE60F04-ON80256D4F.0034CCBD@ny.jpmorgan.com>

mark DOT a DOT robson AT jpmorgan DOT com wrote:

> gcc -g test.c
> /cygdrive/c/TEMP/ccJVVXiI.o(.stab+0x1c4): In function `test':
> /support/crbrb.c:11: undefined reference to `LC0'
> collect2: ld returned 1 exit status

Please report this via http://www.gnu.org/software/gcc/bugs.html. Your 
bug report is short and precise, and will be appreciated.

Just FYI, this seems to be a problem with the .stabs entry for the 
register variable "a".

 > gcc 3.2 on [intel] linux works ok.

That's because the bug is (likely) related to generating COFF stabs 
(Linux uses the ELF file format, and the DWARF debugging information 
format, which may explain why it's not affected). Chances are any other 
platform with the same combo of object file and debug formats will show 
the same bug, though it's not a slam dunk.
--
Shankar.



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019