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 ------------------------------------------------------------------------------ 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