Opened 7 years ago
#11868 new Bugs
cannot build Boost using PGI compilers
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Milestone: | To Be Determined | Component: | Building Boost |
Version: | Boost 1.60.0 | Severity: | Showstopper |
Keywords: | Cc: |
Description
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
-Dneed_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