[Python-Dev] HEADS UP: Compilation risk with new GCC 4.5.0

"Martin v. Löwis" martin at v.loewis.de
Wed May 12 17:14:25 CEST 2010


> Short history: new GCC 4.5.0 (released a month ago), when compiling with
> -O3, is adding MMX/SSE instructions that requires stack aligned to 16
> byte. This is wrong, since x86 ABI only requires stack aligned to 4 bytes.

I think this is debatable. It depends on the operating system also;
ultimately, it is the OS vendor who specifies the C ABI for their
systems. On Linux, in absence of a vendor, the ABI is what the kernel
and gcc define it to be.

Regards,
Martin


More information about the Python-Dev mailing list