[cmake-developers] [CMake 0014887]: CMake fails to compile - error: use of undeclared identifier 'abi'

Mantis Bug Tracker mantis at public.kitware.com
Fri Apr 18 08:00:54 EDT 2014


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



More information about the cmake-developers mailing list