[llvm-bugs] [Bug 43281] New: clang fails stand-alone build (without clang-tools-extra): -lLLVMTestingSupport not found

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 11 09:57:24 PDT 2019


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

            Bug ID: 43281
           Summary: clang fails stand-alone build (without
                    clang-tools-extra): -lLLVMTestingSupport not found
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: mgorny at gentoo.org
                CC: llvm-bugs at lists.llvm.org
            Blocks: 42474

FAILED: unittests/Tooling/ToolingTests
[...]
/usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lLLVMTestingSupport
collect2: error: ld returned 1 exit status

and more.

I haven't noticed this before because clangd (in clang-tools-extra) already
carries a hack for including LLVMTestingSupport.  However, if you build without
clang-tools-extra, the build fails because of missing hack within clang itself.

Fix submitted as https://reviews.llvm.org/D67452


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=42474
[Bug 42474] [meta] 9.0.0 Release Blockers
-- 
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/20190911/abb98c8f/attachment-0001.html>


More information about the llvm-bugs mailing list