As reported on Freebsd [ http://www.freebsd.org/cgi/query-pr.cgi?pr=120052 ] and Debian [ http://bugs.debian.org/462794 ] bugzillas, libsdl will in some cases enter the signal handler with the direction flag set to backwards, which violates the SysV abi. This presumably is only a problem on systems running GCC 4.3.0, since all earlier version of GCC cleared the direction flag before entering the signal handler. Reproducible: Always Steps to Reproduce:
Created attachment 149281 [details, diff] libsdl-1.2.13-clear-direction-flag.patch
Created attachment 149283 [details, diff] patch for ebuild
ive added the fix from upstream svn, thanks for the report! http://sources.gentoo.org/media-libs/libsdl/libsdl-1.2.11-r2.ebuild?r1=1.12&r2=1.13 http://sources.gentoo.org/media-libs/libsdl/libsdl-1.2.13.ebuild?r1=1.3&r2=1.4 http://sources.gentoo.org/media-libs/libsdl/files/libsdl-1.2.13-cld.patch?rev=1.1