[CMake] compiling cmake on aix 5.1 and 5.3

Joachim Geiger joachim.geiger at ipp.mpg.de
Thu Mar 27 06:51:32 EDT 2008


Bill Hoffman wrote:
> Bill Hoffman wrote:
> 
>>> Finally, I ran the test. Three of the 68 tests failed, namely:
>>>  38/ 68 Testing complex                       ***Failed
>>>  39/ 68 Testing complexOneConfig              ***Failed
>>>  63/ 68 Testing kwsys                         ***Failed
>>>
>>> The behaviour was the same for aix-5.1 and for aix-5.3.
>>> I hope this helps to improve cmake.
>>> Best regards,
>>> Joachim
>>>
>> Strange we have dashboards that build on aix 5.3.   Here is the build 
>> script used:
>> http://public.kitware.com/CDash/viewNotes.php?buildid=35698
>>
>> You can also see that it is green and has no test failures.  We also 
>> provide a CMake binary for aix found here:
>>
>> http://www.cmake.org/HTML/Download.html
>>
> 
> I did not mean to scare you away.  I am sure you are really having a 
> problem.  I would just like to figure out what is different from your 
> aix machine and the one we test on...
> 
> Thanks.
> 
> -Bill
Sorry for the delay. You didn't scare me away, but I was trying to see
what might be special about the machines I have access to and about
their setup.
So a first result:
There are two machines, one with AIX-5.1 which has due to compatibility
reasons the AIX-compilers of version 6. On this machine I tested the
binary and it didn't work, certainly because of the old libraries. The
other is with AIX-5.3 and has compilers of version 8.
I checked out the cvs-version yesterday (cmake-2.7.20080326). This
compiled on the newer without problems. However, running the test
resulted in 3 failures:
97% tests passed, 3 tests failed out of 90

The following tests FAILED:
          56 - SimpleInstall-Stage2 (Failed)
          84 - BootstrapTest (Failed)
          85 - Fortran (Failed)
Errors while running CTest

I don't know what caused the failures or where to look for it. On the
older implementation the compilation failed at a rather early stage. I
put in the first three errors as an indication:
"/afs/ipp/home/g/geiger/cmake-2.7.20080326/Source/kwsys/testAutoPtr.cxx",
line 119.53: 1540-0295 (S) A parameter of type "cmsys::auto_ptr<A>"
cannot be initialized with an rvalue of type "cmsys::auto_ptr<A>".
"/afs/ipp/home/g/geiger/cmake-2.7.20080326/Source/kwsys/testAutoPtr.cxx",
line 119.53: 1540-0218 (I) The call does not match any parameter list
for "auto_ptr<A>::auto_ptr<A>".
"/afs/ipp/home/g/geiger/build_cmake-2.7_rsaix51/Source/cmsys/auto_ptr.hxx",
line 81.3: 1540-1283 (I) "cmsys::auto_ptr<struct
A>::auto_ptr(auto_ptr<A> &)" is not a viable candidate.

I am currently doing some testing on the AIX-5.3-system with some
projects, mixed c and fortran, using cmake-2.7, but I have some problems
to get cmake to accept the fortran compiler flag -qrealsize=8.

Best regards,
Joachim

-- 
Joachim Geiger --------------------------------@\\
Max-Planck-Institute for Plasma Physics,        @\\
   Euratom Association                            \\\
Department Stellaratortheorie (ST)                \\\__
Wendelsteinstr. 1                                (  \\ \
D-17491 Greifswald, Germany                       \_ \\(_
Tel.: ++49 3834/88-2327   Fax: ++49 3834/88-2409    ) \\ \
e-mail: joachim.geiger at ipp.mpg.de                   \  -  |
---------------------------------------------------  \____/



More information about the CMake mailing list