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

Bug 459168

Summary: media-libs/mesa-9.1 USE=r600-llvm-compiler should depend on >=sys-devel/llvm-3.2
Product: Gentoo Linux Reporter: Paolo Pedroni <paolo.pedroni>
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alexander, bruce
Priority: Normal    
Version: 10.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paolo Pedroni 2013-02-25 15:59:00 UTC
media-libs/mesa-9.1 fails in the configure stage in my system with the following error:

configure: error: LLVM 3.2 or newer with R600 target enabled is required.
                     To use the r600/radeonsi LLVM backend, you need to fetch the LLVM source from:
                     git://people.freedesktop.org/~tstellar/llvm master
                     and build with --enable-experimental-targets=R600

I have sys-devel/llvm-3.1-r2 on my system.

Now I don't have time to upload my 'emerge --info', but if you need it I can post it tomorrow.

Reproducible: Always

Steps to Reproduce:
1. emerge -1v =mesa-9.1
Comment 1 Alexander Tsoy 2013-04-20 09:35:54 UTC
No, it should depend on >=sys-devel/llvm-3.3 since in gentoo llvm-3.2 doesn't include R600 backend. Otherwise llvm-3.2 need to be patched.

http://lists.freedesktop.org/archives/mesa-dev/2013-January/032205.html
Comment 2 Alexander Tsoy 2013-04-20 10:00:54 UTC
As I can see, this bug was fixed by this commit:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/mesa/mesa-9.1.ebuild?r1=1.4&r2=1.5

Only llvm-9999 have video_cards_radeon USE flag for now. And llvm-3.3 will have it too when it is released
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-05-04 22:03:00 UTC

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