[PATCH] Test for profiling support (_mcount/gprof)

Florian Weimer fweimer@redhat.com
Wed Aug 16 15:32:00 GMT 2017


On 08/16/2017 05:30 PM, Andreas Schwab wrote:
> On Aug 16 2017, Florian Weimer <fweimer@redhat.com> wrote:
> 
>> On 08/16/2017 05:20 PM, Andreas Schwab wrote:
>>> On Aug 16 2017, Florian Weimer <fweimer@redhat.com> 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.

Thanks,
Florian



More information about the Libc-alpha mailing list