[Mesa-dev] Build fail in clover

Michel Dänzer michel at daenzer.net
Thu Aug 21 02:27:23 PDT 2014


On 21.08.2014 18:10, Andy Furniss wrote:
> 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

See the thread starting at
http://lists.freedesktop.org/archives/mesa-dev/2014-August/066243.html .


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer


More information about the mesa-dev mailing list