bad_typeid dyld Error on Leopard (10.5)
bad_typeid dyld Error on Leopard (10.5)
- Subject: bad_typeid dyld Error on Leopard (10.5)
- From: Manfred Schwind <email@hidden>
- Date: Mon, 17 May 2010 22:25:00 +0200
Hi,
I have a strange problem: My app runs great on Snow Leopard (10.6), but when launching on Leopard (10.5) is gives the following dyld error:
Dyld Error Message:
Symbol not found: __ZNKSt10bad_typeid4whatEv
Referenced from: .../myApp.app/Contents/MacOS/myApp
Expected in: /usr/lib/libstdc++.6.dylib
Seems libstdc++ on Leopard is missing the bad_typeid exception (or at least its what() method). That would be bad, I think.
So I searched for bad_typeid in the various libstdc++.6.dylibs. I got the following results:
manitu:~ mani$ otool -vt /usr/lib/libstdc++.6.dylib | grep bad_typeid
__ZSt18__throw_bad_typeidv:
___cxa_bad_typeid:
__ZNKSt10bad_typeid4whatEv:
__ZNSt10bad_typeidD0Ev:
__ZNSt10bad_typeidD2Ev:
__ZNSt10bad_typeidD1Ev:
manitu:~ mani$
OK. This is on Snow Leopard, and the bad_typeid symbols are in libstdc++ there. So my app runs fine here.
Now I did the following:
manitu:~ mani$ otool -vt /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libstdc++.6.dylib | grep bad_typeid
manitu:~ mani$
Nothing! So there seems to be no bad_typeid symbols in libstdc++ for Leopard. Is this a bug? What can I do against that?
But then I tried the following - that makes me even more wonder:
manitu:~ mani$ otool -vt /Developer/SDKs/MacOSX10.6.sdk/usr/lib/libstdc++.6.dylib | grep bad_typeid
manitu:~ mani$
What's that? There's also no bad_typeid in libstdc++ in the SDK of Snow Leopard?!? How could that be?
Any ideas?
Thanx,
Mani
--
http://mani.de - friendly software
iVolume - listen to music hands-free
LittleSecrets - the encrypted notepad
Sahara - sand in your pocket
Watchdog - baffle the curious
_______________________________________________
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