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

2010-06-28 Thread andersk at ksplice dot com
--- Additional Comments From andersk at ksplice dot com 2010-06-28 18:34 --- Ubuntu has taken the current version of this patch , and it broke clang - g: $ echo 'int main(){}' > test.c $ clang -g -c test.c /tmp/cc-xPGs3W.s: Assem

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

2010-06-28 Thread andersk at ksplice dot com
--- Additional Comments From andersk at ksplice dot com 2010-06-28 18:35 --- See also http://llvm.org/bugs/show_bug.cgi?id=6218 . -- 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 w

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

2010-06-28 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-06-28 18:42 --- Please provide a small assembly testcase. -- What|Removed |Added Status|NEW

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

2010-06-28 Thread andersk at ksplice dot com
--- Additional Comments From andersk at ksplice dot com 2010-06-28 19:00 --- 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 -s

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

2010-06-28 Thread andersk at ksplice dot com
-- What|Removed |Added CC||andersk at ksplice dot com http://sourceware.org/bugzilla/show_bug.cgi?id=10531 --- You are receiving thi

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

2010-06-28 Thread hjl dot tools at gmail dot com
--- 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(

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

2010-06-28 Thread andersk at ksplice dot com
--- Additional Comments From andersk at ksplice dot com 2010-06-28 20:50 --- (In reply to comment #8) > 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. Thank