Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559538 - media-libs/mesa-10.6.5 fails at building when sys-devel/llvm-3.7.0 is installed
Summary: media-libs/mesa-10.6.5 fails at building when sys-devel/llvm-3.7.0 is installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-03 16:31 UTC by jorgicio
Modified: 2015-10-26 18:18 UTC (History)
2 users (show)

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


Attachments
The patch that fixes it (mesa-10.6.5-llvm-3.7-fix.patch,1.74 KB, patch)
2015-09-03 16:31 UTC, jorgicio
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jorgicio 2015-09-03 16:31:15 UTC
Hi!

Mesa fails at building. It can't find the NoFramePointerElim attribute, so I found a patch that fixes it.

Thanks to: http://lists.freedesktop.org/archives/mesa-commit/2015-May/056714.html

Tried and working.

Reproducible: Always
Comment 1 jorgicio 2015-09-03 16:31:33 UTC
Created attachment 410932 [details, diff]
The patch that fixes it
Comment 2 jorgicio 2015-09-07 14:04:29 UTC
The same happens with version 10.6.6.
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2015-09-08 08:29:12 UTC
=media-libs/mesa-11.0.0_rc2 builds fine with llvm-3.7
Comment 4 jorgicio 2015-09-08 15:28:32 UTC
(In reply to Tiziano Müller from comment #3)
> =media-libs/mesa-11.0.0_rc2 builds fine with llvm-3.7

Yes, but since those versions are Release Candidate, I prefer not to use them. Also, there must be compatibility with older Mesa versions.
Comment 5 Matt Turner gentoo-dev 2015-09-08 22:59:03 UTC
Stable releases of Mesa does not add support for new versions of LLVM, as a policy. I'd recommend using the release candidates until 11.0.0 is in the tree.
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-09-09 22:37:25 UTC
We should at least set the dependencies correctly so users don't hit this issue.
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-10-26 18:18:06 UTC
mesa-10.5 and 10.6 now depend on compatible llvm versions.