Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 217097

Summary: media-libs/libsdl-1.2.13: df not cleared/doesn't conform to SysV ABI
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: hiyuh.root
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.freebsd.org/cgi/query-pr.cgi?pr=120052
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: libsdl-1.2.13-clear-direction-flag.patch
patch for ebuild

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-10 08:28:15 UTC
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 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-10 08:31:23 UTC
Created attachment 149281 [details, diff]
libsdl-1.2.13-clear-direction-flag.patch
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-10 08:32:08 UTC
Created attachment 149283 [details, diff]
patch for ebuild