Summary: | sys-devel/llvm-10.0.1 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | LLVM support project <llvm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gyakovlev, mgorny |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=787569 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2021-04-28 06:27:19 UTC
Created attachment 702753 [details]
build.log
build log and emerge --info
Possible context of error(s): -- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at least "4.7.1" (found Z3_LIBRARIES-NOTFOUND) -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) -- Could NOT find Python module pygments -- Could NOT find Python module pygments.lexers.c_cpp -- Could NOT find Python module yaml /var/tmp/portage/sys-devel/llvm-10.0.1/work/llvm/utils/benchmark/src/benchmark_register.h:17:30: error: ‘numeric_limits’ is not a member of ‘std’ I'm not going to maintain LLVM 10 beyond cherry-picking patches somebody else finds. (In reply to Michał Górny from comment #3) > I'm not going to maintain LLVM 10 beyond cherry-picking patches somebody > else finds. https://github.com/llvm/llvm-project/commit/b498303066a63a203d24f739b2d2e0e56dca70d1 sys-devel/llvm-10.0.1 with the one-line patch linked above builds successfully with gcc-11.1.0 on amd64 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8dd39b95a9f8c949c2f1fe9c4ee0e284625afa1 commit f8dd39b95a9f8c949c2f1fe9c4ee0e284625afa1 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2021-04-28 12:59:21 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2021-04-28 13:02:21 +0000 sys-devel/llvm: Backport gcc-11 build fix Thanks to Stephan Hartmann for pointing out the relevant commit. Closes: https://bugs.gentoo.org/786201 Signed-off-by: Michał Górny <mgorny@gentoo.org> sys-devel/llvm/Manifest | 2 +- sys-devel/llvm/llvm-10.0.1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) |