Re: [Darwine] wine_ldt_copy
Status: Pre-Alpha
Brought to you by:
jimwhite
From: Pierre d'H. <ste...@fr...> - 2005-04-25 11:21:04
|
On 24 avr. 05, at 22:54, Phil Krylov wrote: > Looked upon spec32.c and the temp files... nothing suspicious (and > wine_ldt_copy is not noticed anywhere). Hello world compiles and works > fine... I really don't know what to try next. :( There shouldn't be any call to wine_ldt_copy, indeed it is a structure, and should be unused on Mac OS X. This may have totally nothing to do with the ldt: obviously __dyld_call_module_initializers_for_objects calls the wrong init functions (the ?? shouldn't be there): #0 0x0014ef8c in wine_ldt_copy () #1 0x01561d64 in ?? () #2 0x01555408 in ?? () #3 0x8fe17990 in __dyld_call_module_initializers_for_objects () I know that this problem might occur when using obscure C++ code. Do your program has any C++ code? To see what was in the mod_init_func section run the following (and report the output): $ otool -s __DATA __mod_init_func your_app.exe.so your_app.exe.so: Contents of (__DATA,__mod_init_func) section 00xxxxx 000123c4 # then run this for all the values in the mod_init_func section. # you should see something like: $ nm your_app.exe.so | grep 000123c4 000123c4 T ___wine_spec_init_ctor Pierre. |