|
From: JonY <jo...@us...> - 2012-05-14 11:53:10
|
On 5/14/2012 19:40, MARTIN Pierre wrote: > Dear Kai, JonY, Ozkan and list readers, > > As suggested by list users, i have filled a bug report right here: > https://sourceforge.net/tracker/?func=detail&aid=3526537&group_id=202880&atid=983354 > If you think it's not clear enough, i would like your feedback about > what i could possibly detail about, or the terminology i shall use. > > @JonY and Kai: >>> This (In my opinion) proves that delay-loaded import libraries are >>> maybe the problem here, and i really would like you to help me >>> to pinpoint what could be the bug, if you have any other manipulation >>> i can make to advance. >> This is a bug in dlltool. In my investigations, delay loaded symbols >> seem to be linked to the 0x6 address. > Ok, then shall i fill a bug report in dlltool bugtracker as well? i have been > searching for this specific error in the bugtracker here: > http://sourceforge.net/tracker/?atid=102435&group_id=2435&func=browse > but didn't find anything about it. But 1) i'm not sure the search terms > i used (i tried "dlltool", "--output-delaylib" and "0x6" / "0x06") were > the one required to find an existing bug and 2) i'm not sure if the > dlltool version i'm using ((rubenvb-4.5.3) 2.22.52.20120429) is > specific to MinGW-w64 (And Ruben's build) or just to MinGW. > Could you please advise me into the next step i shall take? > Go ahead and make a bug report, thanks. Dlltool for mingw and mingw-w64 are really the same, I don't think Ruben does any patching for binutils. > @JonY: >> Yes, this indicates that there might be a calling-convention issue. >> static functions in classes have btw normally __cdecl >> calling-convention (as long as not explicit marked having stdcall), >> and class-member-functions, which aren't variadic, have for 4.7 gcc >> (or newer) __thiscall calling-convention. > Related to these facts, i have a question. If i use DepsWalker against > the DLL, will it be wrong too, or can i use it to diagnose the differences? That was Kai, anyway dependency walker does not show the ABI, only symbol names. It's great for demangling MSVC C++ symbols though. |