Summary: | media-libs/mesa: please add LLVM version 13 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Oleksa <leo> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | herrtimson, leo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Oleksa
2021-10-05 08:05:45 UTC
mesa-21.2.3 fails to build with llvm-13 on 32bit. At least the changes from this MR are required to fix build with llvm-13: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11940 you will have to pull in that fix to the 20.2.x branch, upstream is not really keen on backporting it - I asked for an official backport two months ago, no answer from them whatsoever. mesa-21.2.4 builds with llvm-13 without further patching. I can confirm that mesa-21.2.4 builds successfully with USE llvm and LLVM_MAX_SLOT="13" with no patching required. From the poly-c repo, with CC and CXX set in env media-libs/mesa-21.2.4_pre::poly-c ABI_X86="32 64" CC=clang (13.0.0) CXX=clang++ (13.0.0) LD=ld.lld (12.0.1) CFLAGS="-march=native -O3 -pipe" CXXFLAGS="-march=native -O3 -pipe" I can also build with GCC 11.2.0 and ld.bfd 2.37_p1, but using the -O3 flag gives a QA notice. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9ab97c1f47ec0a3f0dc4f6c6a5982cbedb52d76 commit b9ab97c1f47ec0a3f0dc4f6c6a5982cbedb52d76 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-10-30 20:31:45 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-10-30 23:04:13 +0000 media-libs/mesa: Allow sys-devel/llvm:13 Closes: https://bugs.gentoo.org/816381 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/mesa/mesa-9999.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) |