search for: liblldelf

Displaying 18 results from an estimated 18 matches for "liblldelf".

2017 Mar 29
2
[RFC] better link error messages
...r: > > bin/ld.lld: error: undefined symbol: > lld::elf::EhFrameSection<llvm::object::ELFType<(llvm::support::endianness)0, > true> > *>>> defined at* Writer.cpp:207 (/ssd/llvm-project/lld/ELF/Writer.cpp:207) > *>>>* Writer.cpp.o in archive lib/liblldELF.a The wording of this one is mildly self contradictory. Undefined symbols aren't defined, they're... used? referenced? Jon > > > Duplicate symbol error: > > bin/ld.lld: error: duplicate symbol: > lld::elf::MipsGotSection::addEntry(lld::elf::SymbolBody&, long, >...
2017 Mar 29
2
[RFC] better link error messages
...r: > > bin/ld.lld: error: undefined symbol: > lld::elf::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::elf::MipsGotSection::addEntry(lld::elf::SymbolBody&, long, > lld::elf::RelExpr) >>>> defined at Writer.cpp:38 >>>> (/home/buildslave/buildslave/clang-cmake-aarch64-39vma/...
2017 Mar 29
3
[RFC] better link error messages
...:* duplicate symbol: lld::elf::MipsGotSection::addEntry(lld::elf::SymbolBody&, > long, lld::elf::RelExpr) > *>>> defined at* Writer.cpp:38 in /home/buildslave/buildslave/ > clang-cmake-aarch64-39vma/llvm/tools/lld/ELF/ > *>>>* Writer.cpp.o in archive lib/liblldELF.a > *>>> defined at* SyntheticSections.cpp:673 in /home/buildslave/buildslave/ > clang-cmake-aarch64-39vma/llvm/tools/lld/ELF/ > *>>>* SyntheticSections.cpp.o in archive lib/liblldELF.a > > > Please don't do this (split the base name from the path)...
2017 Mar 25
4
[RFC] better link error messages
...bin/ld.lld: *error:* duplicate symbol: lld::elf::MipsGotSection::addEntry(lld::elf::SymbolBody&, long, lld::elf::RelExpr) *>>> defined at* Writer.cpp:38 in /home/buildslave/buildslave/clang-cmake- aarch64-39vma/llvm/tools/lld/ELF/ *>>>* Writer.cpp.o in archive lib/liblldELF.a *>>> defined at* SyntheticSections.cpp:673 in /home/buildslave/buildslave/ clang-cmake-aarch64-39vma/llvm/tools/lld/ELF/ *>>>* SyntheticSections.cpp.o in archive lib/liblldELF.a Oftentimes filenames are unique enough that it tells you where to go immediately. Maybe i...
2017 Mar 24
4
[RFC] better link error messages
...ned symbol: lld::elf::EhFrameSection<llvm::object::ELFType<(llvm::support::endianness)0, true> >::addSection(lld::elf::InputSectionBase*) *>>> referenced by* /home/buildslave/buildslave/clang-cmake-aarch64-39vma/llvm/tools/lld/ELF/Writer.cpp:207 *>>>* lib/liblldELF.a(Writer.cpp.o) bin/ld.lld: *error:* duplicate symbol: lld::elf::MipsGotSection::addEntry(lld::elf::SymbolBody&, long, lld::elf::RelExpr) *>>> defined at* /home/buildslave/buildslave/clang-cmake-aarch64-39vma/llvm/tools/lld/ELF/Writer.cpp:38 *>>>* lib/liblldELF.a(...
2017 Mar 23
6
[RFC] better link error messages
...mething like the following: *Undefined symbols* /ssd/clang/bin/ld.lld: error: undefined symbol: lld::elf::EhFrameSection<llvm::object::ELFType<(llvm::support::endianness)0, true> >::addSection(lld::elf::InputSectionBase*) Source: /ssd/llvm-project/lld/ELF/Writer.cpp:207 Object: lib/liblldELF.a(Writer.cpp.o) *Conflicting symbols* /ssd/clang/bin/ld.lld: error: duplicate symbol: lld::elf::MipsGotSection::addEntry(lld::elf::SymbolBody&, long, lld::elf::RelExpr) Source 1: /ssd/llvm-project/lld/ELF/Writer.cpp:38 Source 2: /ssd/llvm-project/lld/ELF/SyntheticSections.cpp:673 Object...
2017 Jan 04
2
LLD and LLVM_LINK_LLVM_DYLIB
Hi all, I recently gave LLD a try and it definitely works fine. However one cannot build it together with LLVM_LINK_LLVM_DYLIB: ELF/Driver.cpp and ELF/DriverUtils.cpp pull in llvm/Support/CommandLine.h which defines the command line options so these global variables end up in libLLVM-4.0svn.so via liblldELF. If this shared library is then linked into bin/lld or bin/opt one gets errors because of "Option '...' registered more than once" as they are also present in the binaries themselves. Is it possible to keep the global variables for command line options out of libLLVM-4.0svn.so?...
2017 Jan 06
2
LLD and LLVM_LINK_LLVM_DYLIB
...> > > > build it together with LLVM_LINK_LLVM_DYLIB: > > > > ELF/Driver.cpp and ELF/DriverUtils.cpp pull in llvm/Support/CommandLine.h > > > > which defines the command line options so these global variables end up in > > > > libLLVM-4.0svn.so via liblldELF. > > > > If this shared library is then linked into bin/lld or bin/opt one gets > > > > errors because of "Option '...' registered more than once" as they are also > > > > present in the binaries themselves. > > > > > > &...
2017 Jan 06
2
LLD and LLVM_LINK_LLVM_DYLIB
...nd it definitely works fine. However one cannot >> build it together with LLVM_LINK_LLVM_DYLIB: >> ELF/Driver.cpp and ELF/DriverUtils.cpp pull in llvm/Support/CommandLine.h >> which defines the command line options so these global variables end up in >> libLLVM-4.0svn.so via liblldELF. >> If this shared library is then linked into bin/lld or bin/opt one gets >> errors because of "Option '...' registered more than once" as they are >> also >> present in the binaries themselves. >> >> Is it possible to keep the global variables...
2017 Jan 20
2
[cfe-dev] [4.0.0 Release] Relase Candidate 1 has been tagged
Very cool initiative! Thank you! On Fri, Jan 20, 2017, at 10:59 AM, Mehdi Amini via cfe-dev wrote: > Hi, > > FYI, I added a Green dragon job to build and test (stage 1 only right > now) the release branch: > http://lab.llvm.org:8080/green/job/clang-stage1-configure-RA-release-4/ > <http://lab.llvm.org:8080/green/job/clang-stage1-configure-RA-release-4/> > > — >
2020 Mar 28
2
LLD issue on a massively parallel build machine
...libc++ -fuse-ld=lld -Wl,--color-diagnostics -Wl,-allow-shlib-undefined -Wl,--export-dynamic -Wl,-O3 tools/lld/tools/lld/CMakeFiles/lld.dir/lld.cpp.o -o bin/lld -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMSupport.a -lpthread lib/liblldCommon.a lib/liblldCOFF.a lib/liblldDriver.a lib/liblldELF.a lib/liblldMinGW.a lib/liblldWasm.a lib/liblldMachO.a lib/liblldReaderWriter.a lib/liblldYAML.a lib/liblldCore.a lib/liblldCOFF.a lib/libLLVMDebugInfoPDB.a lib/libLLVMLibDriver.a lib/libLLVMWindowsManifest.a /usr/lib64/libxml2.so lib/liblldCommon.a lib/libLLVMOption.a lib/libLLVMAArc...
2020 Mar 28
3
LLD issue on a massively parallel build machine
...nostics >> -Wl,-allow-shlib-undefined -Wl,--export-dynamic -Wl,-O3 >> tools/lld/tools/lld/CMakeFiles/lld.dir/lld.cpp.o -o bin/lld >> -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMSupport.a -lpthread >> lib/liblldCommon.a lib/liblldCOFF.a lib/liblldDriver.a lib/liblldELF.a >> lib/liblldMinGW.a lib/liblldWasm.a lib/liblldMachO.a >> lib/liblldReaderWriter.a lib/liblldYAML.a lib/liblldCore.a >> lib/liblldCOFF.a lib/libLLVMDebugInfoPDB.a lib/libLLVMLibDriver.a >> lib/libLLVMWindowsManifest.a /usr/lib64/libxml2.so lib/liblldCommon.a &...
2020 Mar 28
2
LLD issue on a massively parallel build machine
...-Wl,--color-diagnostics > -Wl,-allow-shlib-undefined -Wl,--export-dynamic -Wl,-O3 > tools/lld/tools/lld/CMakeFiles/lld.dir/lld.cpp.o -o bin/lld > -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMSupport.a -lpthread > lib/liblldCommon.a lib/liblldCOFF.a lib/liblldDriver.a lib/liblldELF.a > lib/liblldMinGW.a lib/liblldWasm.a lib/liblldMachO.a > lib/liblldReaderWriter.a lib/liblldYAML.a lib/liblldCore.a > lib/liblldCOFF.a lib/libLLVMDebugInfoPDB.a lib/libLLVMLibDriver.a > lib/libLLVMWindowsManifest.a /usr/lib64/libxml2.so lib/liblldCommon.a > lib/libLLVM...
2020 Mar 28
2
LLD issue on a massively parallel build machine
...> -Wl,-allow-shlib-undefined -Wl,--export-dynamic -Wl,-O3 >>> tools/lld/tools/lld/CMakeFiles/lld.dir/lld.cpp.o -o bin/lld >>> -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMSupport.a -lpthread >>> lib/liblldCommon.a lib/liblldCOFF.a lib/liblldDriver.a lib/liblldELF.a >>> lib/liblldMinGW.a lib/liblldWasm.a lib/liblldMachO.a >>> lib/liblldReaderWriter.a lib/liblldYAML.a lib/liblldCore.a >>> lib/liblldCOFF.a lib/libLLVMDebugInfoPDB.a lib/libLLVMLibDriver.a >>> lib/libLLVMWindowsManifest.a /usr/lib64/libxml2.so lib/...
2020 Apr 01
4
LLD issue on a massively parallel build machine
...defined -Wl,--export-dynamic -Wl,-O3 >>>>> tools/lld/tools/lld/CMakeFiles/lld.dir/lld.cpp.o -o bin/lld >>>>> -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMSupport.a -lpthread >>>>> lib/liblldCommon.a lib/liblldCOFF.a lib/liblldDriver.a lib/liblldELF.a >>>>> lib/liblldMinGW.a lib/liblldWasm.a lib/liblldMachO.a >>>>> lib/liblldReaderWriter.a lib/liblldYAML.a lib/liblldCore.a >>>>> lib/liblldCOFF.a lib/libLLVMDebugInfoPDB.a lib/libLLVMLibDriver.a >>>>> lib/libLLVMWindowsManifes...
2020 Apr 01
2
LLD issue on a massively parallel build machine
...mic -Wl,-O3 > >>>>> tools/lld/tools/lld/CMakeFiles/lld.dir/lld.cpp.o -o bin/lld > >>>>> -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMSupport.a -lpthread > >>>>> lib/liblldCommon.a lib/liblldCOFF.a lib/liblldDriver.a lib/liblldELF.a > >>>>> lib/liblldMinGW.a lib/liblldWasm.a lib/liblldMachO.a > >>>>> lib/liblldReaderWriter.a lib/liblldYAML.a lib/liblldCore.a > >>>>> lib/liblldCOFF.a lib/libLLVMDebugInfoPDB.a lib/libLLVMLibDriver.a > >>&gt...
2020 Apr 01
2
LLD issue on a massively parallel build machine
...>>>> tools/lld/tools/lld/CMakeFiles/lld.dir/lld.cpp.o -o bin/lld >> > >>>>> -Wl,-rpath,"\$ORIGIN/../lib" lib/libLLVMSupport.a -lpthread >> > >>>>> lib/liblldCommon.a lib/liblldCOFF.a lib/liblldDriver.a >> lib/liblldELF.a >> > >>>>> lib/liblldMinGW.a lib/liblldWasm.a lib/liblldMachO.a >> > >>>>> lib/liblldReaderWriter.a lib/liblldYAML.a lib/liblldCore.a >> > >>>>> lib/liblldCOFF.a lib/libLLVMDebugInfoPDB.a >> lib/libL...
2020 Mar 28
3
LLD issue on a massively parallel build machine
Alex : Can you please try `numactl` or `taskset` after https://github.com/llvm/llvm-project/commit/09158252f777c2e2f06a86b154c44abcbcf9bb74 ? There was a tiny bug in how sched_getaffinity() was used, see: https://reviews.llvm.org/D75153#1942336 De : Alex Brachet-Mialot <alexbrachetmialot at gmail.com> Envoyé : March 28, 2020 12:11 PM À : Itaru Kitayama <itaru.kitayama at gmail.com>