https://bugs.kde.org/show_bug.cgi?id=366138
Bug ID: 366138
Summary: configure errors out when using Xcode 8 (clang 8.0.0)
Product: valgrind
Version: 3.12 SVN
Platform: MacPorts Packages
OS: OS X
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Using current trunk (valgrind r15915, vex r3232), valgrind is failing to
configure when using Xcode 8.
configure:5397: checking for a supported version of gcc
configure:5481: result: no (8.0.0)
configure:5483: error: please use gcc >= 3.0 or clang >= 2.9 or icc >= 13.0
The problem is with:
applellvm-5.1|applellvm-6.*|applellvm-7.*)
and also note that is_clang is not included in the error message.
Reproducible: Always
Steps to Reproduce:
1. Use Xcode 8 to build valgrind
Actual Results:
configure should have succeeded
Expected Results:
configure failed
--- configure.ac.orig 2016-07-26 09:30:11.000000000 -0700
+++ configure.ac 2016-07-26 09:30:27.000000000 -0700
@@ -154,7 +154,7 @@ AM_CONDITIONAL(COMPILER_IS_ICC, test $is
# Note: m4 arguments are quoted with [ and ] so square brackets in shell
# statements have to be quoted.
case "${is_clang}-${gcc_version}" in
- applellvm-5.1|applellvm-6.*|applellvm-7.*)
+ applellvm-5.1|applellvm-[[6-9]].*|applellvm-[[1-9]][[0-9]].*)
AC_MSG_RESULT([ok (Apple LLVM version ${gcc_version})])
;;
icc-1[[3-9]].*)
@@ -167,7 +167,7 @@ case "${is_clang}-${gcc_version}" in
AC_MSG_RESULT([ok (clang-${gcc_version})])
;;
*)
- AC_MSG_RESULT([no (${gcc_version})])
+ AC_MSG_RESULT([no (${is_clang}-${gcc_version})])
AC_MSG_ERROR([please use gcc >= 3.0 or clang >= 2.9 or icc >= 13.0])
;;
esac
--
You are receiving this mail because:
You are watching all bug changes.