[LLVMbugs] [Bug 8515] New: ELF writer creates corrupted file for input with many sections

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Oct 30 09:50:46 PDT 2010


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: unassignedbugs at nondot.org
        ReportedBy: benny.kra at gmail.com
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list