[Zlib-devel] HEADS UP: Apparent bad compilation under (just released) GCC 4.5.0

Jesus Cea jcea at jcea.es
Tue May 11 16:27:11 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/05/10 21:46, Török Edwin wrote:
> OK, maybe psyco doesn't align the stack as GCC expects it?
> Please discuss this with psyco developers.
> 
> It doesn't look like zlib itself is doing anything wrong here.

No, this is not a flaw in psyco or in zlib. It is in GCC. GCC 4.5.0
expect stack to be aligned to 16 bytes, but this expectation is not ABI
required. See GCC bugzilla linked in my last post.

Psyco exposes the bug, but the problem is GCC using MMX/SSE and
expecting the stack be 16 byte aligned, where the ABI only requires 4
byte aligned.

- -- 
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBS+m9n5lgi5GaxT1NAQL09QQAmoifSTuiMc4VG9NjhGl9+YgUJ1XSbmIQ
cU6z+zYSdIQNcEOyDiE7wocv+1kwr4Ah8v4ZpYNLBKMLzBU9+zKGJ+uFetJmlJce
WWwcBX+8ssba9njHO6fanXwQwSeR7xzWHFyi5jW84AQLXKYhyJ8ftxUFgqBFgAkH
OvM1/2HGS6o=
=ZXTp
-----END PGP SIGNATURE-----




More information about the Zlib-devel mailing list