[Mesa-dev] Build fail in clover
Andy Furniss
adf.lists at gmail.com
Thu Aug 21 02:10:07 PDT 2014
Haven't had time to find what caused this, it does seem to be mesa -
Updated mesa last night from a day or two old, llvm 5-10 days old
previous mesa built OK against that.
Got the build fail, updated llvm retried - same fail.
Going back in mesa and applying the build fix for current llvm doesn't
find me a working - ran out of time :-)
./autogen.sh --prefix=/usr --sysconfdir=/etc --enable-texture-float
--with-egl-platforms=x11,drm --with-gallium-drivers=radeonsi,swrast
--enable-opencl --enable-gbm --enable-shared-glapi --enable-glx-tls
--with-dri-drivers= && make -j5
Making all in state_trackers/clover
make[3]: Entering directory
'/mnt/sdb1/Src64/Mesa-git/mesa/src/gallium/state_trackers/clover'
CXX llvm/libclllvm_la-invocation.lo
llvm/invocation.cpp: In function 'llvm::Module*
{anonymous}::compile(llvm::LLVMContext&, const string&, const string&,
const string&, const string&, const string&, unsigned int (&)[6],
clover::compat::string&)':
llvm/invocation.cpp:237:29: error: cannot convert
'std::unique_ptr<llvm::Module>' to 'llvm::Module*' in return
return act.takeModule();
^
llvm/invocation.cpp:238:4: warning: control reaches end of non-void
function [-Wreturn-type]
}
^
Makefile:834: recipe for target 'llvm/libclllvm_la-invocation.lo' failed
make[3]: *** [llvm/libclllvm_la-invocation.lo] Error 1
More information about the mesa-dev
mailing list