Dear list,

I am struggling a little with a recent revision of the MinGW-w64 runtime. I use 
the latest snapshot from openSuse to install my cross-compiler tool chain. I 
used Qt4 in the past and want to migrate to Qt5. During this process I 
experience the following issue:

In my project I link against MSVCR110.DLL and other libs from Microsoft SDKs. 
For example against RUNTMCHK.LIB from Visual Studio 2012. When linking the 
executable I get the following error:

runtmchk.lib(f:/dd/vctools/crt_bld/SELF_64_amd64/crt/src/build/amd64/dll_obj/nativec/gs_report.obj):(.text[__report_gsfailure]+0x0):
 multiple definition of `__report_gsfailure'
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libmingw32.a(lib64_libmingw32_a-gs_support.o):/home/abuild/rpmbuild/BUILD/mingw-w64-crt/crt/gs_support.c:104:
 first defined here


Seems that MinGW tries to provide some functionality that was used to be 
provided by runtmchk.lib. I still need this lib, however, since MinGW-w64 only 
supports a little subset from there. Now my question to you: What steps would 
you recommend to solve this issue?

What I did here was: I recompiled the MinGW-w64 runtime and removed the 
function report_gsfailure from the runtime. In this case, however, my 
executable crashes during initialisation of Qt5 on Windows 7 and in Wine. Hence 
I guess this was not the optimal solution attempt.

Best regards
Sebastian


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to