Re: Loading function from a bundle without loading all globals.
Re: Loading function from a bundle without loading all globals.
- Subject: Re: Loading function from a bundle without loading all globals.
- From: Michael Siek <email@hidden>
- Date: Fri, 14 Dec 2007 18:04:48 +0100
Am 14.12.2007 um 17:41 schrieb Peter O'Gorman:
Michael Siek wrote:
RTLD_PRIVATE exists...but Apple did not choose to provide it ;-)
The producer of the framework in question obviously did not know the
"-exported_symbols_list " option. They export everything.
Probably several symbols would cause issues but new/delete are the
ones i
found by now.
Well, if it is a framework that you plan to provide in your app
bundle,
then you can run nmedit or strip on it to reduce the number of global
symbols.
But, it seems likely that RTLD_LOCAL did not work because more than
one
of the libraries/frameworks that are loaded as a result of your
dlopen()
provide a global new and delete.
It all seems very icky.
Yes it is...
nmedit or strip will not work because those tools do not affect
"undefined symbols" which is what
the conflicting symbols are...."undefined" meaning that they are not
statically linked but loaded
dynamically from another place/framework (if i get those terms right).
Michael
comosoft GmbH
Sitz: Hamburg
Registergericht: Amtsgericht Hamburg; HRB 96536
Geschaeftsfuehrer: Jochen Marheinecke, Manfred Ossenbeck, Sven Jacken
_______________________________________________
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