Re: F37 proposal: Add -fno-omit-frame-pointer to default compilation flags (System-Wide Change proposal)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 5, 2022 at 1:17 PM Daan De Meyer via devel
<devel@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> The proposed configuration is to add "-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" to the default compilation flags. Are you alluding to inline assembly that won't have frame pointers set up correctly even with these two options enabled?

No - I think the problem is that adding those flags to the default
build configuration will affect the whole system - all executables and
shared libraries, not only "leaf" binaries. And that makes your
benchmarks (and those run by phoronix) basically useless for what
we're discussing here, because they only measure performance impact
when compiling the executables but not *the whole world* with those
flags, including all shared libraries that are used by executables
you're benchmarking.

So applying this change globally would, I assume, add to (or even
multiply) the negative effect wrt/ performance, so the effect will
likely be (much?) bigger than the few percent that were mentioned in
this thread?

Fabio
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux