The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14264 
====================================================================== 
Reported By:                Vadim Zhukov
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14264
Category:                   Modules
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-07-03 08:22 EDT
Last Modified:              2013-07-03 08:22 EDT
====================================================================== 
Summary:                    FindBacktrace.cmake to find backtrace()
implementation
Description: 
Using backtrace() become somewhat tricky when going multi-platform. On some
systems (e.g., GNU/Linux), it resides in libc itself and requires
<execinfo.h>; on other (e.g., OpenBSD) it's provided by a separate
library, libexecinfo, but with the same header; and sometimes (NetBSD, IIRC) it
even needs a different header - <backtrace.h>.

Additional Information: 
This module was initially created while porting Clementine to OpenBSD and
successfully survived for a few release updates already.

The similar modules could be found in other software, for example:

https://github.com/nfs-ganesha/nfs-ganesha/pull/27
https://github.com/CTSRD-TESLA/TESLA/blob/master/cmake/Modules/FindExecInfo.cmake
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-07-03 08:22 Vadim Zhukov   New Issue                                    
2013-07-03 08:22 Vadim Zhukov   File Added: FindBacktrace.cmake                 
  
======================================================================

--

Powered by www.kitware.com

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

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

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

Reply via email to