[llvm-bugs] [Bug 33315] New: ELF LLD asserts when linking Go bindings

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 5 14:45:55 PDT 2017


            Bug ID: 33315
           Summary: ELF LLD asserts when linking Go bindings
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: peter at pcc.me.uk
                CC: llvm-bugs at lists.llvm.org

$ CC=clang CXX=clang++ cmake -GNinja ../llvm -DCMAKE_BUILD_TYPE=Release
$ ninja lld
$ ninja check-llvm
ld.lld: [...]/llvm/tools/lld/ELF/OutputSections.cpp:95: void
finalizeShtGroup(lld::elf::OutputSection *) [ELFT =
llvm::object::ELFType<llvm::support::endianness::little, true>]: Assertion
`Config->Relocatable && Sec->Sections.size() == 1' failed.

Might have been caused by r304140.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170605/55390feb/attachment.html>

More information about the llvm-bugs mailing list