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

Bug 679960

Summary: media-libs/mesa with USE=llvm fails to cross compile with llvm/Config/llvm-config.h:43:3: error: #error "No ABI matched, please report a bug to bugs.gentoo.org"
Product: Gentoo Linux Reporter: tt_1 <herrtimson>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: compressed build log from mesa-18.2.8
emerge --info from host and target

Description tt_1 2019-03-10 18:00:04 UTC
Created attachment 568472 [details]
compressed build log from mesa-18.2.8

To me it seems that this happens, because the ebuild uses llvm-config from the host and not from the target. So, I wonder, is it possible to patch mesa's meson build system in a way that it not only detects cross-deps, but also cross-llvm-config?
Comment 1 tt_1 2019-03-10 18:05:19 UTC
Created attachment 568474 [details]
emerge --info from host and target
Comment 2 Matt Turner gentoo-dev 2019-03-10 19:06:53 UTC

*** This bug has been marked as a duplicate of bug 662722 ***