[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
https://bugs.llvm.org/show_bug.cgi?id=33315
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
-DLLVM_ENABLE_ASSERTIONS=1
-DCMAKE_{EXE,MODULE,SHARED}_LINKER_FLAGS=-fuse-ld=lld
$ 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