2017-08-07 2:30 GMT+03:00 Stephan Lavavej via Boost
Hi,
I just attempted to build Boost 1.65.0 RC1 with MSYS2/mingw-w64. (My build script for 1.64.0 is available at https://github.com/StephanTLavavej/mingw-distro/blob/6e5976af8c63de93bec7612... ; I just had to change the filenames for 1.65.0 RC1.)
The stacktrace build failed with: <...> It appears that frame_msvc.ipp is intended to work with both MSVC and MinGW, but it's not correctly recognizing mingw-w64 GCC 7.1.0's behavior. This compiler supports thread_local, although it doesn't support C++11's multithreading headers (without the pthreads wrapper, which I don't build).
Ok, I've found out the issue. It's related to MinGW issue with thread_local https://github.com/boostorg/config/blob/21830e11ff5ee114c0c6d9fbf9f3b48b7b06... Fixed it here: https://github.com/boostorg/stacktrace/commit/cd420b37ae7e84196cdb8202e489d5... Do not forget to add --reconfigure while running you b2 with the patch from above. -- Best regards, Antony Polukhin