Re: gcc crashes when compiling with debug symbols
Re: gcc crashes when compiling with debug symbols
- Subject: Re: gcc crashes when compiling with debug symbols
- From: Oftenwrong Soong <email@hidden>
- Date: Wed, 2 Dec 2009 15:45:59 -0800 (PST)
Is GCC itself the program that crashes or is it some other program that runs as part of the build process? How did you determine that the GCC executable is what crashes?
Thanks,
Soong
----- Original Message ----
From: Igor R <email@hidden>
To: email@hidden
Sent: Tue, December 1, 2009 3:10:27 AM
Subject: gcc crashes when compiling with debug symbols
Hello,
I'm porting to iPhone (SDK 3.1.2, XCode3.2.1) rather big static
library written in c++. It compiles and works well under the simulator
both in debug and in release modes.
But when I try to compile it for the device, gcc4.2 crashes ("exists
with code 1"). I found-out that if I switch off debug symbols
generation, the compilation succeeds. However, then I can't debug the
application on iPhone - it doesn't stop on breakpoints and I can't
step through the code.
Is there any way to know *where* the compiler crashes exactly, i.e.
source/line? Does gcc have some log? Any idea would be greatly
appreciated!
Thanks.
_______________________________________________
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
_______________________________________________
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