Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425688 - media-libs/mesa[opencl] needs patched version of llvm and clang to support r600 target
Summary: media-libs/mesa[opencl] needs patched version of llvm and clang to support r6...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-10 15:23 UTC by Alexey Shvetsov
Modified: 2012-09-06 11:42 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shvetsov archtester gentoo-dev 2012-07-10 15:23:38 UTC
media-libs/mesa[opencl] needs patched version of llvm and clang to support r600 target

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-07-10 15:27:08 UTC
Bernard, Richard, what do you think? We can apply the patches to 3.1 (I've got that in ::mgorny already) but they don't apply to 9999 anymore.
Comment 2 Alexey Shvetsov archtester gentoo-dev 2012-07-10 18:07:18 UTC
Actualy we can ask tsellar to rebase them ontop of master llvm/clang branches
Comment 3 Bernard Cafarelli gentoo-dev 2012-07-11 12:18:49 UTC
I may have missed a step here, where are these patches? On which versions   should we apply them?

I'd rather keep -9999 clean (as these can break anytime), and I suppose they will get added upstream before 3.2, but adding them to 3.1 is probably OK
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-07-11 14:02:10 UTC
(In reply to comment #3)
> I may have missed a step here, where are these patches? On which versions  
> should we apply them?
> 
> I'd rather keep -9999 clean (as these can break anytime), and I suppose they
> will get added upstream before 3.2, but adding them to 3.1 is probably OK

http://people.freedesktop.org/~tstellar/clover/llvm_patches/
http://people.freedesktop.org/~tstellar/clover/clang_patches/

On 3.1.
Comment 5 Bernard Cafarelli gentoo-dev 2012-07-16 07:57:51 UTC
OK for me!
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-07-16 09:34:22 UTC
/var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-3.1-r2.ebuild,v  <--  llvm-3.1-r2.ebuild
initial revision: 1.1
/var/cvsroot/gentoo-x86/sys-devel/clang/clang-3.1-r5.ebuild,v  <--  clang-3.1-r5.ebuild
initial revision: 1.1
Comment 7 Ambroz Bizjak 2012-07-20 20:28:30 UTC
The patch that was applied to llvm for this bugs causes many problems in clang (compiler crashes, miscompilations); see bug 427206.