Hi! I've been using MSYS2 to build Qt application, specifically Merkaartor [1]. In 64bit msys and mingw64 shell, it builds and works just fine (although only in debug; for release version, I need a patched Qt due to a bug [2]).
The problem I have is with 32bit version. I've installed 32bit MSYS (both on my 64bit machine, and another, with 32bit windows), compiled the code, but I can't run it. Everytime the program segfaults. When run in gdb, I get: "During startup program exited with code 0xc0000005." No stack is initialized, and that makes me think it's something very early, possibly dynamic linker problem. The code is access denied, and I tried looking at dependencies for the binary, and they all seem to be in their places and accessible. I've noticed that msys has some 32bit magic (autorebase.bat), so maybe it's a known problem? Any hints on how to debug it? I don't have much experience with windows development and internals. Also, I tried simple hello world in Qt, and that works fine. Unfortunately, I was unable to create minimal failing example. If you want to try, you can build merkaartor from source. Just clone the git, install some dependencies (see INSTALL) and type 'qmake; make'. I hope we can come up with some solution, since the MSYS2 is by far the best tool for this job! [1] https://github.com/openstreetmap/merkaartor [2] https://bugreports.qt.io/browse/QTBUG-39874 -- S pozdravem Ladislav Láska <[email protected]> Katedra Aplikované Matematiky, MFF UK tel.: +420 739 464 167 ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
