View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014856 | CMake | CMake | public | 2014-04-01 02:50 | 2014-11-03 08:38 | ||||
Reporter | Eugene M. Zheganin | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | amd64 | OS | Saolris | OS Version | Solaris 11.1 | ||||
Product Version | CMake 2.8.12.2 | ||||||||
Target Version | CMake 3.0 | Fixed in Version | CMake 3.0 | ||||||
Summary | 0014856: cannot build cmake on Solaris | ||||||||
Description | Solaris 11.1 SRU 17.5 GCC 4.5.2 build crashes: [...] -- Build files have been written to: /home/emz/src/cmake-2.8.12.2 --------------------------------------------- CMake has bootstrapped. Now run gmake. root@sol:/home/emz/src/cmake-2.8.12.2# gmake Scanning dependencies of target cmIML_test [ 0%] Building C object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test.c.o [ 1%] Building C object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_ABI_C.c.o [ 1%] Building C object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_INT_C.c.o [ 1%] Building C object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_include_C.c.o [ 1%] Building CXX object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_ABI_CXX.cxx.o [ 1%] Building CXX object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_INT_CXX.cxx.o [ 2%] Building CXX object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_include_CXX.cxx.o Linking CXX executable cmIML_test [ 2%] Built target cmIML_test Scanning dependencies of target cmsys [ 2%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/ProcessUNIX.c.o [ 3%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/Base64.c.o [ 3%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/MD5.c.o [ 3%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/Terminal.c.o [ 3%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/System.c.o [ 4%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/String.c.o [ 4%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/Directory.cxx.o [ 4%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/DynamicLoader.cxx.o [ 4%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/Glob.cxx.o [ 4%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/RegularExpression.cxx.o [ 5%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/SystemTools.cxx.o [ 5%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/CommandLineArguments.cxx.o [ 5%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/IOStream.cxx.o [ 5%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/SystemInformation.cxx.o /home/emz/src/cmake-2.8.12.2/Source/kwsys/SystemInformation.cxx: In member function ‘std::string cmsys::<unnamed>::SymbolProperties::Demangle(const char*) const’: /home/emz/src/cmake-2.8.12.2/Source/kwsys/SystemInformation.cxx:1460:5: error: ‘abi’ has not been declared /home/emz/src/cmake-2.8.12.2/Source/kwsys/SystemInformation.cxx: In member function ‘void cmsys::<unnamed>::SymbolProperties::Initialize(void*)’: /home/emz/src/cmake-2.8.12.2/Source/kwsys/SystemInformation.cxx:1478:3: error: ‘Dl_info’ was not declared in this scope /home/emz/src/cmake-2.8.12.2/Source/kwsys/SystemInformation.cxx:1478:11: error: expected ‘;’ before ‘info’ /home/emz/src/cmake-2.8.12.2/Source/kwsys/SystemInformation.cxx:1479:34: error: ‘info’ was not declared in this scope /home/emz/src/cmake-2.8.12.2/Source/kwsys/SystemInformation.cxx:1479:38: error: ‘dladdr’ was not declared in this scope /home/emz/src/cmake-2.8.12.2/Source/kwsys/SystemInformation.cxx: In static member function ‘static std::string cmsys::SystemInformationImplementation::GetProgramStack(int, int)’: /home/emz/src/cmake-2.8.12.2/Source/kwsys/SystemInformation.cxx:3631:41: error: ‘backtrace’ was not declared in this scope gmake[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/SystemInformation.cxx.o] Error 1 gmake[1]: *** [Source/kwsys/CMakeFiles/cmsys.dir/all] Error 2 gmake: *** [all] Error 2 cmake 2.8.11.2 builds fine, some older versions too (tried 2.6.4). | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0035605) Brad King (manager) 2014-04-01 11:29 |
CMake is known to build on the set of platforms for which we have nightly testing submissions: http://open.cdash.org/index.php?project=CMake [^] No one is running a gcc-on-solaris build for us. If you have resources to run one, instructions are here: http://www.cmake.org/Wiki/CMake/Git/Dashboard [^] Otherwise even if we fix this now other things could break later. |
(0035606) Brad King (manager) 2014-04-01 11:31 |
Some changes have been made to SystemInformation.cxx since 2.8.12.2. Please try 3.0.0-rc3: http://www.cmake.org/files/v3.0/cmake-3.0.0-rc3.tar.gz [^] |
(0035607) Brad King (manager) 2014-04-01 11:32 |
Since we don't have access to a Solaris machine, I would appreciate a patch to address the compilation failure if it still occurs in 3.0.0-rc3. |
(0035679) Frank Bergemann (reporter) 2014-04-12 05:51 |
what about Virtual Box and Open Solaris? |
(0035690) Brad King (manager) 2014-04-14 09:13 |
Re 0014856:0035679: Can you reproduce this error in that configuration? |
(0035814) Eugene M. Zheganin (reporter) 2014-05-04 06:26 |
3.0.0-rc3 crashes with same error: [...] /home/emz/src/cmake-3.0.0-rc3/Source/kwsys/SystemInformation.cxx: In member function ‘std::string cmsys::<unnamed>::SymbolProperties::Demangle(const char*) const’: /home/emz/src/cmake-3.0.0-rc3/Source/kwsys/SystemInformation.cxx:1469:5: error: ‘abi’ has not been declared /home/emz/src/cmake-3.0.0-rc3/Source/kwsys/SystemInformation.cxx: In member function ‘void cmsys::<unnamed>::SymbolProperties::Initialize(void*)’: /home/emz/src/cmake-3.0.0-rc3/Source/kwsys/SystemInformation.cxx:1487:3: error: ‘Dl_info’ was not declared in this scope /home/emz/src/cmake-3.0.0-rc3/Source/kwsys/SystemInformation.cxx:1487:11: error: expected ‘;’ before ‘info’ /home/emz/src/cmake-3.0.0-rc3/Source/kwsys/SystemInformation.cxx:1488:34: error: ‘info’ was not declared in this scope /home/emz/src/cmake-3.0.0-rc3/Source/kwsys/SystemInformation.cxx:1488:38: error: ‘dladdr’ was not declared in this scope /home/emz/src/cmake-3.0.0-rc3/Source/kwsys/SystemInformation.cxx: In static member function ‘static std::string cmsys::SystemInformationImplementation::GetProgramStack(int, int)’: /home/emz/src/cmake-3.0.0-rc3/Source/kwsys/SystemInformation.cxx:3661:41: error: ‘backtrace’ was not declared in this scope gmake[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/SystemInformation.cxx.o] Error 1 gmake[1]: *** [Source/kwsys/CMakeFiles/cmsys.dir/all] Error 2 gmake: *** [all] Error 2 |
(0035816) Brad King (manager) 2014-05-05 10:10 |
It looks like we gained some conditional use of system APIs but without including the headers under the same conditions. I've pushed a change for testing in upstream KWSys to address that: http://review.source.kitware.com/15346 [^] If you apply that patch to Source/kwsys/SystemInformation.cxx in 3.0.0-rc3 then it should build now. After the change passes tests in upstream KWSys I will integrate the changes back to CMake. |
(0035825) Brad King (manager) 2014-05-06 08:49 |
Re 0014856:0035816: I've integrated the change into CMake here: KWSys 2014-05-05 (f3a36760) http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=397bccba [^] |
(0035837) Brad King (manager) 2014-05-07 09:35 |
I backported the fix for inclusion in the release branch for the next 3.0 release candidate: KWSys SystemInformation: Include backtrace APIs whenever we use them http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8c5b9cf9 [^] |
(0037132) Robert Maynard (manager) 2014-11-03 08:38 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-04-01 02:50 | Eugene M. Zheganin | New Issue | |
2014-04-01 11:29 | Brad King | Note Added: 0035605 | |
2014-04-01 11:31 | Brad King | Note Added: 0035606 | |
2014-04-01 11:32 | Brad King | Note Added: 0035607 | |
2014-04-12 05:51 | Frank Bergemann | Note Added: 0035679 | |
2014-04-14 09:13 | Brad King | Note Added: 0035690 | |
2014-05-04 06:26 | Eugene M. Zheganin | Note Added: 0035814 | |
2014-05-05 10:10 | Brad King | Note Added: 0035816 | |
2014-05-06 08:49 | Brad King | Note Added: 0035825 | |
2014-05-07 09:35 | Brad King | Note Added: 0035837 | |
2014-05-07 09:35 | Brad King | Assigned To | => Brad King |
2014-05-07 09:35 | Brad King | Status | new => resolved |
2014-05-07 09:35 | Brad King | Resolution | open => fixed |
2014-05-07 09:35 | Brad King | Fixed in Version | => CMake 3.0 |
2014-05-07 09:35 | Brad King | Target Version | => CMake 3.0 |
2014-11-03 08:38 | Robert Maynard | Note Added: 0037132 | |
2014-11-03 08:38 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |