CMake 3.10.3 bootstrap fails on PPC Mac OS X 10.4.11, Tiger, because a warning is emitted?
`` CMake Error at CMakeLists.txt:79 (message): The C++ compiler does not support C++11 (e.g. std::unique_ptr).
-- Configuring incomplete, errors occurred! ` is the symptom. CMakeError-log contains:
Run Build Command:"/opt/local/bin/gmake" "cmTC_ddb80/fast"
gmake -f CMakeFiles/cmTC_ddb80.dir/build.make CMakeFiles/cmTC_ddb80.dir/build
gmake[1]: Entering directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.3/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_ddb80.dir/cm_cxx_unique_ptr.cxx.o
/opt/local/bin/g++-mp-6 -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -m32 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -std=gnu++14 -o CMakeFiles/cmTC_ddb80.dir/cm_cxx_unique_ptr.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.3/Source/Checks/cm_cxx_unique_ptr.cxx
Linking CXX executable cmTC_ddb80
/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.3/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_ddb80.dir/link.txt --verbose=1
/opt/local/bin/g++-mp-6 -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -m32 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -t CMakeFiles/cmTC_ddb80.dir/cm_cxx_unique_ptr.cxx.o -o cmTC_ddb80
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o
/opt/local/lib/gcc6/gcc/ppc-apple-darwin8/6.4.0/crt3.o
CMakeFiles/cmTC_ddb80.dir/cm_cxx_unique_ptr.cxx.o
/opt/local/lib/gcc6/libstdc++.dylib
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libgcc_s.10.4.dylib
/opt/local/lib/gcc6/libgcc_ext.10.4.dylib
/opt/local/lib/gcc6/gcc/ppc-apple-darwin8/6.4.0/libgcc.a
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libSystemStubs.a
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libSystem.dylib
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/system/libmathCommon.A.dylib
/Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/gcc6/gcc/ppc-apple-darwin8/6.4.0/libgcc.a(darwin-gpsave.old: warning: object file compiled with -mlong-branch which is no longer needed. To remove this warning, recompile without -mlong-branch: /opt/local/lib/gcc6/gcc/ppc-apple-darwin8/6.4.0/crt3.o
)
gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.3/CMakeFiles/CMakeTmp'
`
When I perform the compilation steps manually, no error is emitted, $status of each step is exactly 0 (zero). Is the bootstrap process fooled by the warning?
--
Greetings
Pete