On Thu, Aug 10, 2017 at 12:38 -0400, Jeremie Courreges-Anglas wrote:
> On Thu, Aug 10 2017, Mike Belopuhov <m...@belopuhov.com> wrote:
> > On Thu, Aug 10, 2017 at 12:27 -0400, Martin Pieuchot wrote:
> >> On 10/08/17(Thu) 18:21, Mark Kettenis wrote:
> >> > > 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?
> >> 
> >> Yes, it works with GCC, I use it all the time.
> >> 
> >
> > Not sure about that...  Jul 24 snap (from before the clang switch):
> 
> I think this is just pledge(2) kicking in.
> 

You're right.

nc(48331): syscall 44 ""
nc(80240): syscall 44 ""
stat(38843): syscall 44 ""

Reply via email to