../src/gallium/state_trackers/clover/llvm/codegen/native.cpp:159:65: error: no matching function for call to ‘std::unique_ptr::unique_ptr()’ std::unique_ptr< ::llvm::Module> cmod { CloneModule(&mod) }; ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/memory:80, from /usr/lib64/llvm/7/include/llvm/ADT/SmallVector.h:31, from /usr/lib64/llvm/7/include/llvm/ADT/STLExtras.h:21, from /usr/lib64/llvm/7/include/llvm/IR/Module.h:19, from ../src/gallium/state_trackers/clover/llvm/codegen.hpp:35, from ../src/gallium/state_trackers/clover/llvm/codegen/native.cpp:30: /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:265:2: note: candidate: ‘template std::unique_ptr<_Tp, _Dp>::unique_ptr(std::auto_ptr<_Up>&&)’ unique_ptr(auto_ptr<_Up>&& __u) noexcept; ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:265:2: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:255:2: note: candidate: ‘template std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Up, _Ep>&&)’ unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:255:2: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:241:7: note: candidate: ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>&&) [with _Tp = llvm::Module; _Dp = std::default_delete]’ unique_ptr(unique_ptr&& __u) noexcept ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:241:7: note: conversion of argument 1 would be ill-formed: /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:236:12: note: candidate: ‘template constexpr std::unique_ptr<_Tp, _Dp>::unique_ptr(std::nullptr_t)’ constexpr unique_ptr(nullptr_t) noexcept : _M_t() { } ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:236:12: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:227:7: note: candidate: ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>::pointer, typename std::remove_reference<_UniformRandomNumberGenerator>::type&&) [with _Tp = llvm::Module; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp>::pointer = llvm::Module*; typename std::remove_reference<_UniformRandomNumberGenerator>::type = std::default_delete]’ unique_ptr(pointer __p, ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:227:7: note: candidate expects 2 arguments, 1 provided /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:215:7: note: candidate: ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>::pointer, typename std::conditional::value, _Dp, const _Dp&>::type) [with _Tp = llvm::Module; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp>::pointer = llvm::Module*; typename std::conditional::value, _Dp, const _Dp&>::type = const std::default_delete&]’ unique_ptr(pointer __p, ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:215:7: note: candidate expects 2 arguments, 1 provided /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:204:2: note: candidate: ‘template std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>::pointer)’ unique_ptr(pointer __p) noexcept ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:204:2: note: template argument deduction/substitution failed: /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:191:12: note: candidate: ‘template constexpr std::unique_ptr<_Tp, _Dp>::unique_ptr()’ constexpr unique_ptr() noexcept ^~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/unique_ptr.h:191:12: note: template argument deduction/substitution failed: ../src/gallium/state_trackers/clover/llvm/codegen/native.cpp:159:65: note: candidate expects 0 arguments, 1 provided std::unique_ptr< ::llvm::Module> cmod { CloneModule(&mod) }; ^ [36/56] Compiling C++ object 'src/gallium/state_trackers/clover/ae4504a@@clllvm@sta/llvm_invocation.cpp.o'.