[Boost-bugs] [Boost C++ Libraries] #11868: cannot build Boost using PGI compilers

Subject: [Boost-bugs] [Boost C++ Libraries] #11868: cannot build Boost using PGI compilers
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-12-23 15:03:51


#11868: cannot build Boost using PGI compilers
----------------------------+------------------------------
 Reporter: anonymous | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.60.0
 Severity: Showstopper | Keywords:
----------------------------+------------------------------
 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.

 Asking the PGU support, we got:
> 15.10 is the last release of pgCC/pgcpp.
> pgc++ will be the only PGI C++ compiler for the coming years.

 Huh, but 'pgCC' is hard-coded in
 'boost_1_60_0/tools/build/src/tools/pgi.jam' file (line 28):
> local l_command = [ common.get-invocation-command pgi : pgCC :
 $(command) ] ;

 Trying to change out 'pgCC' by 'pgc++' we got dozens of errors like this:
>
 ------------------------------------------------------------------------------
> pgi.compile.c++ bin.v2/libs/math/build/pgi/release/threading-
 multi/fminf.o
> "pgc++" -Kieee -fpic -fPIC -fast -Mx,8,0x10000000 -Minform=warn
 -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG
> -D__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"
>
>"./boost/config/compiler/gcc.hpp", line 152: catastrophic error: cannot
 open
> source file "cstddef"
> #include <cstddef>
> ^
>1 catastrophic error detected in the compilation of
 "libs/math/build/../src/tr1/fminf.cpp".
 ------------------------------------------------------------------------------
 ... well, 'pgc++' is not 'pgCC'.

 Bottom line:
 - Boost cannot be build with PGI compilers;
 - Boost need an update to new PGI C++ copiler (if you wish to proceed to
 support PGI at all).

 Merry Christmas!
 - Paul

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11868>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC