2012/7/29 Ruben Van Boxem <[email protected]>:
> Hi,
>
> Since last week I have a XP64 VM laying around for ... fun. And
> compatibility checking and bug hunting obviously.
>
> I built Clang on Windows 7 x64, and tried running the resultant executable
> from a shared folder in the VM. It failed with the error in the email
> subject.
>
> Is this MinGW-w64's fault?
>
> Thanks,
>
> Ruben

Well, it isn't mingw-w64's fault IMHO.  The issue is that function
_chsize_s isn't present in XP's msvcrt.  In Vista's and Win7's it is.
So it is a failure to use _chsize_s symbol together with
msvcrt-runtime on XP.
To work-a-round this you can either link against a different
runtime-version (but of course you have then to make sure this DLL is
present on the Windows host), or you avoid the _chsize_s function.

Regards,
Kai

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to