[llvm-bugs] [Bug 39880] New: Trunk build fails rev 348300

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Dec 4 13:56:35 PST 2018


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

            Bug ID: 39880
           Summary: Trunk build fails rev 348300
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: benjima at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Current trunk does not compile. I have no knowledge about this codebase and
didn't see a problem. 

llvm/tools/clang$ svn info --show-item revision
348300

Error: 
[ 68%] Building CXX object
tools/clang/lib/AST/CMakeFiles/clangAST.dir/DeclBase.cpp.o
/home/slave/llvm-svn/llvm/tools/clang/lib/AST/DeclBase.cpp: In member function
‘int64_t clang::Decl::getID() const’:
/home/slave/llvm-svn/llvm/tools/clang/lib/AST/DeclBase.cpp:958:41: error:
‘llvm::BumpPtrAllocator {aka class llvm::BumpPtrAllocatorImpl<>}’ has no member
named ‘identifyKnownAlignedObject’; did you mean ‘identifyObject’?
   return
getASTContext().getAllocator().identifyKnownAlignedObject<Decl>(this);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
                                         identifyObject
/home/slave/llvm-svn/llvm/tools/clang/lib/AST/DeclBase.cpp:958:72: error:
expected primary-expression before ‘>’ token
   return
getASTContext().getAllocator().identifyKnownAlignedObject<Decl>(this);
                                                                        ^
tools/clang/lib/AST/CMakeFiles/clangAST.dir/build.make:542: recipe for target
'tools/clang/lib/AST/CMakeFiles/clangAST.dir/DeclBase.cpp.o' failed
make[2]: *** [tools/clang/lib/AST/CMakeFiles/clangAST.dir/DeclBase.cpp.o] Error
1
CMakeFiles/Makefile2:23865: recipe for target
'tools/clang/lib/AST/CMakeFiles/clangAST.dir/all' failed
make[1]: *** [tools/clang/lib/AST/CMakeFiles/clangAST.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

What can I do to make compilation work? I want to run llgo on the latest
revision

-- 
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/20181204/1ba49e3a/attachment.html>


More information about the llvm-bugs mailing list