Re: Odd Compiler... issue... error... something weird
Re: Odd Compiler... issue... error... something weird
- Subject: Re: Odd Compiler... issue... error... something weird
- From: Scott Thompson <email@hidden>
- Date: Thu, 26 Mar 2009 11:11:04 -0500
Thank you for your insight, Chris.
>This looks like it's happening when the output of the compiler (which
>is an assembler file) is being piped to the machine-language
>assembler, and there are structural errors in the assembler code. For
>the device, this is often offsets that are out of range for the
>particular CPU code model in use.
[...snip...]
>This is probably a compiler bug and it would be very helpful to report
>it with the source.
>
>Usually adjusting the size of your switch statements or refactoring a
>big method is the way to get around this.
I will look into the situation, as you say, and see if I can find something related which might help.
The very odd thing about this problem is that it ONLY seems to be an issue when using xcodebuild from the command line. The same project (in the same configuration) compiles and links just fine through the IDE. Moreover, the exact same code is shared with another project and that other project compiles just fine (in the same xcodebuild command line environment).
This leads me to believe that the problem lies not with the code itself, but with the xcodebuild "environment" and/or with this one particular project. (I've run the build on two different computers and it fails equally on both so I don't think it's machine specific.)
It also makes me skeptical about any hope of pulling the code out and putting it into a project that I could send along with a bug report. :-(
Nevertheless, I will follow your suggestions and do my best to try and narrow things down.
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden