[llvm-bugs] [Bug 45252] New: BUILD failure with AST unittests

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 19 09:45:31 PDT 2020


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

            Bug ID: 45252
           Summary: BUILD failure with AST unittests
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lonewolf at xs4all.nl
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Created attachment 23259
  --> https://bugs.llvm.org/attachment.cgi?id=23259&action=edit
build log

since march 13 llvm/clang trunk builds with  -D LLVM_BUILD_TESTS=ON fail .
Bisecting points to
https://github.com/llvm/llvm-project/commit/ce79c4246919d777346dd3821c087faa1dcc725e#diff-f0018ff1248e50f5dbe11ce6ba511e83
as the first bad commit.


relevant error message :
/usr/bin/ld:
tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/SourceLocationTest.cpp.o: in
function `(anonymous namespace)::Decl_MemberPointerStarLoc_Test::TestBody()':
SourceLocationTest.cpp:(.text._ZN12_GLOBAL__N_130Decl_MemberPointerStarLoc_Test8TestBodyEv+0x47):
undefined reference to `llvm::Annotations::Annotations(llvm::StringRef)'
/usr/bin/ld:
SourceLocationTest.cpp:(.text._ZN12_GLOBAL__N_130Decl_MemberPointerStarLoc_Test8TestBodyEv+0x554):
undefined reference to `llvm::Annotations::point(llvm::StringRef) const'
collect2: error: ld returned 1 exit status

full build log attached.

-- 
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/20200319/e1b48217/attachment.html>


More information about the llvm-bugs mailing list