... gallivm/lp_bld_debug.cpp: In function 'void lp_disassemble(const void*)': gallivm/lp_bld_debug.cpp:210:64: error: no matching function for call to 'llvm::Target::createMCAsmInfo(std::string&) const' OwningPtr<const MCAsmInfo> AsmInfo(T->createMCAsmInfo(Triple)); ^ gallivm/lp_bld_debug.cpp:210:64: note: candidate is: In file included from gallivm/lp_bld_debug.cpp:37:0: /usr/local/include/llvm/Support/TargetRegistry.h:298:16: note: llvm::MCAsmInfo* llvm::Target::createMCAsmInfo(const llvm::MCRegisterInfo&, llvm::StringRef) const MCAsmInfo *createMCAsmInfo(const MCRegisterInfo &MRI, ^ /usr/local/include/llvm/Support/TargetRegistry.h:298:16: note: candidate expects 2 arguments, 1 provided media-libs/mesa-9.1.4 [9.1.3] USE="classic egl gallium gbm gles2 llvm nptl shared-glapi vdpau" VIDEO_CARDS="r600 radeon" sys-devel/llvm-3.3 Reproducible: Always
1) Please attach the entire build log to this bug report. 2) Please post your `emerge --info' output in a comment.
It looks like portage picked up /usr/local/bin/llvm-config (version 3.4 tip) instead of /usr/bin/llvm-config (version 3.3). Is there a way to tell portage to ignore /usr/local/bin/ ?