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

Details

Description:

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 https://github.com/ocaml/ocaml/issues/5721
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

Loading...