On 06/11/2018 11:16 AM, REIX, Tony wrote: > We are building cmake now only with GCC (6.3.0 for now) on AIX 6.1 . > Which GCC compiler version are you using on AIX ?
GCC 7.2. We previously tested with 6.1 and that worked too. > It appears that the cmake executable has been built so that it looks for: > libstdc++.a(libstdc++.so.6) in > > /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/pthread:/opt/freeware/lib/pthread/ > first, before the base /opt/freeware/lib. However, when we use it for building > mariadb, we have to set the LIBPATH to: /opt/freeware/lib64:/usr/lib Try switching to a static C++ runtime library: ./bootstrap -- -DCMAKE_EXE_LINKER_FLAGS='-static-libstdc++ -static-libgcc -Wl,-bbigtoc' -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake-developers