Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540488 - =media-libs/mesa-10.4.4 does not compile with llvm-3.6.0
Summary: =media-libs/mesa-10.4.4 does not compile with llvm-3.6.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-18 13:23 UTC by Bernard Cafarelli
Modified: 2015-03-17 12:36 UTC (History)
1 user (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 Bernard Cafarelli gentoo-dev 2015-02-18 13:23:34 UTC
llvm 3.6.0 should be released soon, and I added a masked ebuild for rc3 in tree for those that want to test

As usual it breaks a few things, including mesa. Adding this patch made the compilation pass, but I did not test further:
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp?id=ef7e0b39a24966526b102643523feac765771842
Comment 1 Matt Turner gentoo-dev 2015-02-19 00:57:47 UTC
It's the policy of upstream to not add support for new versions of LLVM into stable releases.

See http://lists.freedesktop.org/archives/mesa-dev/2015-February/076234.html

Basically the reasoning is that fixing the compile errors (i.e., API changes) is often not sufficient, and without testing you might get something much worse.

I'm not sure if deviating from that policy in Gentoo is what we should do. Mesa 10.5-rc1 has been released (not yet in portage), which supports llvm-3.6.0. The final release is scheduled for March 6th. I'll have some 10.5 rcs in the tree before that as well.

So, I'm not sure what we should do. Anyone have any thoughts?
Comment 2 Bernard Cafarelli gentoo-dev 2015-03-02 10:29:24 UTC
3.6.0 is now in tree (masked) and 10.5_rc compiles fine with it, I did not do run tests though.

Do you prefer I keep llvm masked until 10.5 final release to sort out dependencies/blockers?
Comment 3 Matt Turner gentoo-dev 2015-03-04 02:05:20 UTC
It sounds like 10.4.6 will support llvm-3.6.0. Both 10.4.6 and 10.5.0 should be released on Friday. Leaving llvm-3.6.0 masked until both of these are in the tree sounds like a good plan.

Thanks Bernard!
Comment 4 Matt Turner gentoo-dev 2015-03-12 00:00:23 UTC
The 10.4.6 and 10.5.0 releases were botched -- they missed a bunch of commits.

And... 10.4.x will not support llvm-3.6.0.

I think since 10.5.0_rc3 is in the tree, you should be safe to unmask llvm-3.6.0 at least as far as Mesa is concerned.

chithead, should we put a <llvm-3.6.0 version dependence on <mesa-10.5?
Comment 5 Bernard Cafarelli gentoo-dev 2015-03-14 20:59:43 UTC
OK, llvm 3.6.0 is unmasked now, I'll leave the bug open if you want to update blockers
Comment 6 Kirill Elagin 2015-03-17 07:56:14 UTC
> chithead, should we put a <llvm-3.6.0 version dependence on <mesa-10.5?

Please, do!
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-03-17 11:44:59 UTC
Dependencies have been updated for versions that won't build against llvm-3.6