[cmake-developers] cmake on AIX
REIX, Tony
tony.reix at atos.net
Tue Jun 19 11:48:29 EDT 2018
Hi,
We moved to AIX 7.1 . With cmake 3.11.4 .
In this environment, we were able to build cmake. However, there are 7 cmake tests which fails.
When using this cmake for building MariaDB, it fails with an unclear error message (see below). Any idea ?
We'd like to investigate and fix these 7 failing tests (at least those that look important).
However, we've found yet no information about how to:
a) run one test,
b) get more traces,
c) know where are the logs.
Any information or pointer to some test doc would help.
CMake error message while building MariaDB :
CMake Error at /opt/freeware/src/packages/BUILD/mariadb-10.3.1/64bit/CMakeFiles/CMakeTmp/CMakeLists.txt:14 (add_executable):
Target "cmTC_d6385" links to target "-L/opt/freeware/lib
-blibpath:/opt/freeware/lib::/usr/lib:/lib -I/usr/include
-I/opt/freeware/include -L/opt/freeware/lib
-blibpath:/opt/freeware/lib:/usr/lib:/lib -bmaxdata:0x80000000 -brtl
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lpthreads" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at /opt/freeware/share/cmake/Modules/CheckSymbolExists.cmake:87 (try_compile):
Failed to generate test project build system.
Call Stack (most recent call first):
/opt/freeware/share/cmake/Modules/CheckCXXSymbolExists.cmake:39 (__CHECK_SYMBOL_EXISTS_IMPL)
plugin/auth_gssapi/CMakeLists.txt:24 (CHECK_CXX_SYMBOL_EXISTS)
# grep -R maxdata:0x8000000 $BUILD/mariadb-10.3.1/64bit/*
/opt/freeware/src/packages/BUILD/mariadb-10.3.1/64bit/CMakeCache.txt:GSSAPI_LIBS:STRING=-L/opt/freeware/lib -blibpath:/opt/freeware/lib::/usr/lib:/lib -I/usr/include -I/opt/freeware/include -L/opt/freeware/lib -blibpath:/opt/freeware/lib:/usr/lib:/lib -bmaxdata:0x80000000 -brtl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lpthreads
Any idea ?
Thanks/Regards
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<https://mail.ad.bull.net/owa/redir.aspx?C=PvphmPvCZkGrAgHVnWGsdMcDKgzl_dEIsM6rX0g4u4v8V81YffzBGkWrtQeAXNovd3ttkJL8JIc.&URL=http%3a%2f%2fwww.atos.net%2f>
________________________________
De : REIX, Tony
Envoyé : mercredi 13 juin 2018 11:41:30
À : Brad King; cmake-developers at cmake.org
Cc : APEKE, SENA (ext)
Objet : RE:[cmake-developers] cmake on AIX
Hi Brad,
With cmake 3.2.3 , Séna is able to build MariaDB.
However, with version 3.11.1 , we have issues (core or hang of cmake, and other issues). Investigating.
We'll move to 3.11.3 asap in order to see if we face the same issues.
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<http://www.atos.net>
________________________________________
De : Brad King [brad.king at kitware.com]
Envoyé : mardi 12 juin 2018 15:44
À : REIX, Tony; cmake-developers at cmake.org
Cc : APEKE, SENA (ext)
Objet : Re: [cmake-developers] cmake on AIX
On 06/12/2018 09:36 AM, REIX, Tony wrote:
> I never saw any package built on AIX using pthread or ppc64/pthread
> We have to understand why cmake is different.
We use C++11 std::thread. It requires GCC's -pthread flag on AIX,
and that flag changes the standard library that is used.
-Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake-developers/attachments/20180619/e029fcd2/attachment.html>
More information about the cmake-developers
mailing list