Hi all,
Currently the compile fails on the latest mingw (the one installed with the regular automated installer) due to the _tls_init bug the older boost version has, which spring uses.
https://github.com/MadrMan/spring/commi ... df56dae807
If someone merges my master branch into the spring master all should be well
This has been fixed since boost 1.45.0 according to the boost trac, but as long as spring isn't updating to that this fix works aswell.
Boost issue: https://svn.boost.org/trac/boost/ticket/4258
Thanks.
Compile fails on latest MinGW
Moderator: Moderators
Re: Compile fails on latest MinGW
Spring doesn't come with boost or mingw, so why change it to fix a problem between them?
I will go try to compile newer boost for an attempted update of mingwlibs, but last time I tried thread refused to work as static.
I will go try to compile newer boost for an attempted update of mingwlibs, but last time I tried thread refused to work as static.
Re: Compile fails on latest MinGW
Did your attempt to update mingwlibs ever get anywhere?
I agree that it doesn't make much sense to put a fix between a lib and a compiler in spring, but since it is still the recommended way to compile spring on windows it should atleast work.
It would be much better to have boost updated instead.
I suppose I could try updating boost myself if you can't get it to work.
I agree that it doesn't make much sense to put a fix between a lib and a compiler in spring, but since it is still the recommended way to compile spring on windows it should atleast work.
It would be much better to have boost updated instead.
I suppose I could try updating boost myself if you can't get it to work.
Re: Compile fails on latest MinGW
Oh, kind of got distracted, I'll get back to it. Right now I just work around the bug by shoving extern "C" void tss_cleanup_implemented() { } into Info.cpp.
Re: Compile fails on latest MinGW
That is why I said 'update of'.
Re: Compile fails on latest MinGW
damn, sorry! jk and me talked today about updating the libs... if compiling works, they will be updated soon.
Re: Compile fails on latest MinGW
Okay. Make sure you test thoroughly. Mingwlibs have at times given me strange issues with an output spring that worked on XP but not vista/7.
Re: Compile fails on latest MinGW
boostlibs updated:
https://github.com/spring/mingwlibs/commits/master
Spring compiles now again with unmodified TDM-GCC-dw2
https://github.com/spring/mingwlibs/commits/master
Spring compiles now again with unmodified TDM-GCC-dw2