Boost C++ Libraries: Ticket #11868: cannot build Boost using PGI compilers https://svn.boost.org/trac10/ticket/11868 <p> Trying to build actual Boost release 1.60.0 using PGI compilers (15.10-0 64-bit) we ran into two ICEs in the 'pgCC' compiler. </p> <p> Asking the PGU support, we got: </p> <blockquote class="citation"> <blockquote> <p> 15.10 is the last release of pgCC/pgcpp. pgc++ will be the only PGI C++ compiler for the coming years. </p> </blockquote> </blockquote> <p> Huh, but 'pgCC' is hard-coded in 'boost_1_60_0/tools/build/src/tools/pgi.jam' file (line 28): </p> <blockquote class="citation"> <blockquote> <p> local l_command = [ common.get-invocation-command pgi : pgCC : $(command) ] ; </p> </blockquote> </blockquote> <p> Trying to change out 'pgCC' by 'pgc++' we got dozens of errors like this: </p> <blockquote class="citation"> <blockquote> <p> ------------------------------------------------------------------------------ pgi.compile.c++ bin.v2/libs/math/build/pgi/release/threading-multi/fminf.o </p> <blockquote> <p> "pgc++" -Kieee -fpic -fPIC -fast -Mx,8,0x10000000 -Minform=warn -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG </p> </blockquote> <p> -D<span class="underline">need_IOV_MAX -I"." -I"libs/math/src/tr1" -c -o "bin.v2/libs/math/build/pgi/release/threading-multi/fminf.o" "libs/math/build/../src/tr1/fminf.cpp" </span></p> </blockquote> <p> "./boost/config/compiler/gcc.hpp", line 152: catastrophic error: cannot open </p> <blockquote> <p> source file "cstddef" </p> </blockquote> <blockquote> <p> #include &lt;cstddef&gt; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> 1 catastrophic error detected in the compilation of "libs/math/build/../src/tr1/fminf.cpp". </p> </blockquote> <hr /> <p> ... well, 'pgc++' is not 'pgCC'. </p> <p> Bottom line: </p> <ul><li>Boost cannot be build with PGI compilers; </li><li>Boost need an update to new PGI C++ copiler (if you wish to proceed to support PGI at all). </li></ul><p> Merry Christmas! </p> <ul><li>Paul </li></ul> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11868 Trac 1.4.3