Mercurial > sdl-ios-xcode
annotate README.Platforms @ 5130:f2c2f0ecba5f
Fixed bug #1111
kwm@rainbow-runner.nl 2011-01-30 06:28:27 PST
Created attachment 562 [details]
Build fix with clang.
When building sdl 1.2.14 with the Clang compiler http://clang.llvm.org .
The build fails in src/video/mmx.h with the following error:
--------------------------------------------------
./src/video/SDL_RLEaccel.c:831:5: error: invalid operand for instruction
CHOOSE_BLIT(RLECLIPBLIT, alpha, fmt);
^
./src/video/SDL_RLEaccel.c:831:17: note: instantiated from:
CHOOSE_BLIT(RLECLIPBLIT, alpha, fmt);
^
./src/video/SDL_RLEaccel.c:831:5: note: instantiated from:
CHOOSE_BLIT(RLECLIPBLIT, alpha, fmt);
^
./src/video/SDL_RLEaccel.c:647:23: note: instantiated from:
blitter(2, Uint8, ALPHA_BLIT16_565MMX); \
^
./src/video/SDL_RLEaccel.c:282:4: note: instantiated from:
movq_r2m(mm3, *dstp); \
^
In file included from ./src/video/SDL_RLEaccel.c:99:
./src/video/mmx.h:379:28: note: instantiated from:
#define movq_r2m(reg, var) mmx_r2m(movq, reg, var)
^
<scratch space>:192:1: note: instantiated from:
"movq"
^
<inline asm>:1:2: note: instantiated into assembly here
movq %mm3, %dx
^
--------------------------------------------------
According to the clang developers this is a invalid inline assembly.
Using the attached patch from the last commit in the below bug report fixes the
compile.
More details from: http://llvm.org/bugs/show_bug.cgi?id=6730
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 30 Jan 2011 13:42:05 -0800 |
parents | 5df0c142db9b |
children | 1435f8a6425c |
rev | line source |
---|---|
5106
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
1 |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
2 This is a list of the platforms SDL supports, and who maintains them. |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
3 |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
4 Officially supported platforms |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
5 ============================== |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
6 (code compiles, and thoroughly tested for release) |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
7 ============================== |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
8 Windows XP |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
9 Windows Vista |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
10 Windows 7 |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
11 Mac OS X 10.4+ |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
12 Linux 2.6+ |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
13 iOS 3.2+ |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
14 Android 1.6+ |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
15 |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
16 Unofficially supported platforms |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
17 ================================ |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
18 (code compiles, but not thoroughly tested) |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
19 ================================ |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
20 Windows CE |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
21 FreeBSD |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
22 NetBSD |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
23 OpenBSD |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
24 Solaris |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
25 |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
26 Platforms supported by volunteers |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
27 ================================= |
5111
5df0c142db9b
Scott Smith volunteered to maintain the Pandora port.
Sam Lantinga <slouken@libsdl.org>
parents:
5106
diff
changeset
|
28 Pandora - maintained by Scott Smith <pickle136@sbcglobal.net> |
5106
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
29 |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
30 Platforms that need maintainers |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
31 =============================== |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
32 Nintendo DS |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
33 QNX |
5fe0330b0fd6
Added a list of platforms, for my own sanity. :)
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
34 Haiku |