[llvm-bugs] [Bug 40220] New: libLLVMTestingSupport.so depends on libgtest, when the latter is not built

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 3 13:32:59 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=40220

            Bug ID: 40220
           Summary: libLLVMTestingSupport.so depends on libgtest, when the
                    latter is not built
           Product: new-bugs
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dilyan.palauzov at aegee.org
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

With 7.0.1 when libgtest is not built, linking fails:

[  8%] Linking CXX shared library ../../libLLVMTestingSupport.so
[  8%] Built target LLVMWindowsManifest
[  8%] Built target FileCheck
/usr/local/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lgtest
collect2: error: ld returned 1 exit status
make[2]: ***
[lib/Testing/Support/CMakeFiles/LLVMTestingSupport.dir/build.make:85:
lib/libLLVMTestingSupport.so.7] Error 1
make[1]: *** [CMakeFiles/Makefile2:18479:
lib/Testing/Support/CMakeFiles/LLVMTestingSupport.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  8%] Built target not
make: *** [Makefile:152: all] Error 2

-- 
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/20190103/9f9a8ac0/attachment.html>


More information about the llvm-bugs mailing list