• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: gcc crashes when compiling with debug symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >gcc crashes when compiling with debug symbols (From: Igor R <email@hidden>)

  • Prev by Date: Bug preprocessing Info.plist files in Xcode 3.2.1
  • Next by Date: Re: Bug preprocessing Info.plist files in Xcode 3.2.1
  • Previous by thread: gcc crashes when compiling with debug symbols
  • Next by thread: Re: OK on Windows C++
  • Index(es):
    • Date
    • Thread