> Date: Thu, 10 Aug 2017 12:10:27 -0400 > From: Martin Pieuchot <m...@openbsd.org> > > Building a profiled binary, using -pg with clang doesn't work as > expected. A gmon.out is properly generated when the binary exit, > but it doesn't include any profiling data.
Seems to work when I pass -nopie on the command line. Did this ever work since we switched to static PIE? Can somebody try on a 6.1 system perhaps?