FS#71164 - [bpftrace] Abort on startup with LLVM 12

Attached to Project: Community Packages
Opened by Daniel Xu (dxu) - Monday, 07 June 2021, 18:45 GMT
Last edited by Anatol Pomozov (anatolik) - Tuesday, 08 June 2021, 17:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I've filed a bug with more details in https://bugs.archlinux.org/task/71163 for bcc package.

Additional info:
* package version(s)
Version : 0.12.0-2

* config and/or log files etc.
See below

* link to upstream bug report, if any
https://github.com/iovisor/bpftrace/issues/1855

Steps to reproduce:

```
$ bpftrace --help
: CommandLine Error: Option 'openmp-ir-builder-optimistic-attributes' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
[1] 323607 abort (core dumped) bpftrace --help
```
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Tuesday, 08 June 2021, 17:29 GMT
Reason for closing:  Duplicate
Additional comments about closing:  Closing it in favor of  FS#71163 
Comment by Daniel Xu (dxu) - Monday, 07 June 2021, 18:46 GMT
As mentioned in the bcc bug, the suggested fix is to compile bcc with `-DENABLE_LLVM_SHARED=1`.

I've filed this bug here so other people investigating the issue can find it.

Loading...