Am 22.08.2014 19:21, schrieb Dongsheng Song: > On Fri, Aug 22, 2014 at 11:14 PM, Stefan Ruppert <[email protected]> wrote: >> Hi all, >> >> I have the following problem. I managed to compile our software which >> uses Qt 4.8.6 with g++ mingw32-w64 (rubenvb-4.7.2-release) in 32bit mode >> on a 64bit Windows 7 machine. All parts of our software runs correctly >> in wow64 and in a 32bit Windows 7 native environment except all >> applications which uses Qt. >> >> Any application which uses Qt works fine in wow64, but not in a 32bit >> native windows 7 environment. QtCore4.dll crashes with a access >> violation directly after loaded into memory (checked with dependency >> walker). >> >> Any idea what could cause this strange behaviour? I have no idea whats >> going wrong in native 32bit env... >> >> Regards, >> Stefan >> > > Please use gdb to run your application, and give the back trace when it > crashed, > then decode some instructions ('x/10i <current-ip>').
Thanks for the tip. After some deeper investigation into the problem, I figured out that the problem is the following: * compiled qt 4.8.6 with mingw64 4.7.2 under windows * compiling our MyARM software with mingw64 4.6.3 under debian linux For 64bit this works fine. For 32bit our Qt client compiled with mingw64 4.6.3 under Linux is buggy... Thus mingw64 4.6.3 and 4.7.2 in 32bit mode are not completely compatible. I just installed a 32bit mingw64 4.7.2 under debian linux and everything works perfectly. Regards, Stefan ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
