Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test project doesn't compile #5

Open
GoogleCodeExporter opened this issue Apr 20, 2016 · 1 comment
Open

Test project doesn't compile #5

GoogleCodeExporter opened this issue Apr 20, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. open project
2. compile with no changes to target and settings (Debug target for device
using SDK 2.21 (base SDK))

What is the expected output? What do you see instead?
I am getting a compiler error:
vsinf.cpp:170: error: can't find a register in class 'LO_REGS' while
reloading 'asm'

Compiling for simulator doesn't work either:
vsinf.cpp: In function 'void vsinf(float*, float*, int)':
vsinf.cpp:170: error: unknown register name 's31' in 'asm'
vsinf.cpp:170: error: unknown register name 's30' in 'asm'
vsinf.cpp:170: error: unknown register name 's29' in 'asm'
vsinf.cpp:170: error: unknown register name 's28' in 'asm'
vsinf.cpp:170: error: unknown register name 's27' in 'asm'
vsinf.cpp:170: error: unknown register name 's26' in 'asm'
vsinf.cpp:170: error: unknown register name 's25' in 'asm'
vsinf.cpp:170: error: unknown register name 's24' in 'asm'
vsinf.cpp:170: error: unknown register name 's23' in 'asm'
vsinf.cpp:170: error: unknown register name 's22' in 'asm'
vsinf.cpp:170: error: unknown register name 's21' in 'asm'
vsinf.cpp:170: error: unknown register name 's20' in 'asm'
vsinf.cpp:170: error: unknown register name 's19' in 'asm'
vsinf.cpp:170: error: unknown register name 's18' in 'asm'
vsinf.cpp:170: error: unknown register name 's17' in 'asm'
vsinf.cpp:170: error: unknown register name 's16' in 'asm'
vsinf.cpp:170: error: unknown register name 's15' in 'asm'
vsinf.cpp:170: error: unknown register name 's14' in 'asm'
vsinf.cpp:170: error: unknown register name 's13' in 'asm'
vsinf.cpp:170: error: unknown register name 's12' in 'asm'
vsinf.cpp:170: error: unknown register name 's11' in 'asm'
vsinf.cpp:170: error: unknown register name 's10' in 'asm'
vsinf.cpp:170: error: unknown register name 's9' in 'asm'
vsinf.cpp:170: error: unknown register name 's8' in 'asm'
vsinf.cpp:170: error: unknown register name 's7' in 'asm'
vsinf.cpp:170: error: unknown register name 's6' in 'asm'
vsinf.cpp:170: error: unknown register name 's5' in 'asm'
vsinf.cpp:170: error: unknown register name 's4' in 'asm'
vsinf.cpp:170: error: unknown register name 's3' in 'asm'
vsinf.cpp:170: error: unknown register name 's2' in 'asm'
vsinf.cpp:170: error: unknown register name 's1' in 'asm'
vsinf.cpp:170: error: unknown register name 's0' in 'asm'
vsinf.cpp:170: error: unknown register name 's31' in 'asm'
vsinf.cpp:170: error: unknown register name 's30' in 'asm'
vsinf.cpp:170: error: unknown register name 's29' in 'asm'
vsinf.cpp:170: error: unknown register name 's28' in 'asm'
vsinf.cpp:170: error: unknown register name 's27' in 'asm'
vsinf.cpp:170: error: unknown register name 's26' in 'asm'
vsinf.cpp:170: error: unknown register name 's25' in 'asm'
vsinf.cpp:170: error: unknown register name 's24' in 'asm'
vsinf.cpp:170: error: unknown register name 's23' in 'asm'
vsinf.cpp:170: error: unknown register name 's22' in 'asm'
vsinf.cpp:170: error: unknown register name 's21' in 'asm'
vsinf.cpp:170: error: unknown register name 's20' in 'asm'
vsinf.cpp:170: error: unknown register name 's19' in 'asm'
vsinf.cpp:170: error: unknown register name 's18' in 'asm'
vsinf.cpp:170: error: unknown register name 's17' in 'asm'
vsinf.cpp:170: error: unknown register name 's16' in 'asm'
vsinf.cpp:170: error: unknown register name 's15' in 'asm'
vsinf.cpp:170: error: unknown register name 's14' in 'asm'
vsinf.cpp:170: error: unknown register name 's13' in 'asm'
vsinf.cpp:170: error: unknown register name 's12' in 'asm'
vsinf.cpp:170: error: unknown register name 's11' in 'asm'
vsinf.cpp:170: error: unknown register name 's10' in 'asm'
vsinf.cpp:170: error: unknown register name 's9' in 'asm'
vsinf.cpp:170: error: unknown register name 's8' in 'asm'
vsinf.cpp:170: error: unknown register name 's7' in 'asm'
vsinf.cpp:170: error: unknown register name 's6' in 'asm'
vsinf.cpp:170: error: unknown register name 's5' in 'asm'
vsinf.cpp:170: error: unknown register name 's4' in 'asm'
vsinf.cpp:170: error: unknown register name 's3' in 'asm'
vsinf.cpp:170: error: unknown register name 's2' in 'asm'
vsinf.cpp:170: error: unknown register name 's1' in 'asm'
vsinf.cpp:170: error: unknown register name 's0' in 'asm'


What version of the product are you using? On what operating system?
Latest version on 10.5.8 with XCode 3.1.3

Not sure what I am doing wrong?
Thanks, --th

Original issue reported on code.google.com by [email protected] on 10 Oct 2009 at 9:29

@GoogleCodeExporter
Copy link
Author

i had the same problem with my(10.6.7, xcode 3.2.6, ios base sdk 4.3, gcc 4.21).
the problem is xcode constantly screws up the project and target settings.
try to compile for the appropriate architecture and for "device" - this code 
should be only built on ARM6

Original comment by [email protected] on 29 Mar 2011 at 11:05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant