https://llvm.org/bugs/show_bug.cgi?id=31745
Bug ID: 31745 Summary: lld fails to build with shared libraries enabled due to missing arg to -rpath-link Product: lld Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: unassignedb...@nondot.org Reporter: mgo...@gentoo.org CC: llvm-bugs@lists.llvm.org Classification: Unclassified Patch in https://reviews.llvm.org/D29099 [ 98%] Linking CXX executable ../../bin/lld cd /usr/src/llvm/tools/lld/_build/tools/lld && /usr/bin/cmake -E cmake_link_script CMakeFiles/lld.dir/link.txt --verbose=1 /usr/lib64/ccache/bin/c++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -Wl,-rpath-link, -Wl,-O3 -Wl,--gc-sections CMakeFiles/lld.dir/lld.cpp.o -o ../../bin/lld -Wl,-rpath,"\$ORIGIN/../lib64:/usr/lib64" /usr/lib64/libLLVMSupport.so.5.0.0svn -lpthread ../../lib/Driver/liblldDriver.so.5.0.0 ../../COFF/liblldCOFF.so.5.0.0 ../../ELF/liblldELF.so.5.0.0 /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: liblldConfig.so.5, needed by ../../lib/Driver/liblldDriver.so.5.0.0, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: liblldMachO.so.5, needed by ../../lib/Driver/liblldDriver.so.5.0.0, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: liblldCore.so.5, needed by ../../lib/Driver/liblldDriver.so.5.0.0, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: liblldReaderWriter.so.5, needed by ../../lib/Driver/liblldDriver.so.5.0.0, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: liblldYAML.so.5, needed by ../../lib/Driver/liblldDriver.so.5.0.0, not found (try using -rpath or -rpath-link) ../../lib/Driver/liblldDriver.so.5.0.0: undefined reference to `lld::MachOLinkingContext::addRpath(llvm::StringRef)' [...] -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs