Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217097 - media-libs/libsdl-1.2.13: df not cleared/doesn't conform to SysV ABI
Summary: media-libs/libsdl-1.2.13: df not cleared/doesn't conform to SysV ABI
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL: http://www.freebsd.org/cgi/query-pr.c...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-10 08:28 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-04-20 08:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libsdl-1.2.13-clear-direction-flag.patch (libsdl-1.2.13-clear-direction-flag.patch,380 bytes, patch)
2008-04-10 08:31 UTC, Peter Alfredsen (RETIRED)
Details | Diff
patch for ebuild (libsdl-ebuild.patch,484 bytes, patch)
2008-04-10 08:32 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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