This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] Test for profiling support (_mcount/gprof)
On Wed, Aug 16, 2017 at 8:32 AM, Florian Weimer <firstname.lastname@example.org> wrote:
> On 08/16/2017 05:30 PM, Andreas Schwab wrote:
>> On Aug 16 2017, Florian Weimer <email@example.com> wrote:
>>> On 08/16/2017 05:20 PM, Andreas Schwab wrote:
>>>> On Aug 16 2017, Florian Weimer <firstname.lastname@example.org> wrote:
>>>>> If you don't use --enable-frame-pointer for GCC, there's no apparent
>>>>> reason to me to build glibc with --fomit-frame-pointer because it's the
>>>>> default (albeit in a fashion that is compatible with -pg).
>>>> That is not true.
>>> It is currently true—I don't see why anyone would want to build glibc
>>> this way. Could you enlighten me?
>> To omit the frame pointer.
> But GCC does it by default if you don't build with
> --enable-frame-pointer, at least on i386, which is the architecture for
> which you reported the failure.
gmon/tst-gmon-gprof also fails with GCC defaulting to PIE.