Boost logo

Boost :

Subject: Re: [boost] Boost Mingw w64 compilation issues and fixes
From: Andrew Ho (helloworld922_at_[hidden])
Date: 2013-07-14 22:17:34

> There are lots of worked examples in the Boost.Math /libs/math/examples
folder. Many are very
> simple and should provide a good sanity test.
> You should also be able to run both the examples and the tests using the
jamfile.v2 in /example (and
> also for a full workout in /test).
> To do this open a command window in the /example folder and run b2.exe
preferably sending a log
> file.
> $ b2 > math_examples.log
> Please report your findings.

I was able to compile Math examples without any problem.

I tried compiling Boost Math and math tests and in both cases cc1plus.exe
stops working (no useful information why it crashed).

Compilation command:

b2 install --with-math -a -q toolset=gcc-4.8.1 address-model=64
variant=debug,release threading=multi link=shared,static cxxflags=-std=c++11

I think this might actually be related to this:

However, I don't know if it is because there is no useful information in the
log output (I snipped out just one log entry, but there are tons of them):

gcc.compile.c++ ..\build\boost\bin.v2\libs\math\build\gcc-mingw-

    "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -mthreads -m64 -
fvisibility=hidden -std=c++11 -Winvalid-pch -DBOOST_ALL_NO_LIB=1 -
64\threading-multi\..\src\tr1" -I"." -I"libs\math\src\tr1" -c -o

...failed gcc.compile.c++ ..\build\boost\bin.v2\libs\math\build\gcc-mingw-

Boost list run by bdawes at, gregod at, cpdaniel at, john at