|
From: <sv...@va...> - 2014-09-10 00:52:43
|
Author: mjw
Date: Wed Sep 10 00:52:30 2014
New Revision: 14507
Log:
Handle gcc version 5.x.y.
Recognize the future versions of gcc will be called 5.x.y.
Ignore line directives in glibc version configure test (newer
gcc/cpp will mark system macros with an extra line comment).
Patch from Dmitry Djachenko (di...@gm...). Fixes #338932.
Modified:
trunk/NEWS
trunk/configure.ac
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Wed Sep 10 00:52:30 2014
@@ -327,6 +327,7 @@
338703 helgrind on arm-linux gets false positives in dynamic loader
338791 alt dwz files can be relative of debug/main file
338878 on MacOS: assertion 'VG_IS_PAGE_ALIGNED(clstack_end+1)' failed
+338932 build V-trunk with gcc-trunk
n-i-bz Fix KVM_CREATE_IRQCHIP ioctl handling
n-i-bz s390x: Fix memory corruption for multithreaded applications
n-i-bz vex arm->IR: allow PC as basereg in some LDRD cases
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Wed Sep 10 00:52:30 2014
@@ -138,6 +138,9 @@
notclang-4.*)
AC_MSG_RESULT([ok (${gcc_version})])
;;
+ notclang-5.*)
+ AC_MSG_RESULT([ok (${gcc_version})])
+ ;;
clang-2.9|clang-3.*|clang-4.*)
AC_MSG_RESULT([ok (clang-${gcc_version})])
;;
@@ -855,7 +858,7 @@
glibc version is: __GLIBC__ __GLIBC_MINOR__
#endif
_ACEOF
- GLIBC_VERSION="`$CPP conftest.$ac_ext | $SED -n 's/^glibc version is: //p' | $SED 's/ /./g'`"
+ GLIBC_VERSION="`$CPP -P conftest.$ac_ext | $SED -n 's/^glibc version is: //p' | $SED 's/ /./g'`"
fi
# not really a version check
|