Re: Crash in Leopard due to symbol not found __NSConcreteStackBlock
Re: Crash in Leopard due to symbol not found __NSConcreteStackBlock
- Subject: Re: Crash in Leopard due to symbol not found __NSConcreteStackBlock
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 29 Oct 2009 11:31:42 +0100
Le 29 oct. 2009 à 11:25, Chris Suter a écrit :
Hi Bill,
On Thu, Oct 29, 2009 at 8:41 PM, Bill Cheeseman
<email@hidden> wrote:
I already know that my code uses several blocks-based methods
introduced in
Snow Leopard. I bypassed them when running under Leopard using
standard
techniques, so I was surprised when they still caused my app to
crash under
Leopard. I am in the process of trying to find a workable solution
under
Leopard. I haven't yet found anything documenting this issue.
You might be able to workaround the issue by adding this to one of
your files:
void * _NSConcreteGlobalBlock __attribute__((weak));
and then make sure you pass the “-weak_references_mismatches weak"
flag to the linker.
Regards,
Chris
Thank you, Nice tips.
Note that is will not be enough, as you would have to redeclare all
runtime symbols (all symbols marks as BLOCK_EXPORT in the Block
runtime headers).
http://llvm.org/svn/llvm-project/compiler-rt/trunk/BlocksRuntime/
-- Jean-Daniel
_______________________________________________
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