Mercurial > sdl-ios-xcode
annotate .hgignore @ 5129:32f0f603a0c8 SDL-1.2
Fixed bug #1111
kwm@rainbow-runner.nl 2011-01-30 06:28:27 PST
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:38:57 -0800 |
parents | eaa84e527969 |
children |
rev | line source |
---|---|
4420
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
1 syntax:glob |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
2 aclocal.m4 |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
3 autom4te* |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
4 config.cache |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
5 config.log |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
6 config.status |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
7 configure |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
8 libtool |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
9 Makefile |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
10 sdl-config |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
11 SDL.spec |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
12 SDL.qpg |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
13 build |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
14 build-deps |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
15 VisualC |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
16 VisualCE |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
17 Xcode |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
18 .DS_Store |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
19 sdl.pc |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
20 include/SDL_config.h |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
21 test/aclocal.m4 |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
22 test/autom4te* |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
23 test/config.cache |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
24 test/config.log |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
25 test/config.status |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
26 test/configure |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
27 test/Makefile |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
28 test/SDL.dll |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
29 test/stdout.txt |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
30 test/stderr.txt |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
31 test/checkkeys |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
32 test/graywin |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
33 test/loopwave |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
34 test/testpower |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
35 test/testalpha |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
36 test/testbitmap |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
37 test/testblitspeed |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
38 test/testcdrom |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
39 test/testdyngl |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
40 test/testerror |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
41 test/testfile |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
42 test/testgamma |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
43 test/testgl |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
44 test/testhread |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
45 test/testiconv |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
46 test/testjoystick |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
47 test/testkeys |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
48 test/testlock |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
49 test/testoverlay |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
50 test/testoverlay2 |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
51 test/testpalette |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
52 test/testplatform |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
53 test/testsem |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
54 test/testsprite |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
55 test/testtimer |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
56 test/testver |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
57 test/testvidinfo |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
58 test/testwin |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
59 test/testwm |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
60 test/threadwin |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
61 test/torturethread |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
62 test/testcursor |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
63 test/testloadso |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
64 test/*.exe |
eaa84e527969
Added .hgignore file for 1.2 branch.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
65 test/*.dSYM |