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

Andreas Schwab schwab@suse.de
Wed Aug 16 06:46:00 GMT 2017


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."



More information about the Libc-alpha mailing list