Bug 217097 - media-libs/libsdl-1.2.13: df not cleared/doesn't conform to SysV ABI
Bug#: 217097 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: loki_val@gentoo.org
Component: Applications
URL:  http://www.freebsd.org/cgi/query-pr.cgi?pr=120052
Summary: media-libs/libsdl-1.2.13: df not cleared/doesn't conform to SysV ABI
Keywords:  
Status Whiteboard: 
Opened: 2008-04-10 08:28 0000
Description:   Opened: 2008-04-10 08:28 0000
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:

------- Comment #1 From Peter Alfredsen 2008-04-10 08:31:23 0000 -------
Created an attachment (id=149281) [details]
libsdl-1.2.13-clear-direction-flag.patch

------- Comment #2 From Peter Alfredsen 2008-04-10 08:32:08 0000 -------
Created an attachment (id=149283) [details]
patch for ebuild

------- Comment #3 From SpanKY 2008-04-20 08:50:54 0000 -------
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