[LLVMdev] duplicate .debug_line sections

Dineth dineth2007 at gmail.com
Tue Feb 22 13:47:40 PST 2011


I'm using LLVM 2.8 with GNU Binutils for Ubuntu
2.20.51-system.20100908. When I try to assemble a .s file generated
with llc with g++ I get the error:

Fatal error: duplicate .debug_line sections.

I'm using llvm-gcc/g++ as front end.

I also tried generating the .o file directly using -filetype=obj but
that too fails with

BFD: BFD (GNU Binutils for Ubuntu) 2.20.51-system.20100908 assertion
fail ../../bfd/elf.c:1805

when trying to convert the .o file to an archive with ar.

I would appreciate any help very much. Thanks.

-- dineth



More information about the llvm-dev mailing list