Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#75461 - [ocaml] please configure ocaml with --enable-frame-pointers so that perf gives sensible stacks

Attached to Project: Arch Linux
Opened by Jason Gross (JasonGross) - Sunday, 31 July 2022, 03:44 GMT
Last edited by Jürgen Hötzel (juergen) - Tuesday, 09 August 2022, 18:47 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jürgen Hötzel (juergen)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



It seems that Arch's ocaml is not `./configure`d with `--enable-frame-pointers`. As a result, it is impossible to use `perf` in a meaningful way with any OCaml program (frame pointers are a configuration-time option for OCaml, not a per-program compile-time option, I think because the compiler links in the runtime system and frame pointers change the calling convention). Please pass `--enable-frame-pointers` to `./configure`.

Additional info:
* package version(s) 4.13.1-3
* config and/or log files etc. N/A
* link to upstream bug report, if any Option introduced in
This task depends upon

Closed by  Jürgen Hötzel (juergen)
Tuesday, 09 August 2022, 18:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  In 4.14.0-1