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

Michel Dänzer michel at daenzer.net
Thu Aug 7 18:46:08 PDT 2014


On 08.08.2014 10:22, Kertesz Laszlo wrote:
> 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.

That's far from the latest. You need LLVM Git commit
9f85dccfc64b5f0b0c63ddfa0a42d8615aa1fcb3 (SVN r214781) or later.


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


More information about the mesa-dev mailing list