[Mesa-dev] [PATCH 1/1] clover: Fix build after llvm r221375

Tom Stellard tom at stellard.net
Wed Nov 12 10:37:13 PST 2014


On Wed, Nov 12, 2014 at 07:36:04PM +0100, Laurent Carlier wrote:
> Le jeudi 6 novembre 2014, 09:45:40 Tom Stellard a écrit :
> > On Thu, Nov 06, 2014 at 11:46:41AM -0500, Jan Vesely wrote:
> > > Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> > 
> > I've pushed this, thanks!
> > 
> > -Tom
> 
> http://llvm.org/viewvc/llvm-project?view=revision&revision=221711
> 
> Bad luck, it's reverted, so now:
> 
>   CXX      core/libclover_la-event.lo
>   CXX      core/libclover_la-format.lo
>   CXX      core/libclover_la-kernel.lo
>   CXX      core/libclover_la-memory.lo
>   CXX      core/libclover_la-module.lo
>   CXX      core/libclover_la-platform.lo
>   CXX      core/libclover_la-program.lo
>   CXX      core/libclover_la-queue.lo
>   CXX      core/libclover_la-resource.lo
>   CXX      core/libclover_la-sampler.lo
>   CXX      core/libclover_la-timestamp.lo
>   CXX      util/libclover_la-compat.lo
>   CXX      tgsi/libcltgsi_la-compiler.lo
>   CXX      llvm/libclllvm_la-invocation.lo
>   CXXLD    libcltgsi.la
> llvm/invocation.cpp: In function 'void {anonymous}::find_kernels(llvm::Module*, 
> std::vector<llvm::Function*>&)':
> llvm/invocation.cpp:286:50: error: 'const class llvm::NamedMDNode' has no 
> member named 'getOperandAsMDNode'
>                                      kernel_node->getOperandAsMDNode(i)-
> >getOperand(0)));
>                                                   ^
> Makefile:843: recipe for target 'llvm/libclllvm_la-invocation.lo' failed
> make[3]: *** [llvm/libclllvm_la-invocation.lo] Error 1
> make[3]: Leaving directory '/build/mesa-
> git/src/mesa/src/gallium/state_trackers/clover'
> Makefile:558: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> 

Should be fixed now.

-Tom

> -- 
> Laurent Carlier
> http://www.archlinux.org


More information about the mesa-dev mailing list