[Mesa-dev] build regression in tinderbox

Dave Airlie airlied at gmail.com
Wed Nov 12 00:05:57 PST 2014


I've been building git llvm and mesa on a RHEL7 tinderbox (tinderbox.x.org)

This just appeared.

Dave.

gallivm/lp_bld_debug.cpp: In function 'size_t disassemble(const void*,
llvm::raw_ostream&)':
gallivm/lp_bld_debug.cpp:283:23: error: cannot declare variable
'memoryObject' to be of abstract type 'BufferMemoryObject'
    BufferMemoryObject memoryObject((const uint8_t *)bytes, extent);
                       ^
gallivm/lp_bld_debug.cpp:149:7: note:   because the following virtual
functions are pure within 'BufferMemoryObject':
 class BufferMemoryObject:
       ^
In file included from gallivm/lp_bld_debug.cpp:35:0:
/home/tinderbox/xorg-build/include/llvm/Support/MemoryObject.h:49:15:
note: virtual int llvm::MemoryObject::readBytes(uint64_t, uint64_t,
uint8_t*) const
   virtual int readBytes(uint64_t address, uint64_t size,
               ^
/home/tinderbox/xorg-build/include/llvm/Support/MemoryObject.h:58:26:
note: virtual const uint8_t* llvm::MemoryObject::getPointer(uint64_t,
uint64_t) const
   virtual const uint8_t *getPointer(uint64_t address, uint64_t size) const = 0;
                          ^
/home/tinderbox/xorg-build/include/llvm/Support/MemoryObject.h:65:16:
note: virtual bool llvm::MemoryObject::isValidAddress(uint64_t) const
   virtual bool isValidAddress(uint64_t address) const = 0;
                ^
/home/tinderbox/xorg-build/include/llvm/Support/MemoryObject.h:72:16:
note: virtual bool llvm::MemoryObject::isObjectEnd(uint64_t) const
   virtual bool isObjectEnd(uint64_t address) const = 0;
                ^
gallivm/lp_bld_debug.cpp:300:23: error: no matching function for call
to 'llvm::MCDisassembler::getInstruction(llvm::MCInst&, uint64_t&,
BufferMemoryObject&, uint64_t&, llvm::raw_ostream&,
llvm::raw_ostream&) const'
       nulls(), nulls())) {
                       ^
gallivm/lp_bld_debug.cpp:300:23: note: candidate is:
In file included from gallivm/lp_bld_debug.cpp:48:0:
/home/tinderbox/xorg-build/include/llvm/MC/MCDisassembler.h:78:24:
note: virtual llvm::MCDisassembler::DecodeStatus
llvm::MCDisassembler::getInstruction(llvm::MCInst&, uint64_t&,
llvm::ArrayRef<unsigned char>, uint64_t, llvm::raw_ostream&,
llvm::raw_ostream&) const
   virtual DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
                        ^
/home/tinderbox/xorg-build/include/llvm/MC/MCDisassembler.h:78:24:
note:   no known conversion for argument 3 from 'BufferMemoryObject'
to 'llvm::ArrayRef<unsigned char>'
gallivm/lp_bld_misc.cpp: In function 'LLVMBool
lp_build_create_jit_compiler_for_module(LLVMOpaqueExecutionEngine**,
lp_generated_code**, LLVMModuleRef, LLVMMCJITMemoryManagerRef,
unsigned int, int, char**)':
gallivm/lp_bld_misc.cpp:526:11: warning: 'MM' may be used
uninitialized in this function [-Wmaybe-uninitialized]
    delete MM;


More information about the mesa-dev mailing list