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
On Feb 22, 2011, at 1:47 PM, Dineth wrote:> 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.This is probably http://llvm.org/bugs/show_bug.cgi?id=6218 - Devang> > 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. >
Maybe Matching Threads
- [LLVMdev] LLVMdev Digest, Vol 80, Issue 37-Help to unsubscribe
- [LLVMdev] Difficulties in using gold plugin. ("ar" not working properly)
- Switch to ld.bfd tombstone behavior by default
- Switch to ld.bfd tombstone behavior by default
- Switch to ld.bfd tombstone behavior by default