sm-grimoire-bugs AT lists.ibiblio.org
Subject: SourceMage Grimoire Bug List
List archive
[SM-Grimoire-Bugs] [Bug 10043] New: sdl_gfx defaults to using x86 MMX assembler on PPC (perhaps also other archs) - workaround
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-grimoire-bugs AT lists.ibiblio.org
- Subject: [SM-Grimoire-Bugs] [Bug 10043] New: sdl_gfx defaults to using x86 MMX assembler on PPC (perhaps also other archs) - workaround
- Date: Sat, 29 Oct 2005 19:42:20 -0700 (PDT)
http://bugs.sourcemage.org/show_bug.cgi?id=10043
Summary: sdl_gfx defaults to using x86 MMX assembler on PPC
(perhaps also other archs) - workaround
Product: Codex
Version: stable grimoire
Platform: PPC
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P2
Component: libs
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: eekee AT eekee.is-a-geek.org
Compiling SDL_gfx-2.0.10 (stable) and SDL_gfx-2.0.13 (test) fails on my PPC
machine due to x86 assembler being passed to the compiler. I have added a
configuration option to the spell governing configure's --enable-mmx option.
The
CONFIGURE file needs to be created, containing this line:
config_query MMX "Enable MMX? Do *NOT* use on x86_64 or ppc platforms " n
And here is the patch for BUILD:
--- BUILD.old 2005-10-30 01:37:17.000000000 +0000
+++ BUILD 2005-10-30 01:25:07.000000000 +0000
@@ -1,4 +1,9 @@
unset CFLAGS
+
+if [ "$MMX" = "n" ]; then
+ OPTS="$OPTS --disable-mmx"
+fi &&
+
./configure --build=$BUILD \
--prefix=/usr \
--sysconfdir=/etc \
Ideally, the spell should probably test for MMX availability as the effectv
spell does and adjust the default accordingly, I guess.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Grimoire-Bugs] [Bug 10043] New: sdl_gfx defaults to using x86 MMX assembler on PPC (perhaps also other archs) - workaround, bugzilla-daemon, 10/29/2005
Archive powered by MHonArc 2.6.24.