Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
When running bpftrace in RHEL 9.2, it crashes with the following messages:
[root@dell-r750-02 ~]# bpftrace
: CommandLine Error: Option 'use-dbg-addr' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Aborted (core dumped)
Version-Release number of selected component (if applicable):
0.13.1-1.el9
How reproducible:
Always
Steps to Reproduce:
1. dnf install -y bpftrace
2. bpftrace
3.
Actual results:
Crash dump
Expected results:
The command is to run successfully.
Additional info:
There is an issue in Github that says it is related to llvm being statically linked in both bcc and bpftrace
https://github.com/iovisor/bpftrace/issues/1855
I believe that the problem is that bpftrace has not yet been rebased to LLVM 15. I'll do it after the last BPF subsystem rebase is merged, to rebase against correct libbpf.
Comment 2Carlos Rodriguez-Fernandez
2022-12-13 23:20:48 UTC
Same here.
I started a brand new Centos Stream 9 VM in digitalocean. I did a "dnf up -y", and then installed bpftrace and a simple run shows the same error:
```
$ bpftrace -l
: CommandLine Error: Option 'use-dbg-addr' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Aborted (core dumped)
```
Thank you for working on this Viktor.
bpftrace 0.16.0-1 which supports LLVM 15 is now in the buildroot and the nightly compose, so this bug should not happen anymore.
Wander, Carlos, could you please confirm?
Thanks!
(In reply to Viktor Malik from comment #3)
> bpftrace 0.16.0-1 which supports LLVM 15 is now in the buildroot and the
> nightly compose, so this bug should not happen anymore.
>
> Wander, Carlos, could you please confirm?
>
> Thanks!
I suppose by tomorrow 9.2 builds will ship it?
> I suppose by tomorrow 9.2 builds will ship it?
Yes, it appeared in the compose yesterday, so it's likely in today's builds, too.
Comment 6Carlos Rodriguez-Fernandez
2023-01-09 18:06:16 UTC
(In reply to Viktor Malik from comment #3)
> bpftrace 0.16.0-1 which supports LLVM 15 is now in the buildroot and the
> nightly compose, so this bug should not happen anymore.
>
> Wander, Carlos, could you please confirm?
>
> Thanks!
Hi Viktor,
I can confirm that the problem is fixed in Centos 9 Stream.
Thank you!