View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014887 | CMake | CMake | public | 2014-04-18 08:00 | 2014-10-06 10:33 | ||||
Reporter | cakersq | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | amd64 | OS | FreeBSD | OS Version | 10-STABLE | ||||
Product Version | CMake 2.8.12.2 | ||||||||
Target Version | CMake 3.0 | Fixed in Version | CMake 3.0 | ||||||
Summary | 0014887: CMake fails to compile - error: use of undeclared identifier 'abi' | ||||||||
Description | When compiling cmake on FreeBSD 10-STABLE, which uses the CLANG compiler, the make step results in the following fatal error. See attached for full output. [ 5%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/SystemInformation.cxx.o /root/build/cmake/cmake-2.8.12.2/Source/kwsys/SystemInformation.cxx:1460:5: error: use of undeclared identifier 'abi' abi::__cxa_demangle(symbol, buffer, &bufferLen, &status); ^ /root/build/cmake/cmake-2.8.12.2/Source/kwsys/SystemInformation.cxx:1478:3: error: unknown type name 'Dl_info' Dl_info info; ^ /root/build/cmake/cmake-2.8.12.2/Source/kwsys/SystemInformation.cxx:3631:15: error: use of undeclared identifier 'backtrace' int nFrames=backtrace(stackSymbols,256); ^ 3 errors generated. *** Error code 1 Stop. make[2]: stopped in /root/build/cmake/cmake-2.8.12.2 *** Error code 1 Stop. make[1]: stopped in /root/build/cmake/cmake-2.8.12.2 *** Error code 1 Stop. make: stopped in /root/build/cmake/cmake-2.8.12.2 | ||||||||
Steps To Reproduce | ./bootstrap make | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | cmake.log [^] (87,952 bytes) 2014-04-18 08:00 | ||||||||
Relationships | |
Relationships |
Notes | |
(0035737) Brad King (manager) 2014-04-18 08:04 |
It is failing in some system-specific APIs. I would appreciate help in correcting the code since I do not have a FreeBSD box handy. CMake is known to work only on platforms for which we have nightly testing submitted to our dashboard: http://open.cdash.org/index.php?project=CMake [^] We used to have extensive FreeBSD testing but the contributor is no longer able to run them. If you are able to run a nightly build, instructions are here: http://www.cmake.org/Wiki/CMake/Git/Dashboard [^] |
(0035746) cakersq (reporter) 2014-04-18 17:42 |
Since I can't build CMake for FreeBSD, I can't run the Dashboard scripts, since they require CMake/CTest ... I can't run these builds every night, but can run them several times a week if needed. |
(0035752) Brad King (manager) 2014-04-21 11:09 |
This has been fixed since 2.8.12.2. The change was made in upstream KWSys here: SystemInformation: Include backtrace-related headers on FreeBSD http://public.kitware.com/gitweb?p=KWSys.git;a=commitdiff;h=6eab64c3 [^] and integrated into CMake here: KWSys 2013-10-15 (6eab64c3) http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c01e7445 [^] It is available in the CMake 3.0 release candidates: http://www.cmake.org/files/v3.0/?C=M;O=D [^] |
(0036983) Robert Maynard (manager) 2014-10-06 10:33 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-04-18 08:00 | cakersq | New Issue | |
2014-04-18 08:00 | cakersq | File Added: cmake.log | |
2014-04-18 08:04 | Brad King | Note Added: 0035737 | |
2014-04-18 17:42 | cakersq | Note Added: 0035746 | |
2014-04-21 11:09 | Brad King | Note Added: 0035752 | |
2014-04-23 08:55 | Brad King | Assigned To | => Brad King |
2014-04-23 08:55 | Brad King | Status | new => resolved |
2014-04-23 08:55 | Brad King | Resolution | open => fixed |
2014-04-23 08:55 | Brad King | Fixed in Version | => CMake 3.0 |
2014-04-23 08:55 | Brad King | Target Version | => CMake 3.0 |
2014-10-06 10:33 | Robert Maynard | Note Added: 0036983 | |
2014-10-06 10:33 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |