http://sourceware.org/bugzilla/show_bug.cgi?id=12739
Summary: [patch] bfd_get warns under -Wcast-qual
Product: binutils
Version: unspecified
Status: NEW
Severity: minor
Priority: P2
Component: binutils
AssignedTo: un
--- 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 assem
--
What|Removed |Added
CC||andersk at ksplice dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10531
--- You are receiving
--- 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; }' &g
--- 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
--- Additional Comments From andersk at ksplice dot com 2010-06-28 18:34
---
Ubuntu has taken the current version of this patch
<http://sourceware.org/ml/binutils/2009-10/msg00512.html>, and it broke clang -
g:
$ echo 'int main(){}' > test.c
$ clang -g -c test