On Sat, Jan 7, 2023 at 1:31 AM Kevin Kofler via devel
<devel@lists.fedoraproject.org> wrote:
>
> Neal Gompa wrote:
> > GCC is not the official compiler on Windows or macOS. Both platforms
> > require frame pointers on all supported architectures with their
> > official compilers (MSVC for Windows, Clang for macOS).
>
> Frame pointers are not required by the operating system if you can compile
> working programs without them.
>
> Also, for MSVC, /Oy- is documented to be supported on everything except
> "x64" (which, as I understand it, means x86_64):
> https://learn.microsoft.com/en-us/cpp/build/reference/oy-frame-pointer-omission?view=msvc-170
> so it requires frame pointers on x86_64 for some reason (SEH support?), but
> apparently not on other architectures, or the documentation is wrong.
>

It's on for AArch64 too (it's also always been on for AArch64 for
Linux too). But yes, it is required on x86_64 for SEH.





--
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to