This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Test for profiling support (_mcount/gprof)
On Aug 15 2017, Florian Weimer <fweimer@redhat.com> wrote:
> @@ -38,6 +38,12 @@ endif
> # The mcount code won't work without a frame pointer.
> CFLAGS-mcount.c := -fno-omit-frame-pointer
>
> +CFLAGS-tst-gmon.c := -pg
This fails if CFLAGS contains -fomit-frame-pointer.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."