Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104049 - Porting snes9x to amd64
Summary: Porting snes9x to amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL: http://www.snes9x.com/phpbb2/viewtopi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-28 10:06 UTC by fjmccloud
Modified: 2005-08-28 14:16 UTC (History)
0 users

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 fjmccloud 2005-08-28 10:06:08 UTC
The URL above is a pointer to the snes9x forums where efforts have been made to
fix amd64 compilation.

The biggest fix required to get started is a single-line change to port.h to fix
x86-64 endianness.  The next fixes are for sound and tiles.

Until snes9x officially releases a new version with official fixes can patches
be made, and the ebuild updated to exclude -m32 from amd64 compilation?  This
way we could start testing it in gentoo.

Reproducible: Always
Steps to Reproduce:
1. compile snes9x without -m32
2.
3.

Actual Results:  
Due to bad endianness, a native amd64 build will segfault.

Expected Results:  
compiled natively for amd64.
Comment 1 SpanKY gentoo-dev 2005-08-28 14:16:59 UTC
fixed port.h and added a var NATIVE_AMD64_BUILD_PLZ

so do `env NATIVE_AMD64_BUILD_PLZ=yes emerge snes9x`