2013/4/4 Ahso Aa <[email protected]>

> Thanks again. It works now with mingw64 curl libs but vc2010 build. With
> the mingw64 build I still get the runtime segfault. The mingw64 libs only
> seem to need msvcrt hence I might be lucky...
>

Your code may invoke undefined behavior or it may not be doing what you
expect. With the information you have given it is pretty impossible to help
any further.

Good luck,

Ruben


>
>
>
>   ------------------------------
> *From:* Ruben Van Boxem <[email protected]>
> *To:* [email protected]
> *Sent:* Thursday, April 4, 2013 11:43 AM
> *Subject:* Re: [Mingw-w64-public] segfault
>
> 2013/4/4 Ahso Aa <[email protected]>
>
> Ruben thanks, rebuilt with mingw32 and 64. -32 works fine and in
> dependency walker I only see msvcrt.dll. (no more msvcr80.dll) Should I be
> fine with that to not need redist anymore?
>
>
> Yes, msvcrt.dll is a part of every Windows install.
>
>
> - 64 seems the same and I don't get a segfault for now but it says to need
> zlib1.dll. I have that for 32bit but cannot find it for 64bit. Also the
> instructions in the zlib source seem only
> for win32? Hmmm I never compiled something on windows command line...
>
>
> The win32 instructions should be fine but you'll need to get the "-m64" in
> there somewhere. I think zlib still uses a makefile build for Windows, so
> perhaps this would do:
>
> make CC="gcc -m64" -f theMakefile
>
> Alternatively, you can use the old zlib build I uploaded a couple of years
> ago:
>
> https://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/Binaries%20%2864-bit%29/
>
> It's two versions behind 1.2.7 though...
>
> Ruben
>
>
>
>
>   ------------------------------
> *From:* Ruben Van Boxem <[email protected]>
> *To:* [email protected]
> *Sent:* Thursday, April 4, 2013 9:15 AM
> *Subject:* Re: [Mingw-w64-public] segfault
>
> 2013/4/4 Ahso Aa <[email protected]>
>
> Thanks Ruben. Now I see in a dependency dll from curl that it uses
> msvcr80.dll. That's VS2008? Could I most easily resolve that by downloading
> VC2008 and compile my stuff with that
> and /MT flag?
> Or what do you suggest that I should do?
>
>
> The easiest solution is to install the MSVC++2005 redistributable. This
> dependency means everyone using your program needs this as well.
>
> The "better" solution is to recompile curl with MinGW-w64, or even better,
> use the provided binary packages here: http://curl.haxx.se/download.html(near 
> the bottom there's 64-bit MinGW-w64 binaries).
>
> This might not be related to the segfault though...
>
> Ruben
>
>
> Many thanks again
> Michael
>
>
>
>   ------------------------------
> *From:* Ruben Van Boxem <[email protected]>
> *To:* [email protected]
> *Sent:* Wednesday, April 3, 2013 6:29 PM
> *Subject:* Re: [Mingw-w64-public] segfault
>
> Op 3 apr. 2013 18:21 schreef "Ahso Aa" <[email protected]> het volgende:
> >
> >
> >
> > The MSVC++ DLL's are also ABI incompatible among versions. Even Service
> Packs break ABI compatibility.
> >
> > sigh...I'm a happy Linux user but need to support Windows...of course.
> >
> > How to see the toolchain? I remember to have seen (vc build?) in
> dependency walker msvcpd80.dll or alike. Would that
> > cause the segfault? Funny that 32bit mingw works, I'll have a look at
> that build in dependency walker tomorrow.
> That's a debug msvc++ dll, remember people without visual studio have no
> way of getting it and you can't distribute it. Are you using the right GCC
> dll's in the crashing app's PATH?
> Ruben
> >
> > Michael
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Minimize network downtime and maximize team effectiveness.
> > Reduce network management and security costs.Learn how to hire
> > the most talented Cisco Certified professionals. Visit the
> > Employer Resources Portal
> > http://www.cisco.com/web/learning/employer_resources/index.html
> > _______________________________________________
> > Mingw-w64-public mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
> >
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to