Bug report #7908
Compile error - backtrace - libexecinfo - src/app/CMakeLists.txt
| Status: | Closed | ||
|---|---|---|---|
| Priority: | Normal | ||
| Assignee: | - | ||
| Category: | Build/Install | ||
| Affected QGIS version: | master | Regression?: | No |
| Operating System: | FreeBSD | Easy fix?: | No |
| Pull Request or Patch supplied: | Yes | Resolution: | |
| Crashes QGIS or corrupts data: | No | Copied to github as #: | 16780 |
Description
Backtrace is a GNU libc/linuxism.
For FreeBSD you can compile and use it with libexecinfo library (see devel/libexecinfo).
CMakeLists needs to be patched using cmake FIND_LIBRARY: find_library (EXECINFO_LIBRARY NAMES execinfo)
Solution for FreeBSD into the patch attached (maybe other unix, but what about APPLE ?) :
IF (UNIX)
find_library (EXECINFO_LIBRARY NAMES execinfo)
TARGET_LINK_LIBRARIES(${QGIS_APP_NAME} ${EXECINFO_LIBRARY})
ENDIF (UNIX)
Related issues
Associated revisions
only catch signals on linux (fixes #7908)
History
#1
Updated by Jürgen Fischer over 12 years ago
- Status changed from Open to Closed
Fixed in changeset 3a987258b93e6a723675d2d460eca184544f37a9.
