In file included from /home/joerg/work/infrastructure/llvm.org/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp:18: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:17: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/BasicBlock.h:17: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/Instruction.h:18: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/User.h:22: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/Value.h:19: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/ADT/StringRef.h:16: In file included from /home/joerg/work/NetBSD/obj/amd64/destdir.amd64/usr/include/c++/string:42: In file included from /home/joerg/work/NetBSD/obj/amd64/destdir.amd64/usr/include/c++/rw/_strref.h:36: In file included from /home/joerg/work/NetBSD/obj/amd64/destdir.amd64/usr/include/c++/rw/_allocator.h:50: /home/joerg/work/NetBSD/obj/amd64/destdir.amd64/usr/include/c++/rw/_specialized.h:168:13: error: no matching function for call to '__rw_construct' _RW::__rw_construct (&*__res, *__first); ^~~~~~~~~~~~~~~~~~~ In file included from /home/joerg/work/infrastructure/llvm.org/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp:18: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:17: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/BasicBlock.h:17: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/Instruction.h:18: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/User.h:22: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/Value.h:17: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/AbstractTypeUser.h:30: In file included from /home/joerg/work/NetBSD/obj/amd64/destdir.amd64/usr/include/c++/cassert:30: /home/joerg/work/NetBSD/obj/amd64/destdir.amd64/usr/include/c++/rw/_defs.h:587:18: note: instantiated from: # define _RW __rw ^ In file included from /home/joerg/work/infrastructure/llvm.org/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp:18: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:18: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/Pass.h:369: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/PassAnalysisSupport.h:22: /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/ADT/SmallVector.h:365:5: note: in instantiation of function template specialization 'std::uninitialized_copy >, llvm::BasicBlock **>' requested here std::uninitialized_copy(in_start, in_end, this->end()); ^ /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/ADT/SmallVector.h:696:5: note: in instantiation of function template specialization 'llvm::SmallVectorImpl::append > >' requested here this->append(S, E); ^ In file included from /home/joerg/work/infrastructure/llvm.org/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp:30: /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/Support/PredIteratorCache.h:46:36: note: in instantiation of function template specialization 'llvm::SmallVector::SmallVector > >' requested here SmallVector PredCache(pred_begin(BB), pred_end(BB)); ^ In file included from /home/joerg/work/infrastructure/llvm.org/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp:18: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:17: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/BasicBlock.h:17: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/Instruction.h:18: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/User.h:22: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/Value.h:19: In file included from /home/joerg/work/infrastructure/llvm.org/llvm/include/llvm/ADT/StringRef.h:16: In file included from /home/joerg/work/NetBSD/obj/amd64/destdir.amd64/usr/include/c++/string:42: In file included from /home/joerg/work/NetBSD/obj/amd64/destdir.amd64/usr/include/c++/rw/_strref.h:36: In file included from /home/joerg/work/NetBSD/obj/amd64/destdir.amd64/usr/include/c++/rw/_allocator.h:50: /home/joerg/work/NetBSD/obj/amd64/destdir.amd64/usr/include/c++/rw/_specialized.h:88:1: note: candidate function [with _TypeT = llvm::BasicBlock *, _TypeU = llvm::BasicBlock *] not viable: no known conversion from 'pointer' (aka 'llvm::BasicBlock *') to 'llvm::BasicBlock *&' for 2nd argument __rw_construct (_TypeT* __p, _TypeU& __val) ^ /home/joerg/work/NetBSD/obj/amd64/destdir.amd64/usr/include/c++/rw/_specialized.h:96:1: note: candidate function [with _TypeT = llvm::BasicBlock *, _TypeU = llvm::BasicBlock *] not viable: no known conversion from 'pointer' (aka 'llvm::BasicBlock *') to 'llvm::BasicBlock *&' for 2nd argument __rw_construct (volatile _TypeT* __p, _TypeU& __val) ^ 1 error generated.