On Sat, Jan 7, 2023 at 1:31 AM Kevin Kofler via devel
<devel(a)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-om...
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!