[testing] Lots of spurious test runners
There are rather a lot of test runners that fail all tests due to setup
errors:
sandia-gcc-5.4.0-c++11 cc1plus: error: unrecognized command line
option "-std=c++11"
sandia-gcc-5.4.0-c++14 cc1plus: error: unrecognized command line
option "-std=c++14"
sandia-gcc-6.4.0-c++11 cc1plus: error: unrecognized command line
option "-std=c++11"
sandia-gcc-6.4.0-c++14 cc1plus: error: unrecognized command line
option "-std=c++14"
sandia-intel-16.0-c++11 /bin/sh: line 1: icpc: command not found
sandia-intel-16.0-c++14 /bin/sh: line 1: icpc: command not found
sandia-intel-16.0 /bin/sh: line 1: icpc: command not found
sandia-intel-17.0-c++11 /bin/sh: line 1: icpc: command not found
sandia-intel-17.0-c++14 /bin/sh: line 1: icpc: command not found
sandia-intel-17.0 /bin/sh: line 1: icpc: command not found
teeks99-02-dc3.1-11-Docker-64on64
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/functional:2194:2:
error: no type named 'type' in 'std::enable_if
On Sat, Oct 27, 2018 at 8:15 PM John Maddock via Boost
igaztanaga-develop-gcc-3.4c++03 cc1plus.exe: error: unrecognized command line option "-fvisibility-inlines-hidden" cc1plus.exe: error: unrecognized command line option "-fvisibility=hidden"
These are likely caused by the recent addition of the visibility flags to the compiler and linker, and gcc 3.4 doesn't support visibility. I don't think it is worthwhile trying to support that old compiler.
On 27/10/2018 19:44, Andrey Semashev via Boost wrote:
On Sat, Oct 27, 2018 at 8:15 PM John Maddock via Boost
wrote: igaztanaga-develop-gcc-3.4c++03 cc1plus.exe: error: unrecognized command line option "-fvisibility-inlines-hidden" cc1plus.exe: error: unrecognized command line option "-fvisibility=hidden"
These are likely caused by the recent addition of the visibility flags to the compiler and linker, and gcc 3.4 doesn't support visibility. I don't think it is worthwhile trying to support that old compiler.
As I mentioned, I'm planning to drop GCC 3.4 support soon, so I'm fine with this. Best, Ion
On Sat, Oct 27, 2018 at 12:14 PM John Maddock via Boost < boost@lists.boost.org> wrote:
There are rather a lot of test runners that fail all tests due to setup errors:
teeks99-02-dc3.1-11-Docker-64on64 /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/functional:2194:2:
error: no type named 'type' in 'std::enable_if
' (and more errors from <functional> - the compiler appears to be unable to handle the std lib headers so I'm not sure what the point of testing it is?)
This strikes me as odd. The teeks99-02-dc3.0-11-Docker-64on64 is an *older* version of clang, on the same version of ubuntu, but doesn't have this issue. Is it possible this is an issue with boost's detecting of compiler/stdlib capabilities that isn't working correctly here? If anyone wants to play with this, the images on docker hub teeks99/boost-cpp-docker:clang-3.0 and clang-3.1 (and clang-3.2 which is again happy) can be used to figure out what is happening. All three use the same ubuntu install (trusty), have identical Dockerfiles (except the clang version), and use nearly identical lines in their user-config.jam files. using clang : 3.1~c++11 : clang++-3.1 : <cxxflags>"-Wno-c99-extensions -std=c++11" ; Tom
participants (4)
-
Andrey Semashev
-
Ion Gaztañaga
-
John Maddock
-
Tom Kent