<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">We moved to AIX 7.1 . With cmake 3.11.4 .</p>
<p style="margin-top:0;margin-bottom:0">In this environment, we were able to build cmake. However, there are 7 cmake tests which fails.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">When using this cmake for building MariaDB, it fails with an unclear error message (see below). Any idea ?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">We'd like to investigate and fix these 7 failing tests (at least those that look important).</p>
<p style="margin-top:0;margin-bottom:0">However, we've found yet no information about how to:</p>
<p style="margin-top:0;margin-bottom:0"> a) run one test,</p>
<p style="margin-top:0;margin-bottom:0"> b) get more traces,</p>
<p style="margin-top:0;margin-bottom:0"> c) know where are the logs.</p>
<p style="margin-top:0;margin-bottom:0">Any information or pointer to some test doc would help.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><b>CMake error message while building MariaDB :</b></p>
<p style="margin-top:0;margin-bottom:0"><b></b><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>CMake Error at /opt/freeware/src/packages/BUILD/mariadb-10.3.1/64bit/CMakeFiles/CMakeTmp/CMakeLists.txt:14 (add_executable):<br>
Target "cmTC_d6385" links to target "-L/opt/freeware/lib<br>
-blibpath:/opt/freeware/lib::/usr/lib:/lib -I/usr/include<br>
-I/opt/freeware/include -L/opt/freeware/lib<br>
-blibpath:/opt/freeware/lib:/usr/lib:/lib -bmaxdata:0x80000000 -brtl<br>
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lpthreads" but the target was<br>
not found. Perhaps a find_package() call is missing for an IMPORTED<br>
target, or an ALIAS target is missing?<br>
<br>
CMake Error at /opt/freeware/share/cmake/Modules/CheckSymbolExists.cmake:87 (try_compile):<br>
Failed to generate test project build system.<br>
Call Stack (most recent call first):<br>
/opt/freeware/share/cmake/Modules/CheckCXXSymbolExists.cmake:39 (__CHECK_SYMBOL_EXISTS_IMPL)<br>
plugin/auth_gssapi/CMakeLists.txt:24 (CHECK_CXX_SYMBOL_EXISTS)<br>
<br>
<div># grep -R maxdata:0x8000000 $BUILD/mariadb-10.3.1/64bit/*<br>
/opt/freeware/src/packages/BUILD/mariadb-10.3.1/64bit/<b>CMakeCache.txt:GSSAPI_LIBS:STRING=</b>-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</div>
<br>
</div>
<p></p>
<p style="margin-top:0;margin-bottom:0">Any idea ?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks/Regards<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><span lang="fr"><font size="2" color="black" face="Arial"><span dir="ltr" style="font-size:10pt"><font size="2" face="Times New Roman"><span style="font-size:16px">
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font size="2" face="Verdana,sans-serif"><span style="font-size:9pt">Cordialement,<br>
<br>
Tony Reix<br>
<br>
ATOS / Bull SAS<br>
ATOS Expert<br>
IBM Coop Architect & Technical Leader<br>
</span></font></span></font></div>
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font size="2" face="Verdana,sans-serif"><span style="font-size:9pt">Office : +33 (0) 4 76 29 72 67</span></font></span></font></div>
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font size="2" face="Verdana,sans-serif"><span style="font-size:9pt">1 rue de Provence - 38432 Échirolles - France</span></font></span></font></div>
<div style="margin:0"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><a href="https://mail.ad.bull.net/owa/redir.aspx?C=PvphmPvCZkGrAgHVnWGsdMcDKgzl_dEIsM6rX0g4u4v8V81YffzBGkWrtQeAXNovd3ttkJL8JIc.&URL=http%3a%2f%2fwww.atos.net%2f" target="_blank" id="LPNoLP"><font size="2" face="Verdana,sans-serif"><span style="font-size:9pt">www.atos.net</span></font></a></span></font></div>
</span></font></span></font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De :</b> REIX, Tony<br>
<b>Envoyé :</b> mercredi 13 juin 2018 11:41:30<br>
<b>À :</b> Brad King; cmake-developers@cmake.org<br>
<b>Cc :</b> APEKE, SENA (ext)<br>
<b>Objet :</b> RE:[cmake-developers] cmake on AIX</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Brad,<br>
<br>
With cmake 3.2.3 , Séna is able to build MariaDB.<br>
However, with version 3.11.1 , we have issues (core or hang of cmake, and other issues). Investigating.<br>
We'll move to 3.11.3 asap in order to see if we face the same issues.<br>
<br>
Cordialement,<br>
<br>
Tony Reix<br>
<br>
ATOS / Bull SAS<br>
ATOS Expert<br>
IBM Coop Architect & Technical Leader<br>
Office : +33 (0) 4 76 29 72 67<br>
1 rue de Provence - 38432 Échirolles - France<br>
<a href="http://www.atos.net">www.atos.net</a><br>
<br>
________________________________________<br>
De : Brad King [brad.king@kitware.com]<br>
Envoyé : mardi 12 juin 2018 15:44<br>
À : REIX, Tony; cmake-developers@cmake.org<br>
Cc : APEKE, SENA (ext)<br>
Objet : Re: [cmake-developers] cmake on AIX<br>
<br>
On 06/12/2018 09:36 AM, REIX, Tony wrote:<br>
> I never saw any package built on AIX using pthread or ppc64/pthread<br>
> We have to understand why cmake is different.<br>
<br>
We use C++11 std::thread. It requires GCC's -pthread flag on AIX,<br>
and that flag changes the standard library that is used.<br>
<br>
-Brad<br>
</div>
</span></font></div>
</body>
</html>