Hi, I was building mesa v10.4.4 with my llvm-toolchain v3.6.0rc2.
My build breaks like this... ... gallivm/lp_bld_misc.cpp:503:38: error: no viable conversion from 'ShaderMemoryManager *' to 'std::unique_ptr<RTDyldMemoryManager>' builder.setMCJITMemoryManager(MM); ^~ /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/unique_ptr.h:200:17: note: candidate constructor not viable: no known conversion from 'ShaderMemoryManager *' to 'nullptr_t' for 1st argument constexpr unique_ptr(nullptr_t) noexcept : unique_ptr() { } ^ /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/unique_ptr.h:205:7: note: candidate constructor not viable: no known conversion from 'ShaderMemoryManager *' to 'std::unique_ptr<llvm::RTDyldMemoryManager, std::default_delete<llvm::RTDyldMemoryManager> > &&' for 1st argument unique_ptr(unique_ptr&& __u) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/unique_ptr.h:356:7: note: candidate constructor not viable: no known conversion from 'ShaderMemoryManager *' to 'const std::unique_ptr<llvm::RTDyldMemoryManager, std::default_delete<llvm::RTDyldMemoryManager> > &' for 1st argument unique_ptr(const unique_ptr&) = delete; ^ /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/unique_ptr.h:220:2: note: candidate template ignored: could not match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'ShaderMemoryManager *' unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept ^ /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/unique_ptr.h:228:2: note: candidate template ignored: could not match 'auto_ptr<type-parameter-0-0>' against 'ShaderMemoryManager *' unique_ptr(auto_ptr<_Up>&& __u) noexcept; ^ /opt/llvm-toolchain-3.6.0rc2/include/llvm/ExecutionEngine/ExecutionEngine.h:528:77: note: passing argument to parameter 'mcjmm' here EngineBuilder &setMCJITMemoryManager(std::unique_ptr<RTDyldMemoryManager> mcjmm); ^ ... Please cherry-pick... commit ef7e0b39a24966526b102643523feac765771842 "gallivm: Update for RTDyldMemoryManager becoming an unique_ptr." ..for mesa 10.4 Git branch. Thanks. Regards, - Sedat - P.S.: NOTE: I cannot still build with --enable-glx-tls. I have reported this already! [1] http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp?id=ef7e0b39a24966526b102643523feac765771842 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev