Subject: Re: bug#76180: [feature/igc] Remaining known tracing issues

From: Eli Zaretskii <[email-masked]>
Date: Wed, 12 Feb 2025 14:40:18 +0200

> Date: Tue, 11 Feb 2025 20:16:21 +0000
> From: Pip Cet <[email-masked]>
> Cc: [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked]
> 
> --- a/lisp/emacs-lisp/comp.el
> +++ b/lisp/emacs-lisp/comp.el
> @@ -91,7 +91,8 @@ native-comp-bootstrap-deny-list
>    :type '(repeat regexp)
>    :version "28.1")
>  
> -(defcustom native-comp-compiler-options nil
> +(defcustom native-comp-compiler-options
> +  (cond ((featurep 'mps) (list "-fno-omit-frame-pointer")))
>    "Command line options passed verbatim to GCC compiler.

How about always using -fno-omit-frame-pointer, not as part of a user
option?  We could put it in some variable for those few (who?) who
might want to enable -fomit-frame-pointer.  I see no reason to expose
this to users, do you?

Alternatively, maybe the nativecomp code could be modified not to use
RBP?

Andrea, WDYT?

Thanks.