[Mesa-dev] Mesa build fails after commit "gallivm: Fix build with latest LLVM"

Kertesz Laszlo laszlo.kertesz at gmail.com
Thu Aug 7 18:22:33 PDT 2014


Today i observer that building mesa fails with

gallivm/lp_bld_debug.cpp: In function 'size_t disassemble(const void*,
llvm::raw_ostream&)':
gallivm/lp_bld_debug.cpp:279:57: error: 'class
llvm::TargetSubtargetInfo' has no member named 'getInstrInfo'
    const TargetInstrInfo *TII = TM->getSubtargetImpl()->getInstrInfo();

The git log shows that the latest commit to affect lp_bld_debug.cpp was
e28136343b6aa7dfff8ec85f6463574d6625b5a6

"gallivm: Fix build with latest LLVM"

Reverting it made the build complete.

I have llvm built from git, latest commit
3d5463d81f1278bc75b273d17ec84ec8438be1a1.


More information about the mesa-dev mailing list