Created attachment 640600 [details, diff] Ebuild patch Bpftrace get llvm 10 libraries but adds libbcc that is compiled only with llvm 9 and then segfaults. The following patches allow bpftrace to be compiled with llvm 9 and does not fail if other llvm versions exists.
Created attachment 640602 [details, diff] patch for bpftrace for llvm 9
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c58230e0fc74178013f49bf1adc9f856e9ea247 commit 0c58230e0fc74178013f49bf1adc9f856e9ea247 Author: Patrick McLean <patrick.mclean@sony.com> AuthorDate: 2020-05-28 20:26:30 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2020-05-28 20:26:48 +0000 dev-util/bpftrace-0.10.0-r1: Bump, patch llvm-10 segfault (bug #724382) Closes: https://bugs.gentoo.org/724382 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> ...ace-0.10.0.ebuild => bpftrace-0.10.0-r1.ebuild} | 3 ++ .../files/bpftrace-0.10.0-llvm-multi.patch | 60 ++++++++++++++++++++++ 2 files changed, 63 insertions(+)