Re: -pg broken with clang

2017-08-10 Thread Mike Belopuhov
On Thu, Aug 10, 2017 at 12:38 -0400, Jeremie Courreges-Anglas wrote: > On Thu, Aug 10 2017, Mike Belopuhov 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 P

Re: -pg broken with clang

2017-08-10 Thread Jeremie Courreges-Anglas
On Thu, Aug 10 2017, Mike Belopuhov 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 >> > > >> > > Building a profiled binary, using -pg with clang doesn'

Re: -pg broken with clang

2017-08-10 Thread Mark Kettenis
> Date: Thu, 10 Aug 2017 12:27:10 -0400 > From: Martin Pieuchot > > On 10/08/17(Thu) 18:21, Mark Kettenis wrote: > > > Date: Thu, 10 Aug 2017 12:10:27 -0400 > > > From: Martin Pieuchot > > > > > > Building a profiled binary, using -pg with clang doesn't work as > > > expected. A gmon.out is pr

Re: -pg broken with clang

2017-08-10 Thread Mike Belopuhov
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 > > > > > > Building a profiled binary, using -pg with clang doesn't work as > > > expected. A gmon.out is properly g

Re: -pg broken with clang

2017-08-10 Thread Todd C. Miller
On Thu, 10 Aug 2017 12:27:10 -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 > > > > > > Building a profiled binary, using -pg with clang doesn't work as > > > expected. A gmon.out is properly g

Re: -pg broken with clang

2017-08-10 Thread Martin Pieuchot
On 10/08/17(Thu) 18:21, Mark Kettenis wrote: > > Date: Thu, 10 Aug 2017 12:10:27 -0400 > > From: Martin Pieuchot > > > > 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

Re: -pg broken with clang

2017-08-10 Thread Mark Kettenis
> Date: Thu, 10 Aug 2017 12:10:27 -0400 > From: Martin Pieuchot > > 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 li