My bad. I intended this.
Undefined symbol error:
bin/ld.lld: error: undefined symbol: lld::EhFrameSection<llvm::object::ELFType<(llvm::support::endianness)0, true>
>>> Referenced by Writer.cpp:207 (/ssd/llvm-project/lld/ELF/Writer.cpp:207)
>>> Writer.cpp.o in archive lib/liblldELF.a
Duplicate symbol error:
bin/ld.lld: error: duplicate symbol: lld::MipsGotSection::addEntry(lld:
:SymbolBody&, long, lld:
:RelExpr)
>>> defined at Writer.cpp:38 (/home/buildslave/buildslave/clang-cmake-aarch64-39vma/llvm/tools/lld/ELF/Writer.cpp:38)
>>> Writer.cpp.o in archive lib/liblldELF.a
>>> defined at SyntheticSections.cpp:673 (/home/buildslave/buildslave/clang-cmake-aarch64-39vma/llvm/tools/lld/ELF/SyntheticSections.cpp:673)
>>> SyntheticSections.cpp.o in archive lib/liblldELF.a