Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37143 - libsdl-1.2.5 is broken on AMD64 due to byte ordering issue.
Summary: libsdl-1.2.5 is broken on AMD64 due to byte ordering issue.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-03 14:45 UTC by Ryan C. Gordon
Modified: 2004-01-26 19:57 UTC (History)
1 user (show)

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


Attachments

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