The file src/mongo/platform/backtrace.cpp includes dlfcn.h without #define _GNU_SOURCE to access functions like dladdr(). According to the man page this doesn't seem right and as a matter of fact it didn't compile with a toolchain missing <execinfo.h>
Fix building on platforms without execinfo.h
- Assignee:
-
Jonathan Reams
- Reporter:
-
Raffaele Rossi
- Votes:
-
0 Vote for this issue - Watchers:
-
4 Start watching this issue
- Created:
- Updated:
- Resolved: