0

My iPhone app was compiling just fine, then all of the sudden, it started failing to compile, with the error:

LLVM GCC 4.2 Error Internal Compiling Error: Bus Error 10

It compiles just fine for the simulator but it won't build to a device. I have tried what seems like everything, and nothing works. There is no stack trace that I can post. Additionally, the code is too long to paste all of it here since I can't be sure exactly where the problem is (again, no stack trace).

How can I narrow this down?

EDIT: I KNOW that I tried this before, but setting the compiler to GCC instead of LLVM GCC successfully compiled the app. I wish I knew the reason why Xcode was behaving this way, but for now all I can chalk this up to is ghosts.

Jonas
130k103 gold badges329 silver badges408 bronze badges
asked Aug 12, 2011 at 4:38
9
  • 1
    How about you help yourself and supply enough information to make the question answerable. Commented Aug 12, 2011 at 4:40
  • 1
    @Nick, you are seriously going to have to provide a lot more information than this. Some context and source would be great. Stack trace if possible. I suspect this question will be closed quickly otherwise and then you won't get an answer Commented Aug 12, 2011 at 4:41
  • Sorry everyone, Im just panicking. My project was compiling fine, and I tried to build it to my phone (the same build, no changes were made), but then it started with the error. It doesn't SAY anything... just "LLVM GCC 4.2 Error Internal Compiling Error: Bus Error 10 at the bottom of a .m file on the @end line The source is far too long to post--unless there is some specific place you would need to see? Commented Aug 12, 2011 at 4:50
  • stackoverflow.com/questions/5493647/… Commented Aug 12, 2011 at 4:53
  • stackoverflow.com/questions/5042256/… Commented Aug 12, 2011 at 4:54

1 Answer 1

0

I've often gotten this error when there's some syntax error and the compiler can't move forward. Older versions of Xcode used to say something like this:

confused by earlier errors, bailing out

(I suspect it's the same thing internally.)

Go back and cheek your recent changes. I'll bet it's a semicolon or quote missing somewhere. This is why we are supposed to hit compile more than once an hour. I've had this before. It's not a major disaster. You didn't break any of the dev tools. Just review your code and look fr the syntax error.

answered Aug 12, 2011 at 6:44
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.