bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/10531] Strange assembler warning message on section group


From: hjl dot tools at gmail dot com
Subject: [Bug gas/10531] Strange assembler warning message on section group
Date: 28 Jun 2010 20:37:11 -0000

------- Additional Comments From hjl dot tools at gmail dot com  2010-06-28 
20:37 -------
(In reply to comment #7)
> Created an attachment (id=4859)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4859&action=view)
> assembler test case
> 
> Sure.  This was generated by
> $ echo 'int main() { return 0; }' > test.c
> $ clang -v -save-temps -g -c test.c
> �
>  as --gdwarf2 -V -Qy --64 -o test.o test.s
> GNU assembler version 2.20.51 (x86_64-linux-gnu) using BFD version (GNU
> Binutils for Ubuntu) 2.20.51-system.20100617
> test.s: Assembler messages:
> test.s:414: Fatal error: duplicate .debug_line sections
> 

That is clang bug. You should pass --gdwarf2 to as only
if you want assembler to generate debug info instead of
the compiler. --gdwarf2 is used to debug pure assembly codes.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10531

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]