• 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: std::string crash with optimisations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: std::string crash with optimisations


  • Subject: Re: std::string crash with optimisations
  • From: Dario Accornero <email@hidden>
  • Date: Fri, 14 Nov 2003 19:25:58 +0100

On 14 Nov 2003, at 16:52, I wrote:

My Carbon application links against a few system frameworks plus three in-house static libraries. Building it on Jaguar with gcc 3.1 under PB 2.1 results in working debug and release versions. Building it on Panther with gcc 3.3 under Xcode results in working debug/non-working release versions -- the latters crash thusly:

Unfortunately the situation is more complex than that. If I rebuild everything (including the static libraries) with -O1 or -O2, the application works as expected. Ideally I should use -Os because code size matters, but if I compile any of the libraries with -Os I get a crash... haven't tried with -O3 yet.


Any known issues with -Os?

Thanks,
Dario
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >std::string crash with optimisations (From: Dario Accornero <email@hidden>)

  • Prev by Date: Static Library Equivalent of a Framework?
  • Next by Date: Re: porting code from project builder to xcode
  • Previous by thread: std::string crash with optimisations
  • Next by thread: Can't turn on debug symbols?
  • Index(es):
    • Date
    • Thread