Bug#592012: clang -g dies with bogus assembler error: duplicate .debug_line sections

Anders Kaseorg andersk at MIT.EDU
Fri Aug 6 21:32:58 UTC 2010


Package: clang
Version: 2.7-2
Tags: fixed-upstream patch

With the binutils version in experimental:

$ echo 'int main(){}' > test.c
$ clang -g -c test.c
/tmp/cc-xPGs3W.s: Assembler messages:
/tmp/cc-xPGs3W.s:413: Fatal error: duplicate .debug_line sections
clang: error: assembler command failed with exit code 1 (use -v to see 
invocation)

See http://llvm.org/bugs/show_bug.cgi?id=6218 .  This is fixed in clang 
r110111.  A debdiff with this patch is available at 
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/599485 .

Anders





More information about the Pkg-llvm-team mailing list