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: Wed, 28 Oct 2009 14:24:28 +0100
Le 28 oct. 2009 à 13:33, Bill Cheeseman a écrit :
My application is built on Snow Leopard and set to run as well under
Leopard on PowerPC. But when I try to run it under Leopard on a
PowerPC Mac, it crashes (quits unexpectedly) after bouncing in the
dock for a little while. The crash report indicates "dyld: Symbol
not found:__NSConcreteStackBlock."
When I Google NSConcreteStackBlock, all the references are to Clang.
But my app is compiled under GCC 4.2.
What's going on? How do I fix it?
AFAIK, you can't use block in a 10.5 binary as the compiler will
generate strong references to symbols not present in the 10.5 runtime
(libSystem for instance).
If you want to have two code paths, you have to move the code that
uses block in a bundle and load it at runtime.
-- 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