Skip to contentSkip to conversation

Mesa git - auxiliary: compilation error with latest LLVM git in gallivm/lp_bld_debug.lo

DISCUSSION Dieter Nützel 1 participant 2 messages Mar 22, 2015

lore
Share & tools
lore
#0 lore raw

make[4]: Entering directory '/opt/mesa/src/gallium/auxiliary'
CXX gallivm/lp_bld_debug.lo
gallivm/lp_bld_debug.cpp: In function 'size_t disassemble(const void*, llvm::raw_ostream&)':
gallivm/lp_bld_debug.cpp:280:54: error: no matching function for call to 'llvm::TargetMachine::getSubtargetImpl()'

    const TargetInstrInfo *TII = TM->getSubtargetImpl()->getInstrInfo();
                                                      ^

gallivm/lp_bld_debug.cpp:280:54: note: candidate is:
In file included from gallivm/lp_bld_debug.cpp:31:0:
/usr/local/include/llvm/Target/TargetMachine.h:111:38: note: virtual const llvm::TargetSubtargetInfo* llvm::TargetMachine::getSubtargetImpl(const llvm::Function&) const
virtual const TargetSubtargetInfo *getSubtargetImpl(const Function &)

const {
                                      ^

/usr/local/include/llvm/Target/TargetMachine.h:111:38: note: candidate expects 1 argument, 0 provided
Makefile:2221: recipe for target 'gallivm/lp_bld_debug.lo' failed make[4]: *** [gallivm/lp_bld_debug.lo] Error 1

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

Forget this one.
Duplicate of:
https://bugs.freedesktop.org/show_bug.cgi?id=89705

Sorry for the noise!

-Dieter

Am 22.03.2015 03:49, schrieb Dieter Nützel:

Quoted 15 lines

make[4]: Entering directory '/opt/mesa/src/gallium/auxiliary'
CXX gallivm/lp_bld_debug.lo
gallivm/lp_bld_debug.cpp: In function 'size_t disassemble(const void*, llvm::raw_ostream&)':
gallivm/lp_bld_debug.cpp:280:54: error: no matching function for call to 'llvm::TargetMachine::getSubtargetImpl()'
const TargetInstrInfo *TII =

TM->getSubtargetImpl()->getInstrInfo();
                                                      ^

gallivm/lp_bld_debug.cpp:280:54: note: candidate is:
In file included from gallivm/lp_bld_debug.cpp:31:0:
/usr/local/include/llvm/Target/TargetMachine.h:111:38: note: virtual const llvm::TargetSubtargetInfo* llvm::TargetMachine::getSubtargetImpl(const llvm::Function&) const
virtual const TargetSubtargetInfo *getSubtargetImpl(const Function

Quoted 6 lines
&) const {
                                      ^

/usr/local/include/llvm/Target/TargetMachine.h:111:38: note:
candidate expects 1 argument, 0 provided
Makefile:2221: recipe for target 'gallivm/lp_bld_debug.lo' failed make[4]: *** [gallivm/lp_bld_debug.lo] Error 1

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel