Hi Brad, GCC : 6.1 and 7.2 on your side, and 6.3.0 on our side. That should be ok. Did you build GCC on AIX by yourself or did you take it on some repository, like BullFreeware?
Did you use cmake built on AIX for building a project with it? cmake tests are 98% OK here though that does not work with mariaDB. Thanks for the idea with static C++ runtime library ! We'll experiment with it asap. Would you mind run the commands: dump -Hv cmake ldd cmake on the cmake command that you build, so that we can see which LIBPATH is set into the executable. Or, is there a way to get the traces of the build of cmake? Did you build it by hand or with a script or a .spec file or anything that we could look at? Looking at your build farm: https://open.cdash.org/index.php?project=CMake&date=2018-06-12 , I see no AIX machine. Cordialement, Tony Reix ATOS / Bull SAS ATOS Expert IBM Coop Architect & Technical Leader Office : +33 (0) 4 76 29 72 67 1 rue de Provence - 38432 Échirolles - France www.atos.net ________________________________________ De : Brad King [brad.k...@kitware.com] Envoyé : lundi 11 juin 2018 19:25 À : REIX, Tony; cmake-developers@cmake.org Cc : APEKE, SENA (ext) Objet : Re: [cmake-developers] cmake on AIX 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