Changeset: e007a0350838 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e007a0350838 Modified Files: configure.ag Branch: Jan2014 Log Message:
configure.ag: disable option "-pthread" with clang 5.0: clang 5.0 (at least on Mac OSX Mavericks) does not seem to have / require -pthread as compiler option; on Mac OSX Mavericks, "Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)" complains about "error: argument unused during compilation: -pthread". However, disabling -pthread completely might be too redical/harsh; see also https://www.monetdb.org/pipermail/developers-list/2014-March/004264.html A better alternative might be required but is still pending ... diffs (30 lines): diff --git a/configure.ag b/configure.ag --- a/configure.ag +++ b/configure.ag @@ -1863,14 +1863,18 @@ if test "x$have_pthread" != xno; then save_LIBS="$LIBS" save_CPPFLAGS="$CPPFLAGS" case $GCC-$have_pthread-$CC_ver in - yes-auto-clang-*|yes-yes-clang-*) - # clang does not seem to have / require -pthread as - # compiler option; in fact, on Mac OSX Mavericks, - # "Apple LLVM version 5.0 (clang-500.2.79) (based on - # LLVM 3.3svn)" complains about "error: argument - # unused during compilation: '-pthread'" - PTHREAD_LIBS="-pthread" - LIBS="$LIBS $PTHREAD_LIBS" + yes-auto-clang-5.0|yes-yes-clang-5.0) + # clang 5.0 (at least on Mac OSX Mavericks) does not + # seem to have / require -pthread as compiler + # option; on Mac OSX Mavericks, "Apple LLVM version + # 5.0 (clang-500.2.79) (based on LLVM 3.3svn)" + # complains about "error: argument unused during + # compilation: '-pthread'". + # However, disabling -pthread completely might be + # too redical/harsh; see also + # https://www.monetdb.org/pipermail/developers-list/2014-March/004264.html + # a better alternative might be required but is + # still pending ... ;; yes-auto-*|yes-yes-*) # use GCC's knowledge about the target platform, sets flags _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list