On Mon, Feb 21, 2022 at 05:36:16PM +0900, Yuichiro NAITO wrote:
> Of course, all programs compiled without '-pg' work fine for me.
> I found this issue when I profile my application with gprof(1).
> For example, following example C source code fails to execute on OpenBSD 7.0.

Profile is partly broken and has been for a while.

Compiling with -static and removing any pledge() call allow profiling to work.

Reply via email to