Summary: | dev-util/perf-5.18: build failure with binutils-2.39 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Naohiro Aota <naota> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | admnd, amadio, ansla80, dlan, gentoo, holger, zlogene |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/torvalds/linux/commit/83aa0120487e8bc3f231e72c460add783f71f17c | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=868123 https://bugs.gentoo.org/show_bug.cgi?id=880103 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 868111 | ||
Attachments: | build.log |
Description
Sam James
![]() ![]() ![]() ![]() I was *just* trying to get it to work for perf and bpftrace, and found that the single mentioned patch is not even remotely enough. The binutils-2.39 API change requires a whole slew of patches not just for perf but also for BPF in general. Query: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/tools?qt=grep&q=Andres+Freund Ideally all these should end in the various kernel trees (and I expect them to show up eventually), but for now the easiest way is to mask binutils-2.39 again. *** Bug 868411 has been marked as a duplicate of this bug. *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d1fd30a252e122a5c5b1a7cb8aaae8597f7fdbb commit 3d1fd30a252e122a5c5b1a7cb8aaae8597f7fdbb Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-05 00:40:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-05 00:40:56 +0000 dev-util/perf: add 5.19 Closes: https://bugs.gentoo.org/868129 Signed-off-by: Sam James <sam@gentoo.org> dev-util/perf/Manifest | 2 + dev-util/perf/perf-5.19.ebuild | 269 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 271 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6707360d2ee62f70b0320073a80e46dc92ef83fe commit 6707360d2ee62f70b0320073a80e46dc92ef83fe Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-05 01:13:42 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-05 01:13:42 +0000 dev-util/perf: add comment re binutils-2.39 patches Bug: https://bugs.gentoo.org/868129 Signed-off-by: Sam James <sam@gentoo.org> dev-util/perf/perf-5.19.ebuild | 2 ++ 1 file changed, 2 insertions(+) Used hint from Holger at https://bugs.gentoo.org/868129#c1 & nixpkgs' https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/perf/5.19-binutils-2.39-support.patch. |