Bug 64590

Summary: broken compilation on gallivm/lp_bld_debug.cpp no matching function for call to 'llvm::Target::createMCAsmInfo(std::string&) const
Product: Mesa Reporter: Rafael Castillo <jrch2k10>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Rafael Castillo 2013-05-14 16:03:09 UTC
ext.c  -fPIC -DPIC -o draw/.libs/draw_context.o
gallivm/lp_bld_debug.cpp: In member function 'virtual void raw_debug_ostream::write_impl(const char*, size_t)':
gallivm/lp_bld_debug.cpp:116:40: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual]
gallivm/lp_bld_debug.cpp: In function 'size_t disassemble(const void*, llvm::raw_ostream&)':
gallivm/lp_bld_debug.cpp:216:64: error: no matching function for call to 'llvm::Target::createMCAsmInfo(std::string&) const'
gallivm/lp_bld_debug.cpp:216:64: note: candidate is:
In file included from gallivm/lp_bld_debug.cpp:38:0:
/usr/include/llvm/Support/TargetRegistry.h:269:16: note: llvm::MCAsmInfo* llvm::Target::createMCAsmInfo(const llvm::MCRegisterInfo&, llvm::StringRef) const
/usr/include/llvm/Support/TargetRegistry.h:269:16: note:   candidate expects 2 arguments, 1 provided
Comment 1 Chí-Thanh Christopher Nguyễn 2013-05-23 00:43:25 UTC
Supposedly this is fixed since
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff256ec0686bad0ccf3c9df99ba442773efbc181
Comment 2 Rafael Castillo 2013-05-23 00:55:57 UTC
it did, omg i forgot to close the bug report

thanks

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.