Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 475472

Summary: media-libs/mesa-9.1.4 - ?
Product: Gentoo Linux Reporter: octoploid <octoploid>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: jarausch, octoploid
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description octoploid 2013-07-02 06:08:23 UTC
...
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
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-02 15:11:01 UTC
1) Please attach the entire build log to this bug report.
2) Please post your `emerge --info' output in a comment.
Comment 2 octoploid 2013-07-02 15:34:13 UTC
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/ ?