Tue 07 Jan 2014 05:49:30 PM UTC, original submission:
I believe that the following patch broke compilation in ARM mode with LLVM:
http://lists.gnu.org/archive/html/freetype-devel/2013-09/msg00028.html
I can build FreeType 2.5.0 for an Android project without any problems, but 2.5.2 gives the following errors:
ftbitmap-129000.s: Assembler messages:
ftbitmap-129000.s:1549: Error: width suffixes are invalid in ARM mode -- `add.w r2,r2,#0x8000'
ftbitmap-129000.s:1561: Error: width suffixes are invalid in ARM mode -- `add.w r1,r1,#0x8000'
ftbitmap-129000.s:1573: Error: width suffixes are invalid in ARM mode -- `add.w r0,r0,#0x8000'
ftbitmap-129000.s:1587: Error: width suffixes are invalid in ARM mode -- `add.w r2,r2,#0x8000'
ftbitmap-129000.s:1604: Error: width suffixes are invalid in ARM mode -- `add.w r1,r1,#0x8000'
ftbitmap-129000.s:1621: Error: width suffixes are invalid in ARM mode -- `add.w r0,r0,#0x8000'
ftbitmap-129000.s:1639: Error: width suffixes are invalid in ARM mode -- `add.w r0,r0,#0x8000'
...
Building in thumb2 mode or undefining _clang_ results in a different set of errors, but these are probably unrelated to the assembly fix and happen with gcc as well:
In file included from jni/../src/autofit/autofit.c:22:
In file included from jni/../src/autofit/afangles.c:20:
In file included from jni/../src/autofit/aftypes.h:42:
jni/../src/autofit/afblue.h:112:19: error: use of undeclared identifier 'af_blue_1_2_1'; did you mean 'af_blue_1_1'?
af_blue_1_2 = af_blue_1_2_1 + 0,
^~~~~~~~~~~~~
af_blue_1_1
jni/../src/autofit/afblue.h:94:5: note: 'af_blue_1_1' declared here
af_blue_1_1 = 213,
^
jni/../src/autofit/afblue.h:171:19: error: use of undeclared identifier 'af_blue_2_2_1'; did you mean 'af_blue_2_1'?
af_blue_2_2 = af_blue_2_2_1 + 0,
^~~~~~~~~~~~~
af_blue_2_1
jni/../src/autofit/afblue.h:160:5: note: 'af_blue_2_1' declared here
af_blue_2_1 = 24,
^
In file included from jni/../src/autofit/autofit.c:32:
jni/../src/autofit/afcjk.c:2295:5: error: use of undeclared identifier 'AF_BLUE_STRINGSET_HANI'
AF_BLUE_STRINGSET_HANI,
^
jni/../src/autofit/aftypes.h:413:5: note: expanded from macro 'AF_DEFINE_SCRIPT_CLASS'
blue_stringset_, \
^
3 errors generated.
|