The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14887 
====================================================================== 
Reported By:                cakersq
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14887
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-04-18 08:00 EDT
Last Modified:              2014-04-18 08:00 EDT
====================================================================== 
Summary:                    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
====================================================================== 

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                        
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to