[PATCH][pushed] Add -fprofile-reproducible=parallel-runs to STAGEfeedback_CFLAGS to Makefile.tpl.

Gleb Fotengauer-Malinovskiy glebfm@altlinux.org
Fri Aug 27 17:45:11 GMT 2021


Hi,

On Thu, Mar 11, 2021 at 04:19:51PM +0100, Martin Liška wrote:
> Pushed as obvious, the original change was done
> in g:e05a117dc4b98f3ac60851608f532ba7cee7343a.
> 
> Martin
> 
> ChangeLog:
> 
> 	* Makefile.tpl: The change was done Makefile.in which
> 	is generated file.
> ---
>   Makefile.tpl | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile.tpl b/Makefile.tpl
> index 3b88f351d5b..6e0337fb48f 100644
> --- a/Makefile.tpl
> +++ b/Makefile.tpl
> @@ -488,7 +488,7 @@ STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
>   STAGEtrain_CFLAGS = $(filter-out -fchecking=1,$(STAGE3_CFLAGS))
>   STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS))
>   
> -STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use
> +STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use -fprofile-reproducible=parallel-runs

Did you mean to add -fprofile-reproducible flag to STAGEprofile_CFLAGS
instead?  I suppose this flag doesn't mean anything without
-fprofile-generate, which is passed through STAGEprofile_CFLAGS.

Thanks,
-- 
glebfm


More information about the Gcc-patches mailing list