Re: problem with operator new
Re: problem with operator new
- Subject: Re: problem with operator new
- From: Marc Epard <email@hidden>
- Date: Wed, 03 May 2006 09:56:37 -0500
- Thread-topic: problem with operator new
on 5/3/06 3:29 AM, Chris Bergmann wrote:
> I¹m having a problem with an overridden global-scope operator new on
> the intel macs. It appears that a different link order is used on the
> intel macs (both natively and in rosetta) than what is used on the
> powerpc. The result of this is that the OS libraries are sometimes
> using our overridden operator new, causing a crash when the version
> of new¹ and delete¹ used don¹t match.
We encountered the same problem and a colleague worked around it with the
UNEXPORTED_SYMBOLS_FILE build setting. We specify a file we call
Unexported.txt which contains the list of entry points below. We set
UNEXPORTED_SYMBOLS_FILE on each target that produces an executable and links
to our static library that contains operator new and delete.
-Marc
__Znwm
__Znwm.eh
__ZnwmN3Ank10NewNoTrackE
__ZnwmN3Ank10NewNoTrackE.eh
__ZnwmN3Ank14NewNoThrowZeroE
__ZnwmN3Ank14NewNoThrowZeroE.eh
__ZnwmN3Ank14NewNoTrackZeroE
__ZnwmN3Ank14NewNoTrackZeroE.eh
__ZnwmN3Ank17NewNoThrowNoTrackE
__ZnwmN3Ank17NewNoThrowNoTrackE.eh
__ZnwmN3Ank21NewNoThrowNoTrackZeroE
__ZnwmN3Ank21NewNoThrowNoTrackZeroE.eh
__ZnwmN3Ank7NewZeroE
__ZnwmN3Ank7NewZeroE.eh
__ZnwmPv
__ZnwmPv.eh
__ZnwmPvN3Ank11CtorDtorNewE
__ZnwmPvN3Ank11CtorDtorNewE.eh
__ZnwmRKSt9nothrow_t
__ZnwmRKSt9nothrow_t.eh
__ZdlPv
__ZdlPv.eh
__ZdlPvN3Ank10NewNoTrackE
__ZdlPvN3Ank10NewNoTrackE.eh
__ZdlPvN3Ank14NewNoThrowZeroE
__ZdlPvN3Ank14NewNoThrowZeroE.eh
__ZdlPvN3Ank14NewNoTrackZeroE
__ZdlPvN3Ank14NewNoTrackZeroE.eh
__ZdlPvN3Ank17NewNoThrowNoTrackE
__ZdlPvN3Ank17NewNoThrowNoTrackE.eh
__ZdlPvN3Ank21NewNoThrowNoTrackZeroE
__ZdlPvN3Ank21NewNoThrowNoTrackZeroE.eh
__ZdlPvN3Ank7NewZeroE
__ZdlPvN3Ank7NewZeroE.eh
__ZdlPvRKSt9nothrow_t
__ZdlPvRKSt9nothrow_t.eh
__ZdlPvS_
__ZdlPvS_.eh
_______________________________________________
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