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

Summary: SDL_HasSSE 64bit crashes - with patch.
Product: SDL Reporter: Rene Dudfield <renesd>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: critical    
Priority: P2    
Version: 1.2.13   
Hardware: x86   
OS: Other   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=487720

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.