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

Bug 37143

Summary: libsdl-1.2.5 is broken on AMD64 due to byte ordering issue.
Product: Gentoo Linux Reporter: Ryan C. Gordon <ryan>
Component: [OLD] LibraryAssignee: AMD64 Project <amd64>
Status: RESOLVED FIXED    
Severity: normal CC: games
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ryan C. Gordon 2004-01-03 14:45:08 UTC
There's a bug (oversight?) in SDL-1.2.5 on amd64 that causes the library to report the platform, incorrectly, as bigendian. This will cause any apps or libraries that depend on the SDL headers to report the system's byteorder backwards, which introduces strange, subtle, and frequently fatal bugs into lots of software.

We fixed this oversight in SDL-1.2.6. Mostly I'm filing this bug to encourage you to unmask 1.2.6 on amd64 to prevent other apparently unrelated bug reports from popping up. 1.2.6 runs fine on amd64 here.



Reproducible: Always
Steps to Reproduce:
1. emerge libsdl without accepting ~amd64 so it installs 1.2.5
2. emerge smpeg.
3. try to run smpeg's plaympeg app on an .mpg file and watch the strange errors it reports.
Comment 1 Kris Kersey (RETIRED) gentoo-dev 2004-01-26 13:27:56 UTC
Done. libsdl-1.2.6-r3 now stable.  libsdl-1.2.5-r2 no longer valid for amd64.
Comment 2 Ryan C. Gordon 2004-01-26 19:57:01 UTC
Thanks!

--ryan.