sasikalar / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

to support armv6/fix "garbage following instruction -- `orr r0,r3,lsl#16'" #262

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1.cmake for ios
2.chang all target arch to "armv7 armv6 i386"
3.build

/var/folders/b0/pnclkmbd1xng9lhk1tpdvqqc0000gn/T/autofit-exZPe0.s:3310:garbage 
following instruction -- `orr r0,r3,lsl#16'
clang: error: assembler command failed with exit code 1 (use -v to see 
invocation)
Command 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/u
sr/bin/clang failed with exit code 1

the latest version ogrekit on mac lion 10.7.4/xcode 4.3.1

i know ogre dependencies can build the freetype for armv6.

Original issue reported on code.google.com by lin...@gmail.com on 16 Aug 2012 at 11:03

GoogleCodeExporter commented 9 years ago
on xcode 4.4  
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/u
sr/bin/../lib/clang/4.0/include/arm_neon.h:28:2: error: "NEON support not 
enabled"
#error "NEON support not enabled"
 ^
1 error generated.

Original comment by lin...@gmail.com on 20 Aug 2012 at 2:58

GoogleCodeExporter commented 9 years ago
Is this one with your bullet-patch fixed?

Original comment by thomas.t...@googlemail.com on 6 Sep 2012 at 3:32

GoogleCodeExporter commented 9 years ago
yeah , it is.

Original comment by lin...@gmail.com on 6 Sep 2012 at 5:09

GoogleCodeExporter commented 9 years ago

Original comment by thomas.t...@googlemail.com on 8 Sep 2012 at 9:46

GoogleCodeExporter commented 9 years ago
I'm having the same issue changing arch to "armv7 armv6 i386"

/var/folders/-u/-uxr0BeVGcyqpt8I9qfQ4++++TI/-Tmp-/cc-qxOqj9.s:3521:garbage 
following instruction -- `orr r0,r3,lsl#16'
clang: error: assembler command failed with exit code 1 (use -v to see 
invocation)
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed 
with exit code 1

Xcode 4.2 iOS SDK 5.0

Original comment by rhodyl...@gmail.com on 7 Feb 2013 at 12:36

GoogleCodeExporter commented 9 years ago
For the records, and because I don't want to reinvent the wheel the next time I 
have to build for armv6 from Xcode 4.2 on Snow Leopard

decompress to /opt/local/bin/
cd /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
sudo mv clang clang.original
sudo mv clang++ clang++.original
sudo ln -s /opt/local/bin/clang-mp-3.1 clang
sudo ln -s /opt/local/bin/clang++-mp-3.1 clang++

Original comment by rhodyl...@gmail.com on 23 Sep 2013 at 4:43

Attachments: