Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Shankar Unni 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: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: 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/