http://llvm.org/bugs/show_bug.cgi?id=8515

           Summary: ELF writer creates corrupted file for input with many
                    sections
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Core LLVM classes
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Sorry for the large testcase, it's from v8's testsuite and I couldn't get it
any smaller.

$ clang++ -integrated-as t.cc -fdata-sections
…
/usr/bin/ld: t.o: invalid string offset 138690 >= 17 for section `'
/usr/bin/ld: t.o: invalid string offset 678247 >= 17 for section `.shstrtab'
… repeated 30k times

gnu as works

clang version 2.9 (trunk 117786)
Target: i386-pc-linux-gnu
GNU ld (GNU Binutils for Debian) 2.18.0.20080103

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to