On Fri, Jul 19, 2013 at 4:16 AM, Kai Tietz <ktiet...@googlemail.com> wrote: > I am not able your patch the next two weeks. If Jacek, Ozkan, or dw > confirm, then patch is oj for appkay. > > Kai > > Am 18.07.2013 10:14 schrieb "Rafaël Carré" <fun...@videolan.org>: >> >> Hello, >> >> Le 18/07/2013 21:49, Erik van Pienbroek a écrit : >> > Hi, >> > >> > We recently received some bug reports that executables compiled with >> > mingw-w64 couldn't be executed on Windows XP environments. Users >> > would get fatal error messages which indicate that the symbol strnlen >> > couldn't be found in msvcrt.dll (which is correct for Windows XP). >> > >> > I've verified this with Dependency Walker and some binaries >> > indeed were under the assumption that strnlen is part of msvcrt.dll. >> > >> > This is odd as the mingw-w64 crt contains a wrapper implementation >> > for strnlen (in order to fix these Windows XP compatibility issues). So >> > I investigated further and found out that strnlen is still being >> > referenced in the msvcrt.def files. >> > >> > As other wrapped symbols are also commented out in msvcrt.def I got the >> > impression that wrapped symbols should be removed from msvcrt.def. I did >> > this for strnlen in my local test environment and it indeed caused the >> > strnlen in msvcrt.dll dependency to disappear from compiled binaries. >> > >> > Is this patch the correct solution to fixing this issue or do you think >> > the real cause is somewhere else? >> >> I will let Kai confirm but your patch looks ok to me! >> >> > Regards, >> > >> > Erik van Pienbroek >> >
The patch doesn't seem right to me: it is removing a symbol marked as DATA, therefore the mingw-w64-compiled code should have this symbol imported from msvcrt.dll but do so from libmingwex. The only way this symbol goes into mingw-compiled code is that it has a foreign symbol compiled by e.g. msvc? What am I missing? -- O.S. ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public