• 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
Xcode 2.3 breaks bundle static object destruction? fuse-cxa-atexit? Help!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode 2.3 breaks bundle static object destruction? fuse-cxa-atexit? Help!


  • Subject: Xcode 2.3 breaks bundle static object destruction? fuse-cxa-atexit? Help!
  • From: "Andy O'Meara" <email@hidden>
  • Date: Sat, 10 Jun 2006 00:44:22 -0400
  • Thread-topic: Xcode 2.3 breaks bundle static object destruction? fuse-cxa-atexit? Help!

Xcode 2.3 seems to have broken static object destruction when my binaries
run under 10.3 (but if those binaries are built using Xcode 2.2.1, there¹s
no problems).

I have a very tiny app that loads a bundle to do everything, and when its
time to exit, the bundle is unloaded.  With Xcode 2.3, my app now crashes
during its static deinit, long after my bundle has been unloaded, indicating
that my bundle's static objects are being destroyed on app exit (rather than
on bundle unload).  Again, this crash *only* occurs on 10.3 (not 10.4) and
it does *not* occur if my binaries are built with Xcode 2.2.1.

The Xcode 2.3 "GCC 4.0" release notes discuss the flag -fuse-cxa-atexit
which suggests that 2.3 definitely has changes in this area, but what is
clearly a concern is why would 2.3 cause things to break -- and only on
10.3?  I tried sticking in -fuse-cxa-atexit for both my app and bundle
projects but there was no change.

Stuff like this really eats me up, so if anyone can offer some assistance on
this, I'd really appreciate it!  Help!  Calgon, take me away!

Thanks,
Andy



 _______________________________________________
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

  • Follow-Ups:
    • Re: Xcode 2.3 breaks bundle static object destruction? fuse-cxa-atexit? Help!
      • From: "James W. Walker" <email@hidden>
    • Re: Xcode 2.3 breaks bundle static object destruction? fuse-cxa-atexit? Help!
      • From: "James W. Walker" <email@hidden>
  • Prev by Date: Re: gcc and the phantom alloca()?
  • Next by Date: Re: Xcode 2.3 breaks bundle static object destruction? fuse-cxa-atexit? Help!
  • Previous by thread: Re: automagic header dependencies
  • Next by thread: Re: Xcode 2.3 breaks bundle static object destruction? fuse-cxa-atexit? Help!
  • Index(es):
    • Date
    • Thread