From cf7cb62d777a1d74db1abca0753e5fb2cfe0c310 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Tue, 13 Aug 2013 17:20:47 +0530 Subject: [PATCH] [3025] Update description for BOOST_OFFSET_PTR_OLD --- m4macros/ax_boost_for_bind10.m4 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/m4macros/ax_boost_for_bind10.m4 b/m4macros/ax_boost_for_bind10.m4 index 3cc8c6ff07..cc6408c85e 100644 --- a/m4macros/ax_boost_for_bind10.m4 +++ b/m4macros/ax_boost_for_bind10.m4 @@ -30,10 +30,12 @@ dnl compile managed_mapped_file (can be empty). dnl It is of no use if "WOULDFAIL" is yes. dnl BOOST_STATIC_ASSERT_WOULDFAIL set to "yes" if BOOST_STATIC_ASSERT would dnl cause build error; otherwise set to "no" -dnl BOOST_OFFSET_PTR_OLD if the version of boost is older than 1.48. The old -dnl version confuses some versions of gcc optimisations -dnl and certain files should be compiled without -dnl optimisations. + +dnl BOOST_OFFSET_PTR_OLD set to "yes" if the version of boost is older than +dnl 1.48. Older versions of boost have a bug which +dnl causes segfaults in offset_ptr implementation when +dnl compiled by GCC with optimisations enabled. +dnl See ticket no. 3025 for details. AC_DEFUN([AX_BOOST_FOR_BIND10], [ AC_LANG_SAVE