summaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-02-28 13:51:22 +0100
committerSergei Golubchik <serg@mariadb.org>2015-02-28 19:48:22 +0100
commitc78f594bbc934a080c5008ddc7a11daf2595a75c (patch)
tree129e723a8be3f782f16b02fad6c939851602faff /config.h.cmake
parent7ba2916c552638e3f8ab4cf2945bbfe99f745dd4 (diff)
downloadmariadb-git-c78f594bbc934a080c5008ddc7a11daf2595a75c.tar.gz
MDEV-6479 stack traces in 10.1
Take into account that PIE binaries are loaded at some offset, so addresses cannot be directly resolved with addr2line. Find this offset and subtract it before resolving an address.
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index bd3f4a9ebd6..7964bf30ded 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -46,6 +46,7 @@
#cmakedefine HAVE_INTTYPES_H 1
#cmakedefine HAVE_KQUEUE 1
#cmakedefine HAVE_LIMITS_H 1
+#cmakedefine HAVE_LINK_H 1
#cmakedefine HAVE_LINUX_UNISTD_H 1
#cmakedefine HAVE_LOCALE_H 1
#cmakedefine HAVE_MALLOC_H 1