We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 760 - SDL_HasSSE 64bit crashes - with patch.
Summary: SDL_HasSSE 64bit crashes - with patch.
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 1.2.13
Hardware: x86 Other
: P2 critical
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL: https://bugzilla.redhat.com/show_bug....
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-30 23:20 UTC by Rene Dudfield
Modified: 2009-07-01 12:19 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Dudfield 2009-06-30 23:20:24 UTC
SDL_HasSSE 64bit crashes on 64bit linux.

redhat bug has good description - and patch.
https://bugzilla.redhat.com/show_bug.cgi?id=487720


A patch is here:
http://cvs.fedoraproject.org/viewvc/rpms/SDL/devel/SDL-1.2.13-rh487720.patch?revision=1.1&view=markup


This was affecting pygame on 64bit gentoo.
Comment 1 Ryan C. Gordon 2009-07-01 12:11:09 UTC
We apparently fixed this in the 1.3 branch already, but I've applied the Fedora patch to the 1.2 branch, svn revision #4596.

--ryan.
Comment 2 Ryan C. Gordon 2009-07-01 12:19:48 UTC
Hey, does anyone know if the #ifdef __sun sections need to use movq for the amd64 versions? If so, they're broken in the same ways.

and, uh, we need to use intrinsic functions for this when #ifdef _MSC_VER, on amd64.

--ryan.