hhvm / homebrew-hhvm

Official Mac OS X Homebrew formula for HHVM
MIT License
82 stars 23 forks source link

[OS X 10.11.2] Reinstall hhvm --HEAD fails #24

Closed my2ter closed 8 years ago

my2ter commented 8 years ago

Hi

==> make
Last 15 lines from /Users/romain/Library/Logs/Homebrew/hhvm/02.make:
[ 67%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/raisemod.c.o
[ 67%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/recmul.c.o
[ 67%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/rmzero.c.o
[ 67%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/rt.c.o
[ 67%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/sqrt.c.o
[ 68%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/str2num.c.o
[ 68%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/sub.c.o
[ 68%] Building C object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/bcmath/zero.c.o
[ 68%] Linking CXX static library libhphp_runtime_ext.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libhphp_runtime_ext.a(gd_arc_f_buggy.cpp.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libhphp_runtime_ext.a(ext_std_network-win.cpp.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libhphp_runtime_ext.a(gd_arc_f_buggy.cpp.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libhphp_runtime_ext.a(ext_std_network-win.cpp.o) has no symbols
[ 68%] Built target hphp_runtime_ext
make: *** [all] Error 2
mcmx73 commented 8 years ago

Hi. I have same errors:

[ 67%] Linking CXX static library libhphp_runtime_ext.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libhphp_runtime_ext.a(gd_arc_f_buggy.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libhphp_runtime_ext.a(ext_std_network-win.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libhphp_runtime_ext.a(gd_arc_f_buggy.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libhphp_runtime_ext.a(ext_std_network-win.cpp.o) has no symbols
[ 67%] Built target hphp_runtime_ext
make: *** [all] Error 2

Config info:

==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 5d2e31017b445f93df2a83836055ee9aeceaa026
Last commit: 2 days ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit ivybridge
OS X: 10.11.2-x86_64
Xcode: 7.2
CLT: 7.2.0.0.1.1447826929
Clang: 7.0 build 700
X11: N/A
System Ruby: 2.0.0-p645
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j4
jwatzman commented 8 years ago

Here's the actual problem from your verbose logs (thanks for including them):

/tmp/hhvm20160105-41488-1n16dos/hphp/runtime/base/apc-file-storage.cpp:201:58: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'off_t' (aka 'long long') in initializer list [-Wc++11-narrowing]
  fstore_t store = { F_ALLOCATECONTIG, F_PEOFPOSMODE, 0, m_chunkSize };
                                                         ^~~~~~~~~~~
/tmp/hhvm20160105-41488-1n16dos/hphp/runtime/base/apc-file-storage.cpp:201:58: note: insert an explicit cast to silence this issue
  fstore_t store = { F_ALLOCATECONTIG, F_PEOFPOSMODE, 0, m_chunkSize };
                                                         ^~~~~~~~~~~

I'll take a look when I can. I'm actually transitioning off of the HHVM team right now, so it could be a little while as that process continues :)

my2ter commented 8 years ago

@jwatzman No worries! Any chances I can install from scratch or is it likely to happen anyway?

jwatzman commented 8 years ago

It's a problem with HHVM, not the brew package, unfortunately. Omitting --HEAD and building 3.11.0 should work, if you can use the last stable version of HHVM, as opposed to master.

denji commented 8 years ago

@jwatzman --devel it is also possible to keep a stable snapshot (stable branch).

jwatzman commented 8 years ago

Yep, but our brew formula doesn't specify a stable branch -- the stuff that goes into our release branches tends to very quickly become a tagged, versioned release. Running a tagged version or running master are the only two configurations that are common at all.

jacksontong commented 8 years ago

I have a similar problem when install hhvm on OS X 10.11.3

jwatzman commented 8 years ago

Sorry I haven't gotten a chance to look at this yet. I might be able to later this week, but no promises. @sgolemon is this something you will have time to look at -- who left on the HHVM team is looking at the Mac build?

jwatzman commented 8 years ago

I think this is recently fixed upstream? Can you try the recent bump to the 3.12.1 version, as well as --HEAD, both of which are supposed to work now?

I'm closing this out, LMK if it doesn't work.

tonix-tuft commented 8 years ago

Still can't compile HHVM with brew install on OS X El Capitan 10.11.3 (MacBook Pro 13-inch Mid 2012). I get the following error:

$ brew install hhvm
==> Installing hhvm from hhvm/hhvm
==> Downloading http://dl.hhvm.com/source/hhvm-3.12.1.tar.bz2
Already downloaded: /Library/Caches/Homebrew/hhvm-3.12.1.tar.bz2
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.12.1 -DDEFAULT_CONFIG_DIR=/usr/local/etc/hhvm -DCMAKE_CXX_COMPILER=/usr/
==> make
Last 15 lines from /Users/me/Library/Logs/Homebrew/hhvm/02.make:
      HPHP::Intl::CodePointBreakIterator::first() in libhphp_runtime_ext.a(CodePointBreakIterator.cpp.o)
      HPHP::Intl::CodePointBreakIterator::last() in libhphp_runtime_ext.a(CodePointBreakIterator.cpp.o)
      HPHP::Intl::CodePointBreakIterator::isBoundary(int) in libhphp_runtime_ext.a(CodePointBreakIterator.cpp.o)
  "_utf8_nextCharSafeBody_55", referenced from:
      HPHP::f_fb_utf8ize(HPHP::VRefParamValue const&) in libhphp_runtime_ext.a(ext_fb.cpp.o)
      HPHP::fb_utf8_strlen_impl(HPHP::String const&, bool) in libhphp_runtime_ext.a(ext_fb.cpp.o)
      HPHP::f_fb_utf8_substr(HPHP::String const&, long long, long long) in libhphp_runtime_ext.a(ext_fb.cpp.o)
      HPHP::Intl::parseUChar32(HPHP::Variant const&, int&) in libhphp_runtime_ext.a(ext_icu_uchar.cpp.o)
      HPHP::Intl::appendToUTarget(HPHP::Intl::IntlUConverter*, HPHP::Variant, UConverterToUnicodeArgs*) in libhphp_runtime_ext.a(ext_icu_uconverter.cpp.o)
      HPHP::string_html_encode_extra(char const*, int&, HPHP::StringHtmlEncoding, HPHP::AsciiMap const*) in libhphp_zend.a(zend-html.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [hphp/hhvm/hhvm] Error 1
make[1]: *** [hphp/hhvm/CMakeFiles/hhvm.dir/all] Error 2
make: *** [all] Error 2
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/hhvm/homebrew-hhvm/issues

Maybe because I have MacPorts installed as Homebrew says? Is there a way to keep MacPorts cause it's useful to have two package managers (I have experienced that sometimes one package is not in Homebrew and viceversa).

Maybe installing from source?

tonix-tuft commented 8 years ago

Tried installing from source:

$ brew install llvm --with-clang
...
$ brew install freetype gettext cmake libtool mcrypt oniguruma  \
             autoconf libelf readline automake md5sha1sum \
             gd icu4c libmemcached pkg-config tbb imagemagick \
             libevent sqlite openssl glog boost lz4 pcre \
             gawk jemalloc ocaml gmp dwarfutils libzip
...
git clone --recursive git://github.com/facebook/hhvm.git
...
$ cd hhvm
$ cmake . \
    -DCMAKE_CXX_COMPILER=$(brew --prefix llvm)/bin/clang++ \
    -DCMAKE_C_COMPILER=$(brew --prefix llvm)/bin/clang \
    -DCMAKE_ASM_COMPILER=$(brew --prefix llvm)/bin/clang \
    -DCMAKE_C_FLAGS="-I$(brew --prefix readline)/include -L$(brew --prefix readline)/lib" \
    -DCMAKE_CXX_FLAGS="-I$(brew --prefix readline)/include -L$(brew --prefix readline)/lib" \
    -DENABLE_MCROUTER=OFF \
    -DENABLE_EXTENSION_MCROUTER=OFF \
    -DENABLE_EXTENSION_IMAP=OFF \
    -DMYSQL_UNIX_SOCK_ADDR=/tmp/mysql.sock \
    -DLIBEVENT_LIB=$(brew --prefix libevent)/lib/libevent.dylib \
    -DLIBEVENT_INCLUDE_DIR=$(brew --prefix libevent)/include \
    -DICU_INCLUDE_DIR=$(brew --prefix icu4c)/include \
    -DICU_LIBRARY=$(brew --prefix icu4c)/lib/libicuuc.dylib \
    -DICU_I18N_LIBRARY=$(brew --prefix icu4c)/lib/libicui18n.dylib \
    -DICU_DATA_LIBRARY=$(brew --prefix icu4c)/lib/libicudata.dylib \
    -DREADLINE_INCLUDE_DIR=$(brew --prefix readline)/include \
    -DREADLINE_LIBRARY=$(brew --prefix readline)/lib/libreadline.dylib \
    -DBOOST_INCLUDEDIR=$(brew --prefix boost)/include \
    -DBOOST_LIBRARYDIR=$(brew --prefix boost)/lib \
    -DJEMALLOC_INCLUDE_DIR=$(brew --prefix jemalloc)/include \
    -DJEMALLOC_LIB=$(brew --prefix jemalloc)/lib/libjemalloc.dylib \
    -DLIBINTL_LIBRARIES=$(brew --prefix gettext)/lib/libintl.dylib \
    -DLIBINTL_INCLUDE_DIR=$(brew --prefix gettext)/include \
    -DLIBDWARF_LIBRARIES=$(brew --prefix dwarfutils)/lib/libdwarf.a \
    -DLIBDWARF_INCLUDE_DIRS=$(brew --prefix dwarfutils)/include \
    -DLIBMAGICKWAND_INCLUDE_DIRS=$(brew --prefix imagemagick)/include/ImageMagick-6 \
    -DLIBMAGICKWAND_LIBRARIES=$(brew --prefix imagemagick)/lib/libMagickWand-6.Q16.dylib \
    -DFREETYPE_INCLUDE_DIRS=$(brew --prefix freetype)/include/freetype2 \
    -DFREETYPE_LIBRARIES=$(brew --prefix freetype)/lib/libfreetype.dylib \
    -DLIBMEMCACHED_LIBRARY=$(brew --prefix libmemcached)/lib/libmemcached.dylib \
    -DLIBMEMCACHED_INCLUDE_DIR=$(brew --prefix libmemcached)/include \
    -DLIBELF_LIBRARIES=$(brew --prefix libelf)/lib/libelf.a \
    -DLIBELF_INCLUDE_DIRS=$(brew --prefix libelf)/include/libelf \
    -DLIBGLOG_LIBRARY=$(brew --prefix glog)/lib/libglog.dylib \
    -DLIBGLOG_INCLUDE_DIR=$(brew --prefix glog)/include \
    -DOPENSSL_SSL_LIBRARY=$(brew --prefix openssl)/lib/libssl.dylib \
    -DOPENSSL_INCLUDE_DIR=$(brew --prefix openssl)/include \
    -DOPENSSL_CRYPTO_LIBRARY=$(brew --prefix openssl)/lib/libcrypto.dylib \
    -DCRYPT_LIB=$(brew --prefix openssl)/lib/libcrypto.dylib \
    -DTBB_INSTALL_DIR=$(brew --prefix tbb) \
    -DLIBSQLITE3_INCLUDE_DIR=$(brew --prefix sqlite)/include \
    -DLIBSQLITE3_LIBRARY=$(brew --prefix sqlite)/lib/libsqlite3.0.dylib \
    -DLIBZIP_INCLUDE_DIR_ZIP=$(brew --prefix libzip)/include \
    -DLIBZIP_INCLUDE_DIR_ZIPCONF=$(brew --prefix libzip)/lib/libzip/include \
    -DLIBZIP_LIBRARY=$(brew --prefix libzip)/lib/libzip.dylib \
    -DLZ4_INCLUDE_DIR=$(brew --prefix lz4)/include \
    -DLZ4_LIBRARY=$(brew --prefix lz4)/lib/liblz4.dylib \
    -DPCRE_INCLUDE_DIR=$(brew --prefix pcre)/include \
    -DPCRE_LIBRARY=$(brew --prefix pcre)/lib/libpcre.dylib \
    -DSYSTEM_PCRE_HAS_JIT=1
...

-- Boost version: 1.60.0
-- Found the following Boost libraries:
--   thread
--   system
--   chrono
--   date_time
--   atomic
-- Found libevent: /usr/local/opt/libevent/lib/libevent.dylib
-- Found libevent 2.0.9+
CMake Error at /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/ExternalProject.cmake:1097 (message):
  dir '/Users/antony/hhvm/third-party/webscalesqlclient/src/' does not exist
  after file(MAKE_DIRECTORY)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/ExternalProject.cmake:2411 (_ep_set_directories)
  third-party/webscalesqlclient/CMakeLists.txt:4 (ExternalProject_Add)

-- Configuring incomplete, errors occurred!
See also "/Users/me/hhvm/CMakeFiles/CMakeOutput.log".
See also "/Users/me/hhvm/CMakeFiles/CMakeError.log".

Here is /Users/me/hhvm/CMakeFiles/CMakeError.log:

Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin15.3.0
Thread model: posix
Checking whether the ASM compiler is HP using "-V" did not match "HP C":
clang-3.6: error: argument to '-V' is missing (expected 1 value)
clang-3.6: error: no input files
Checking whether the ASM compiler is Intel using "--version" did not match "(ICC)":
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin15.3.0
Thread model: posix
Checking whether the ASM compiler is SunPro using "-V" did not match "Sun C":
clang-3.6: error: argument to '-V' is missing (expected 1 value)
clang-3.6: error: no input files
Checking whether the ASM compiler is XL using "-qversion" did not match "XL C":
clang-3.6: error: unknown argument: '-qversion'
clang-3.6: error: no input files
Checking whether the ASM compiler is MSVC using "/?" did not match "Microsoft":
clang-3.6: error: no such file or directory: '/?'
clang-3.6: error: no input files
Checking whether the ASM compiler is TI using "-h" did not match "Texas Instruments":
clang-3.6: error: unknown argument: '-h'
clang-3.6: error: no input files
Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin15.3.0
Thread model: posix
Checking whether the ASM compiler is IAR using "" did not match "IAR Assembler":
clang-3.6: error: no input files
Checking whether the ASM compiler is ARMCC using "" did not match "(ARM Compiler)|(ARM Assembler)":
clang-3.6: error: no input files
Performing C++ SOURCE FILE Test IS_AARCH64 failed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_24861/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_24861.dir/build.make CMakeFiles/cmTC_24861.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_24861.dir/src.cxx.o
/usr/local/opt/llvm/bin/clang++     -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -DIS_AARCH64   -o CMakeFiles/cmTC_24861.dir/src.cxx.o -c /Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx
clang-3.6: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib'
/Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx:3:2: error: Not ARMv8
#error Not ARMv8
 ^
1 error generated.
CMakeFiles/cmTC_24861.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_24861.dir/src.cxx.o' failed
gmake[1]: *** [CMakeFiles/cmTC_24861.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_24861/fast' failed
gmake: *** [cmTC_24861/fast] Error 2

Source file was:

#ifndef __AARCH64EL__
#error Not ARMv8
#endif
int main() { return 0; }
Performing C++ SOURCE FILE Test IS_PPC64 failed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_866e2/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_866e2.dir/build.make CMakeFiles/cmTC_866e2.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_866e2.dir/src.cxx.o
/usr/local/opt/llvm/bin/clang++     -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -DIS_PPC64   -o CMakeFiles/cmTC_866e2.dir/src.cxx.o -c /Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx
clang-3.6: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib'
/Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx:3:2: error: Not PPC64
#error Not PPC64
 ^
1 error generated.
CMakeFiles/cmTC_866e2.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_866e2.dir/src.cxx.o' failed
gmake[1]: *** [CMakeFiles/cmTC_866e2.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_866e2/fast' failed
gmake: *** [cmTC_866e2/fast] Error 2

Source file was:

#ifndef __powerpc64__
#error Not PPC64
#endif
int main() { return 0; }
Performing C++ SOURCE FILE Test PTHREAD_TIMEDLOCK failed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_408e0/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_408e0.dir/build.make CMakeFiles/cmTC_408e0.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_408e0.dir/src.cxx.o
/usr/local/opt/llvm/bin/clang++     -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -DPTHREAD_TIMEDLOCK   -o CMakeFiles/cmTC_408e0.dir/src.cxx.o -c /Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx
clang-3.6: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib'
/Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx:3:12: error: use of undeclared identifier 'pthread_mutex_timedlock'
    return pthread_mutex_timedlock();
           ^
1 error generated.
CMakeFiles/cmTC_408e0.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_408e0.dir/src.cxx.o' failed
gmake[1]: *** [CMakeFiles/cmTC_408e0.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_408e0/fast' failed
gmake: *** [cmTC_408e0/fast] Error 2

Source file was:
#include <pthread.h>
  int main() {
    return pthread_mutex_timedlock();
  }
Performing C SOURCE FILE Test LIBDL_NEEDS_UNDERSCORE failed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_3fc08/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_3fc08.dir/build.make CMakeFiles/cmTC_3fc08.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3fc08.dir/src.c.o
/usr/local/opt/llvm/bin/clang    -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DLIBDL_NEEDS_UNDERSCORE   -o CMakeFiles/cmTC_3fc08.dir/src.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_3fc08
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3fc08.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DLIBDL_NEEDS_UNDERSCORE -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_3fc08.dir/src.c.o  -o cmTC_3fc08  -ldl 
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Return value: 1
Source file was:
#include <dlfcn.h>
#include <stdlib.h>
void testfunc() {}
int main() {
  testfunc();
  if (dlsym(0, "_testfunc") != (void*)0) {
    return EXIT_SUCCESS;
  } else {
    return EXIT_FAILURE;
  }
}
Determining if the function evhttp_bind_socket_with_fd exists failed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_e5ca9/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_e5ca9.dir/build.make CMakeFiles/cmTC_e5ca9.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_e5ca9.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang    -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=evhttp_bind_socket_with_fd   -o CMakeFiles/cmTC_e5ca9.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_e5ca9
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e5ca9.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=evhttp_bind_socket_with_fd -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_e5ca9.dir/CheckFunctionExists.c.o  -o cmTC_e5ca9  /usr/local/opt/libevent/lib/libevent.dylib 
Undefined symbols for architecture x86_64:
  "_evhttp_bind_socket_with_fd", referenced from:
      _main in CheckFunctionExists.c.o
ld: symbol(s) not found for architecture x86_64
clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/cmTC_e5ca9.dir/build.make:98: recipe for target 'cmTC_e5ca9' failed
gmake[1]: *** [cmTC_e5ca9] Error 1
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_e5ca9/fast' failed
gmake: *** [cmTC_e5ca9/fast] Error 2

Determining if the function curl_multi_select exists failed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_c0a24/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_c0a24.dir/build.make CMakeFiles/cmTC_c0a24.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c0a24.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang    -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=curl_multi_select   -o CMakeFiles/cmTC_c0a24.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_c0a24
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c0a24.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=curl_multi_select -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_c0a24.dir/CheckFunctionExists.c.o  -o cmTC_c0a24  /opt/local/lib/libcurl.dylib 
Undefined symbols for architecture x86_64:
  "_curl_multi_select", referenced from:
      _main in CheckFunctionExists.c.o
ld: symbol(s) not found for architecture x86_64
clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/cmTC_c0a24.dir/build.make:98: recipe for target 'cmTC_c0a24' failed
gmake[1]: *** [cmTC_c0a24] Error 1
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_c0a24/fast' failed
gmake: *** [cmTC_c0a24/fast] Error 2

Performing C++ SOURCE FILE Test OPENSSL_HAVE_RAND_EGD failed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_ec001/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_ec001.dir/build.make CMakeFiles/cmTC_ec001.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_ec001.dir/src.cxx.o
/usr/local/opt/llvm/bin/clang++     -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -msse4.2 -std=gnu++11 -fno-omit-frame-pointer -fno-operator-names -Wall -Woverloaded-virtual -Werror=format-security -Qunused-arguments -stdlib=libc++ -DOPENSSL_HAVE_RAND_EGD   -o CMakeFiles/cmTC_ec001.dir/src.cxx.o -c /Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx
/Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx:1:10: fatal error: 'openssl/rand.h' file not found
#include <openssl/rand.h>
         ^
1 error generated.
CMakeFiles/cmTC_ec001.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_ec001.dir/src.cxx.o' failed
gmake[1]: *** [CMakeFiles/cmTC_ec001.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_ec001/fast' failed
gmake: *** [cmTC_ec001/fast] Error 2

Source file was:
#include <openssl/rand.h>
int main() {
  return RAND_egd("/dev/null");
}
Performing C++ SOURCE FILE Test ELF_GETSHDRSTRNDX failed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_2793b/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_2793b.dir/build.make CMakeFiles/cmTC_2793b.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_2793b.dir/src.cxx.o
/usr/local/opt/llvm/bin/clang++     -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -msse4.2 -std=gnu++11 -fno-omit-frame-pointer -fno-operator-names -Wall -Woverloaded-virtual -Werror=format-security -Qunused-arguments -stdlib=libc++ -DELF_GETSHDRSTRNDX   -o CMakeFiles/cmTC_2793b.dir/src.cxx.o -c /Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx
/Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx:1:10: fatal error: 'libelf.h' file not found
#include <libelf.h>
         ^
1 error generated.
CMakeFiles/cmTC_2793b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_2793b.dir/src.cxx.o' failed
gmake[1]: *** [CMakeFiles/cmTC_2793b.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_2793b/fast' failed
gmake: *** [cmTC_2793b/fast] Error 2

Source file was:
#include <libelf.h>
int main() {
  Elf *e = (Elf*)0;
  size_t sz;
  elf_getshdrstrndx(e, &sz);
  return 0;
}
Determining if the function dwarf_producer_init_c exists failed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_8cb70/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_8cb70.dir/build.make CMakeFiles/cmTC_8cb70.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_8cb70.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=dwarf_producer_init_c   -o CMakeFiles/cmTC_8cb70.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_8cb70
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8cb70.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=dwarf_producer_init_c -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_8cb70.dir/CheckFunctionExists.c.o  -o cmTC_8cb70  /usr/local/opt/dwarfutils/lib/libdwarf.a /usr/local/opt/libelf/lib/libelf.a 
Undefined symbols for architecture x86_64:
  "_dwarf_producer_init_c", referenced from:
      _main in CheckFunctionExists.c.o
ld: symbol(s) not found for architecture x86_64
clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/cmTC_8cb70.dir/build.make:99: recipe for target 'cmTC_8cb70' failed
gmake[1]: *** [cmTC_8cb70] Error 1
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_8cb70/fast' failed
gmake: *** [cmTC_8cb70/fast] Error 2

Performing C++ SOURCE FILE Test FOLLY_IFUNC failed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_afa53/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_afa53.dir/build.make CMakeFiles/cmTC_afa53.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_afa53.dir/src.cxx.o
/usr/local/opt/llvm/bin/clang++    -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -msse4.2 -std=gnu++11 -fno-omit-frame-pointer -fno-operator-names -Wall -Woverloaded-virtual -Werror=format-security -Qunused-arguments -stdlib=libc++ -DFOLLY_IFUNC   -o CMakeFiles/cmTC_afa53.dir/src.cxx.o -c /Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_afa53
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_afa53.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang++   -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -msse4.2 -std=gnu++11 -fno-omit-frame-pointer -fno-operator-names -Wall -Woverloaded-virtual -Werror=format-security -Qunused-arguments -stdlib=libc++ -DFOLLY_IFUNC -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_afa53.dir/src.cxx.o  -o cmTC_afa53  -lelf 
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/cmTC_afa53.dir/build.make:97: recipe for target 'cmTC_afa53' failed
gmake[1]: *** [cmTC_afa53] Error 1
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_afa53/fast' failed
gmake: *** [cmTC_afa53/fast] Error 2

Source file was:

extern "C" void (*test_ifunc(void))() { return 0; }
void func() __attribute__((ifunc("test_ifunc")));

Determining if the function clock_gettime exists failed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_90cf0/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_90cf0.dir/build.make CMakeFiles/cmTC_90cf0.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_90cf0.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=clock_gettime   -o CMakeFiles/cmTC_90cf0.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_90cf0
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_90cf0.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=clock_gettime -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_90cf0.dir/CheckFunctionExists.c.o  -o cmTC_90cf0  /usr/lib/libpthread.dylib 
Undefined symbols for architecture x86_64:
  "_clock_gettime", referenced from:
      _main in CheckFunctionExists.c.o
ld: symbol(s) not found for architecture x86_64
clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/cmTC_90cf0.dir/build.make:98: recipe for target 'cmTC_90cf0' failed
gmake[1]: *** [cmTC_90cf0] Error 1
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_90cf0/fast' failed
gmake: *** [cmTC_90cf0/fast] Error 2

Determining if the function pthread_spin_lock exists failed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_28abe/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_28abe.dir/build.make CMakeFiles/cmTC_28abe.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_28abe.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=pthread_spin_lock   -o CMakeFiles/cmTC_28abe.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_28abe
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_28abe.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=pthread_spin_lock -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_28abe.dir/CheckFunctionExists.c.o  -o cmTC_28abe  /usr/lib/libpthread.dylib 
Undefined symbols for architecture x86_64:
  "_pthread_spin_lock", referenced from:
      _main in CheckFunctionExists.c.o
ld: symbol(s) not found for architecture x86_64
clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/cmTC_28abe.dir/build.make:98: recipe for target 'cmTC_28abe' failed
gmake[1]: *** [cmTC_28abe] Error 1
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_28abe/fast' failed
gmake: *** [cmTC_28abe/fast] Error 2

Determining if the system is big endian passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_63bf2/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_63bf2.dir/build.make CMakeFiles/cmTC_63bf2.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_63bf2.dir/TestEndianess.c.o
/usr/local/opt/llvm/bin/clang    -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_63bf2.dir/TestEndianess.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/TestEndianess.c
Linking C executable cmTC_63bf2
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_63bf2.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_63bf2.dir/TestEndianess.c.o  -o cmTC_63bf2  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

TestEndianess.c:
/* A 16 bit integer is required. */
typedef unsigned short cmakeint16;

/* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN."
   On a big endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_little[] =  {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000};

/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN."
   On a little endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_big[] =     {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_little[argc];
  require += info_big[argc];
  (void)argv;
  return require;
}

Performing C++ SOURCE FILE Test FOLLY_MALLOC failed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_b627e/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_b627e.dir/build.make CMakeFiles/cmTC_b627e.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_b627e.dir/src.cxx.o
/usr/local/opt/llvm/bin/clang++    -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -msse4.2 -std=gnu++11 -fno-omit-frame-pointer -fno-operator-names -Wall -Woverloaded-virtual -Werror=format-security -Qunused-arguments -stdlib=libc++ -DFOLLY_MALLOC   -o CMakeFiles/cmTC_b627e.dir/src.cxx.o -c /Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx
/Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx:1:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
         ^
1 error generated.
CMakeFiles/cmTC_b627e.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_b627e.dir/src.cxx.o' failed
gmake[1]: *** [CMakeFiles/cmTC_b627e.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_b627e/fast' failed
gmake: *** [cmTC_b627e/fast] Error 2

Source file was:
#include <malloc.h>
int main() {
  return 0;
}
Performing C++ SOURCE FILE Test FOLLY_FUNCTEXCEPT failed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_13726/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_13726.dir/build.make CMakeFiles/cmTC_13726.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_13726.dir/src.cxx.o
/usr/local/opt/llvm/bin/clang++    -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -msse4.2 -std=gnu++11 -fno-omit-frame-pointer -fno-operator-names -Wall -Woverloaded-virtual -Werror=format-security -Qunused-arguments -stdlib=libc++ -DFOLLY_FUNCTEXCEPT   -o CMakeFiles/cmTC_13726.dir/src.cxx.o -c /Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx
/Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx:1:10: fatal error: 'bits/functexcept.h' file not found
#include <bits/functexcept.h>
         ^
1 error generated.
CMakeFiles/cmTC_13726.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_13726.dir/src.cxx.o' failed
gmake[1]: *** [CMakeFiles/cmTC_13726.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_13726/fast' failed
gmake: *** [cmTC_13726/fast] Error 2

Source file was:
#include <bits/functexcept.h>
int main() {
  return 0;
}
Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin15.3.0
Thread model: posix
Checking whether the ASM compiler is HP using "-V" did not match "HP C":
clang-3.6: error: argument to '-V' is missing (expected 1 value)
clang-3.6: error: no input files
Checking whether the ASM compiler is Intel using "--version" did not match "(ICC)":
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin15.3.0
Thread model: posix
Checking whether the ASM compiler is SunPro using "-V" did not match "Sun C":
clang-3.6: error: argument to '-V' is missing (expected 1 value)
clang-3.6: error: no input files
Checking whether the ASM compiler is XL using "-qversion" did not match "XL C":
clang-3.6: error: unknown argument: '-qversion'
clang-3.6: error: no input files
Checking whether the ASM compiler is MSVC using "/?" did not match "Microsoft":
clang-3.6: error: no such file or directory: '/?'
clang-3.6: error: no input files
Checking whether the ASM compiler is TI using "-h" did not match "Texas Instruments":
clang-3.6: error: unknown argument: '-h'
clang-3.6: error: no input files
Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin15.3.0
Thread model: posix
Checking whether the ASM compiler is IAR using "" did not match "IAR Assembler":
clang-3.6: error: no input files
Checking whether the ASM compiler is ARMCC using "" did not match "(ARM Compiler)|(ARM Assembler)":
clang-3.6: error: no input files
Determining if the function dwarf_producer_init_c exists failed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_2c429/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_2c429.dir/build.make CMakeFiles/cmTC_2c429.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2c429.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=dwarf_producer_init_c   -o CMakeFiles/cmTC_2c429.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_2c429
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2c429.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=dwarf_producer_init_c -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_2c429.dir/CheckFunctionExists.c.o  -o cmTC_2c429  /usr/local/opt/dwarfutils/lib/libdwarf.a /usr/local/opt/libelf/lib/libelf.a 
Undefined symbols for architecture x86_64:
  "_dwarf_producer_init_c", referenced from:
      _main in CheckFunctionExists.c.o
ld: symbol(s) not found for architecture x86_64
clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/cmTC_2c429.dir/build.make:99: recipe for target 'cmTC_2c429' failed
gmake[1]: *** [cmTC_2c429] Error 1
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_2c429/fast' failed
gmake: *** [cmTC_2c429/fast] Error 2

Here is "/Users/me/hhvm/CMakeFiles/CMakeOutput.log":

The system is: Darwin - 15.3.0 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/local/opt/llvm/bin/clang 
Build flags: -I/usr/local/opt/readline/include;-L/usr/local/opt/readline/lib
Id flags: 

The output was:
0

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"

The C compiler identification is Clang, found in "/Users/me/hhvm/CMakeFiles/3.5.0/CompilerIdC/a.out"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/local/opt/llvm/bin/clang++ 
Build flags: -I/usr/local/opt/readline/include;-L/usr/local/opt/readline/lib
Id flags: 

The output was:
0

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"

The CXX compiler identification is Clang, found in "/Users/me/hhvm/CMakeFiles/3.5.0/CompilerIdCXX/a.out"

Determining if the C compiler works passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_f3084/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_f3084.dir/build.make CMakeFiles/cmTC_f3084.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f3084.dir/testCCompiler.c.o
/usr/local/opt/llvm/bin/clang    -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib    -o CMakeFiles/cmTC_f3084.dir/testCCompiler.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/testCCompiler.c
clang-3.6: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib'
Linking C executable cmTC_f3084
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f3084.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_f3084.dir/testCCompiler.c.o  -o cmTC_f3084  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Detecting C compiler ABI info compiled with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_0fbd9/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_0fbd9.dir/build.make CMakeFiles/cmTC_0fbd9.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0fbd9.dir/CMakeCCompilerABI.c.o
/usr/local/opt/llvm/bin/clang    -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib    -o CMakeFiles/cmTC_0fbd9.dir/CMakeCCompilerABI.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CMakeCCompilerABI.c
clang-3.6: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib'
Linking C executable cmTC_0fbd9
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0fbd9.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib  -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -v -Wl,-v CMakeFiles/cmTC_0fbd9.dir/CMakeCCompilerABI.c.o  -o cmTC_0fbd9   
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin15.3.0
Thread model: posix
 "/opt/local/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.11.0 -o cmTC_0fbd9 -L/usr/local/opt/readline/lib -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_0fbd9.dir/CMakeCCompilerABI.c.o -lSystem
@(#)PROGRAM:ld  PROJECT:ld64-253.3
configured to support archs: i386 x86_64 x86_64h armv6 armv7 armv7s armv7m armv7k arm64 (tvOS)
Library search paths:
    /usr/local/opt/readline/lib
    /usr/lib
    /usr/local/lib
Framework search paths:
    /Library/Frameworks/
    /System/Library/Frameworks/
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Parsed C implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:"/opt/local/bin/gmake" "cmTC_0fbd9/fast"]
  ignore line: [/opt/local/bin/gmake -f CMakeFiles/cmTC_0fbd9.dir/build.make CMakeFiles/cmTC_0fbd9.dir/build]
  ignore line: [gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp']
  ignore line: [Building C object CMakeFiles/cmTC_0fbd9.dir/CMakeCCompilerABI.c.o]
  ignore line: [/usr/local/opt/llvm/bin/clang    -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib    -o CMakeFiles/cmTC_0fbd9.dir/CMakeCCompilerABI.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CMakeCCompilerABI.c]
  ignore line: [clang-3.6: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib']
  ignore line: [Linking C executable cmTC_0fbd9]
  ignore line: [/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0fbd9.dir/link.txt --verbose=1]
  ignore line: [/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib  -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -v -Wl,-v CMakeFiles/cmTC_0fbd9.dir/CMakeCCompilerABI.c.o  -o cmTC_0fbd9   ]
  ignore line: [clang version 3.6.2 (tags/RELEASE_362/final)]
  ignore line: [Target: x86_64-apple-darwin15.3.0]
  ignore line: [Thread model: posix]
  link line: [ "/opt/local/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.11.0 -o cmTC_0fbd9 -L/usr/local/opt/readline/lib -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_0fbd9.dir/CMakeCCompilerABI.c.o -lSystem]
    arg [/opt/local/bin/ld] ==> ignore
    arg [-demangle] ==> ignore
    arg [-dynamic] ==> ignore
    arg [-arch] ==> ignore
    arg [x86_64] ==> ignore
    arg [-macosx_version_min] ==> ignore
    arg [10.11.0] ==> ignore
    arg [-o] ==> ignore
    arg [cmTC_0fbd9] ==> ignore
    arg [-L/usr/local/opt/readline/lib] ==> dir [/usr/local/opt/readline/lib]
    arg [-search_paths_first] ==> ignore
    arg [-headerpad_max_install_names] ==> ignore
    arg [-v] ==> ignore
    arg [CMakeFiles/cmTC_0fbd9.dir/CMakeCCompilerABI.c.o] ==> ignore
    arg [-lSystem] ==> lib [System]
  Library search paths: [;/usr/local/opt/readline/lib;/usr/lib;/usr/local/lib]
  Framework search paths: [;/Library/Frameworks/;/System/Library/Frameworks/]
  remove lib [System]
  collapse library dir [/usr/local/opt/readline/lib] ==> [/usr/local/opt/readline/lib]
  collapse library dir [/usr/local/opt/readline/lib] ==> [/usr/local/opt/readline/lib]
  collapse library dir [/usr/lib] ==> [/usr/lib]
  collapse library dir [/usr/local/lib] ==> [/usr/local/lib]
  collapse framework dir [/Library/Frameworks/] ==> [/Library/Frameworks]
  collapse framework dir [/System/Library/Frameworks/] ==> [/System/Library/Frameworks]
  implicit libs: []
  implicit dirs: [/usr/local/opt/readline/lib;/usr/lib;/usr/local/lib]
  implicit fwks: [/Library/Frameworks;/System/Library/Frameworks]

Determining if the CXX compiler works passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_e5ffd/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_e5ffd.dir/build.make CMakeFiles/cmTC_e5ffd.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_e5ffd.dir/testCXXCompiler.cxx.o
/usr/local/opt/llvm/bin/clang++     -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib    -o CMakeFiles/cmTC_e5ffd.dir/testCXXCompiler.cxx.o -c /Users/me/hhvm/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
clang-3.6: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib'
Linking CXX executable cmTC_e5ffd
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e5ffd.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang++   -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_e5ffd.dir/testCXXCompiler.cxx.o  -o cmTC_e5ffd  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_29317/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_29317.dir/build.make CMakeFiles/cmTC_29317.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_29317.dir/CMakeCXXCompilerABI.cpp.o
/usr/local/opt/llvm/bin/clang++     -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib    -o CMakeFiles/cmTC_29317.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CMakeCXXCompilerABI.cpp
clang-3.6: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib'
Linking CXX executable cmTC_29317
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_29317.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang++   -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib  -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -v -Wl,-v CMakeFiles/cmTC_29317.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_29317   
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin15.3.0
Thread model: posix
 "/opt/local/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.11.0 -o cmTC_29317 -L/usr/local/opt/readline/lib -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_29317.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem
@(#)PROGRAM:ld  PROJECT:ld64-253.3
configured to support archs: i386 x86_64 x86_64h armv6 armv7 armv7s armv7m armv7k arm64 (tvOS)
Library search paths:
    /usr/local/opt/readline/lib
    /usr/lib
    /usr/local/lib
Framework search paths:
    /Library/Frameworks/
    /System/Library/Frameworks/
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Parsed CXX implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:"/opt/local/bin/gmake" "cmTC_29317/fast"]
  ignore line: [/opt/local/bin/gmake -f CMakeFiles/cmTC_29317.dir/build.make CMakeFiles/cmTC_29317.dir/build]
  ignore line: [gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp']
  ignore line: [Building CXX object CMakeFiles/cmTC_29317.dir/CMakeCXXCompilerABI.cpp.o]
  ignore line: [/usr/local/opt/llvm/bin/clang++     -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib    -o CMakeFiles/cmTC_29317.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
  ignore line: [clang-3.6: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib']
  ignore line: [Linking CXX executable cmTC_29317]
  ignore line: [/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_29317.dir/link.txt --verbose=1]
  ignore line: [/usr/local/opt/llvm/bin/clang++   -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib  -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -v -Wl,-v CMakeFiles/cmTC_29317.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_29317   ]
  ignore line: [clang version 3.6.2 (tags/RELEASE_362/final)]
  ignore line: [Target: x86_64-apple-darwin15.3.0]
  ignore line: [Thread model: posix]
  link line: [ "/opt/local/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.11.0 -o cmTC_29317 -L/usr/local/opt/readline/lib -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_29317.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem]
    arg [/opt/local/bin/ld] ==> ignore
    arg [-demangle] ==> ignore
    arg [-dynamic] ==> ignore
    arg [-arch] ==> ignore
    arg [x86_64] ==> ignore
    arg [-macosx_version_min] ==> ignore
    arg [10.11.0] ==> ignore
    arg [-o] ==> ignore
    arg [cmTC_29317] ==> ignore
    arg [-L/usr/local/opt/readline/lib] ==> dir [/usr/local/opt/readline/lib]
    arg [-search_paths_first] ==> ignore
    arg [-headerpad_max_install_names] ==> ignore
    arg [-v] ==> ignore
    arg [CMakeFiles/cmTC_29317.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
    arg [-lc++] ==> lib [c++]
    arg [-lSystem] ==> lib [System]
  Library search paths: [;/usr/local/opt/readline/lib;/usr/lib;/usr/local/lib]
  Framework search paths: [;/Library/Frameworks/;/System/Library/Frameworks/]
  remove lib [System]
  collapse library dir [/usr/local/opt/readline/lib] ==> [/usr/local/opt/readline/lib]
  collapse library dir [/usr/local/opt/readline/lib] ==> [/usr/local/opt/readline/lib]
  collapse library dir [/usr/lib] ==> [/usr/lib]
  collapse library dir [/usr/local/lib] ==> [/usr/local/lib]
  collapse framework dir [/Library/Frameworks/] ==> [/Library/Frameworks]
  collapse framework dir [/System/Library/Frameworks/] ==> [/System/Library/Frameworks]
  implicit libs: [c++]
  implicit dirs: [/usr/local/opt/readline/lib;/usr/lib;/usr/local/lib]
  implicit fwks: [/Library/Frameworks;/System/Library/Frameworks]

Performing C++ SOURCE FILE Test IS_X64 succeeded with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_6cea6/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_6cea6.dir/build.make CMakeFiles/cmTC_6cea6.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_6cea6.dir/src.cxx.o
/usr/local/opt/llvm/bin/clang++     -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -DIS_X64   -o CMakeFiles/cmTC_6cea6.dir/src.cxx.o -c /Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx
clang-3.6: warning: argument unused during compilation: '-L/usr/local/opt/readline/lib'
Linking CXX executable cmTC_6cea6
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6cea6.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang++   -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -DIS_X64 -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_6cea6.dir/src.cxx.o  -o cmTC_6cea6  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Source file was:

#ifndef __x86_64__
#error Not x64
#endif
int main() { return 0; }
Determining if the function curl_multi_wait exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_233eb/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_233eb.dir/build.make CMakeFiles/cmTC_233eb.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_233eb.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang    -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=curl_multi_wait   -o CMakeFiles/cmTC_233eb.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_233eb
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_233eb.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=curl_multi_wait -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_233eb.dir/CheckFunctionExists.c.o  -o cmTC_233eb  /opt/local/lib/libcurl.dylib 
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Performing C++ SOURCE FILE Test JEMALLOC_VERSION_MINIMUM succeeded with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_e5b00/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_e5b00.dir/build.make CMakeFiles/cmTC_e5b00.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_e5b00.dir/src.cxx.o
/usr/local/opt/llvm/bin/clang++    -I/usr/local/opt/jemalloc/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -msse4.2 -std=gnu++11 -fno-omit-frame-pointer -fno-operator-names -Wall -Woverloaded-virtual -Werror=format-security -Qunused-arguments -stdlib=libc++ -DJEMALLOC_VERSION_MINIMUM   -o CMakeFiles/cmTC_e5b00.dir/src.cxx.o -c /Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_e5b00
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e5b00.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang++   -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -msse4.2 -std=gnu++11 -fno-omit-frame-pointer -fno-operator-names -Wall -Woverloaded-virtual -Werror=format-security -Qunused-arguments -stdlib=libc++ -DJEMALLOC_VERSION_MINIMUM -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_e5b00.dir/src.cxx.o  -o cmTC_e5b00  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Source file was:

#include <jemalloc/jemalloc.h>

#define JEMALLOC_VERSION_NUMERIC ((JEMALLOC_VERSION_MAJOR << 24) | (JEMALLOC_VERSION_MINOR << 16) | (JEMALLOC_VERSION_BUGFIX << 8) | JEMALLOC_VERSION_NDEV)

#if JEMALLOC_VERSION_NUMERIC < 0x03050100
# error jemalloc version >= 3.5.1 required
#endif

int main(void) { return 0; }
Determining if the function dwarf_producer_init exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_7be3c/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_7be3c.dir/build.make CMakeFiles/cmTC_7be3c.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_7be3c.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=dwarf_producer_init   -o CMakeFiles/cmTC_7be3c.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_7be3c
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7be3c.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=dwarf_producer_init -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_7be3c.dir/CheckFunctionExists.c.o  -o cmTC_7be3c  /usr/local/opt/dwarfutils/lib/libdwarf.a /usr/local/opt/libelf/lib/libelf.a 
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Performing C++ SOURCE FILE Test DW_CONST succeeded with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_72215/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_72215.dir/build.make CMakeFiles/cmTC_72215.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_72215.dir/src.cxx.o
/usr/local/opt/llvm/bin/clang++    -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -msse4.2 -std=gnu++11 -fno-omit-frame-pointer -fno-operator-names -Wall -Woverloaded-virtual -Werror=format-security -Qunused-arguments -stdlib=libc++ -DDW_CONST   -o CMakeFiles/cmTC_72215.dir/src.cxx.o -c /Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx
/Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx:6:52: warning: control reaches end of non-void function [-Wreturn-type]
        Dwarf_Unsigned * g, Dwarf_Ptr h, int * i) {}
                                                   ^
1 warning generated.
Linking CXX executable cmTC_72215
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_72215.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang++   -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -msse4.2 -std=gnu++11 -fno-omit-frame-pointer -fno-operator-names -Wall -Woverloaded-virtual -Werror=format-security -Qunused-arguments -stdlib=libc++ -DDW_CONST -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_72215.dir/src.cxx.o  -o cmTC_72215  /usr/local/opt/dwarfutils/lib/libdwarf.a /usr/local/opt/libelf/lib/libelf.a 
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Source file was:

      #include <libdwarf.h>
      #include <cstddef>
      int dwarfCallback(const char * a, int b, Dwarf_Unsigned c,
        Dwarf_Unsigned d, Dwarf_Unsigned e, Dwarf_Unsigned f,
        Dwarf_Unsigned * g, Dwarf_Ptr h, int * i) {}
      int main() { dwarf_producer_init(0, dwarfCallback, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr); return 0; }
Determining if the function pthread_atfork exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_bdbd4/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_bdbd4.dir/build.make CMakeFiles/cmTC_bdbd4.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_bdbd4.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=pthread_atfork   -o CMakeFiles/cmTC_bdbd4.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_bdbd4
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bdbd4.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=pthread_atfork -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_bdbd4.dir/CheckFunctionExists.c.o  -o cmTC_bdbd4  /usr/lib/libpthread.dylib 
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Performing C++ SOURCE FILE Test FOLLY_HAVE_VLA succeeded with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_ba633/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_ba633.dir/build.make CMakeFiles/cmTC_ba633.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_ba633.dir/src.cxx.o
/usr/local/opt/llvm/bin/clang++    -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -msse4.2 -std=gnu++11 -fno-omit-frame-pointer -fno-operator-names -Wall -Woverloaded-virtual -Werror=format-security -Qunused-arguments -stdlib=libc++ -DFOLLY_HAVE_VLA   -o CMakeFiles/cmTC_ba633.dir/src.cxx.o -c /Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx
/Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx:4:8: warning: unused variable 'data' [-Wunused-variable]
  char data[size];
       ^
1 warning generated.
Linking CXX executable cmTC_ba633
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ba633.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang++   -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -msse4.2 -std=gnu++11 -fno-omit-frame-pointer -fno-operator-names -Wall -Woverloaded-virtual -Werror=format-security -Qunused-arguments -stdlib=libc++ -DFOLLY_HAVE_VLA -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_ba633.dir/src.cxx.o  -o cmTC_ba633  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Source file was:

int main(int argc, char** argv) {
  unsigned size = argc;
  char data[size];
  return 0;
}

Determining if files stdio.h exist passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_161da/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_161da.dir/build.make CMakeFiles/cmTC_161da.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_161da.dir/CheckIncludeFiles.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_161da.dir/CheckIncludeFiles.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
Linking C executable cmTC_161da
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_161da.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_161da.dir/CheckIncludeFiles.c.o  -o cmTC_161da  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if files stdlib.h exist passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_a1885/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_a1885.dir/build.make CMakeFiles/cmTC_a1885.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a1885.dir/CheckIncludeFiles.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_a1885.dir/CheckIncludeFiles.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
Linking C executable cmTC_a1885
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a1885.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_a1885.dir/CheckIncludeFiles.c.o  -o cmTC_a1885  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if files stddef.h exist passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_9d9cb/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_9d9cb.dir/build.make CMakeFiles/cmTC_9d9cb.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_9d9cb.dir/CheckIncludeFiles.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_9d9cb.dir/CheckIncludeFiles.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
Linking C executable cmTC_9d9cb
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9d9cb.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_9d9cb.dir/CheckIncludeFiles.c.o  -o cmTC_9d9cb  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if files assert.h exist passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_02772/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_02772.dir/build.make CMakeFiles/cmTC_02772.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_02772.dir/CheckIncludeFiles.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_02772.dir/CheckIncludeFiles.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
Linking C executable cmTC_02772
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_02772.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_02772.dir/CheckIncludeFiles.c.o  -o cmTC_02772  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if files memory.h exist passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_c7c8f/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_c7c8f.dir/build.make CMakeFiles/cmTC_c7c8f.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c7c8f.dir/CheckIncludeFiles.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_c7c8f.dir/CheckIncludeFiles.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
Linking C executable cmTC_c7c8f
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c7c8f.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_c7c8f.dir/CheckIncludeFiles.c.o  -o cmTC_c7c8f  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if files strings.h exist passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_459ff/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_459ff.dir/build.make CMakeFiles/cmTC_459ff.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_459ff.dir/CheckIncludeFiles.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_459ff.dir/CheckIncludeFiles.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
Linking C executable cmTC_459ff
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_459ff.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_459ff.dir/CheckIncludeFiles.c.o  -o cmTC_459ff  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if files string.h exist passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_1d0bd/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_1d0bd.dir/build.make CMakeFiles/cmTC_1d0bd.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1d0bd.dir/CheckIncludeFiles.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_1d0bd.dir/CheckIncludeFiles.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
Linking C executable cmTC_1d0bd
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1d0bd.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_1d0bd.dir/CheckIncludeFiles.c.o  -o cmTC_1d0bd  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the function strcasecmp exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_20c10/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_20c10.dir/build.make CMakeFiles/cmTC_20c10.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_20c10.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=strcasecmp   -o CMakeFiles/cmTC_20c10.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_20c10
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_20c10.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=strcasecmp -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_20c10.dir/CheckFunctionExists.c.o  -o cmTC_20c10  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the function strchr exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_65f42/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_65f42.dir/build.make CMakeFiles/cmTC_65f42.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_65f42.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=strchr   -o CMakeFiles/cmTC_65f42.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_65f42
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_65f42.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=strchr -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_65f42.dir/CheckFunctionExists.c.o  -o cmTC_65f42  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the include file sys/types.h exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_5961f/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_5961f.dir/build.make CMakeFiles/cmTC_5961f.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_5961f.dir/CheckIncludeFile.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_5961f.dir/CheckIncludeFile.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_5961f
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5961f.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_5961f.dir/CheckIncludeFile.c.o  -o cmTC_5961f  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the include file stdint.h exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_91355/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_91355.dir/build.make CMakeFiles/cmTC_91355.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_91355.dir/CheckIncludeFile.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_91355.dir/CheckIncludeFile.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_91355
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_91355.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_91355.dir/CheckIncludeFile.c.o  -o cmTC_91355  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining size of unsigned short passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_47a30/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_47a30.dir/build.make CMakeFiles/cmTC_47a30.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_47a30.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_47a30.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o   -c /Users/me/hhvm/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c
Linking C executable cmTC_47a30
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_47a30.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_47a30.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o  -o cmTC_47a30  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if files inttypes.h exist passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_6f969/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_6f969.dir/build.make CMakeFiles/cmTC_6f969.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_6f969.dir/CheckIncludeFiles.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_6f969.dir/CheckIncludeFiles.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
Linking C executable cmTC_6f969
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6f969.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_6f969.dir/CheckIncludeFiles.c.o  -o cmTC_6f969  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if files locale.h exist passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_750f9/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_750f9.dir/build.make CMakeFiles/cmTC_750f9.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_750f9.dir/CheckIncludeFiles.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_750f9.dir/CheckIncludeFiles.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
Linking C executable cmTC_750f9
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_750f9.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_750f9.dir/CheckIncludeFiles.c.o  -o cmTC_750f9  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if files limits.h exist passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_43d9e/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_43d9e.dir/build.make CMakeFiles/cmTC_43d9e.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_43d9e.dir/CheckIncludeFiles.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_43d9e.dir/CheckIncludeFiles.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
Linking C executable cmTC_43d9e
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_43d9e.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_43d9e.dir/CheckIncludeFiles.c.o  -o cmTC_43d9e  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining size of int32_t passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_c55ba/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_c55ba.dir/build.make CMakeFiles/cmTC_c55ba.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c55ba.dir/HAVE_INT32_T.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_c55ba.dir/HAVE_INT32_T.c.o   -c /Users/me/hhvm/CMakeFiles/CheckTypeSize/HAVE_INT32_T.c
Linking C executable cmTC_c55ba
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c55ba.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_c55ba.dir/HAVE_INT32_T.c.o  -o cmTC_c55ba  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining size of uint32_t passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_ead13/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_ead13.dir/build.make CMakeFiles/cmTC_ead13.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_ead13.dir/HAVE_UINT32_T.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_ead13.dir/HAVE_UINT32_T.c.o   -c /Users/me/hhvm/CMakeFiles/CheckTypeSize/HAVE_UINT32_T.c
Linking C executable cmTC_ead13
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ead13.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_ead13.dir/HAVE_UINT32_T.c.o  -o cmTC_ead13  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the function strtoll exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_0c987/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_0c987.dir/build.make CMakeFiles/cmTC_0c987.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0c987.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=strtoll   -o CMakeFiles/cmTC_0c987.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_0c987
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0c987.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=strtoll -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_0c987.dir/CheckFunctionExists.c.o  -o cmTC_0c987  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the function atoll exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_ad790/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_ad790.dir/build.make CMakeFiles/cmTC_ad790.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_ad790.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=atoll   -o CMakeFiles/cmTC_ad790.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_ad790
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ad790.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=atoll -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_ad790.dir/CheckFunctionExists.c.o  -o cmTC_ad790  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the function strftime exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_2bed6/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_2bed6.dir/build.make CMakeFiles/cmTC_2bed6.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2bed6.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=strftime   -o CMakeFiles/cmTC_2bed6.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_2bed6
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2bed6.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=strftime -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_2bed6.dir/CheckFunctionExists.c.o  -o cmTC_2bed6  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the function setlocale exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_514ef/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_514ef.dir/build.make CMakeFiles/cmTC_514ef.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_514ef.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=setlocale   -o CMakeFiles/cmTC_514ef.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_514ef
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_514ef.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=setlocale -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_514ef.dir/CheckFunctionExists.c.o  -o cmTC_514ef  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the include file pthread.h exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_30a75/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_30a75.dir/build.make CMakeFiles/cmTC_30a75.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_30a75.dir/CheckIncludeFile.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_30a75.dir/CheckIncludeFile.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_30a75
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_30a75.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_30a75.dir/CheckIncludeFile.c.o  -o cmTC_30a75  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the pthread_create exist passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_b78cf/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_b78cf.dir/build.make CMakeFiles/cmTC_b78cf.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b78cf.dir/CheckSymbolExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_b78cf.dir/CheckSymbolExists.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_b78cf
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b78cf.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_b78cf.dir/CheckSymbolExists.c.o  -o cmTC_b78cf  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

File /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the include file arpa/inet.h exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_3e8f0/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_3e8f0.dir/build.make CMakeFiles/cmTC_3e8f0.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3e8f0.dir/CheckIncludeFile.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_3e8f0.dir/CheckIncludeFile.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_3e8f0
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3e8f0.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_3e8f0.dir/CheckIncludeFile.c.o  -o cmTC_3e8f0  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the include file netinet/in.h exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_c1ae2/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_c1ae2.dir/build.make CMakeFiles/cmTC_c1ae2.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c1ae2.dir/CheckIncludeFile.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_c1ae2.dir/CheckIncludeFile.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_c1ae2
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c1ae2.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_c1ae2.dir/CheckIncludeFile.c.o  -o cmTC_c1ae2  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the include file stddef.h exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_eaf59/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_eaf59.dir/build.make CMakeFiles/cmTC_eaf59.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_eaf59.dir/CheckIncludeFile.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_eaf59.dir/CheckIncludeFile.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_eaf59
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_eaf59.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_eaf59.dir/CheckIncludeFile.c.o  -o cmTC_eaf59  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the include file stdint.h exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_e5507/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_e5507.dir/build.make CMakeFiles/cmTC_e5507.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_e5507.dir/CheckIncludeFile.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_e5507.dir/CheckIncludeFile.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_e5507
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e5507.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_e5507.dir/CheckIncludeFile.c.o  -o cmTC_e5507  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the include file string.h exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_872e0/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_872e0.dir/build.make CMakeFiles/cmTC_872e0.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_872e0.dir/CheckIncludeFile.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_872e0.dir/CheckIncludeFile.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_872e0
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_872e0.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_872e0.dir/CheckIncludeFile.c.o  -o cmTC_872e0  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the include file sys/socket.h exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_4a9f0/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_4a9f0.dir/build.make CMakeFiles/cmTC_4a9f0.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_4a9f0.dir/CheckIncludeFile.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_4a9f0.dir/CheckIncludeFile.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_4a9f0
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4a9f0.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_4a9f0.dir/CheckIncludeFile.c.o  -o cmTC_4a9f0  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the include file sys/time.h exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_e8dad/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_e8dad.dir/build.make CMakeFiles/cmTC_e8dad.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_e8dad.dir/CheckIncludeFile.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_e8dad.dir/CheckIncludeFile.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_e8dad
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e8dad.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_e8dad.dir/CheckIncludeFile.c.o  -o cmTC_e8dad  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the include file unistd.h exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_07a41/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_07a41.dir/build.make CMakeFiles/cmTC_07a41.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_07a41.dir/CheckIncludeFile.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_07a41.dir/CheckIncludeFile.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_07a41
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_07a41.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_07a41.dir/CheckIncludeFile.c.o  -o cmTC_07a41  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining size of size_t passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_02b20/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_02b20.dir/build.make CMakeFiles/cmTC_02b20.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_02b20.dir/HAVE_SIZE_T.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_02b20.dir/HAVE_SIZE_T.c.o   -c /Users/me/hhvm/CMakeFiles/CheckTypeSize/HAVE_SIZE_T.c
Linking C executable cmTC_02b20
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_02b20.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_02b20.dir/HAVE_SIZE_T.c.o  -o cmTC_02b20  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining size of ssize_t passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_36973/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_36973.dir/build.make CMakeFiles/cmTC_36973.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_36973.dir/HAVE_SSIZE_T.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_36973.dir/HAVE_SSIZE_T.c.o   -c /Users/me/hhvm/CMakeFiles/CheckTypeSize/HAVE_SSIZE_T.c
Linking C executable cmTC_36973
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_36973.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_36973.dir/HAVE_SSIZE_T.c.o  -o cmTC_36973  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining size of uint8_t passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_3dd3d/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_3dd3d.dir/build.make CMakeFiles/cmTC_3dd3d.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3dd3d.dir/HAVE_UINT8_T.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_3dd3d.dir/HAVE_UINT8_T.c.o   -c /Users/me/hhvm/CMakeFiles/CheckTypeSize/HAVE_UINT8_T.c
Linking C executable cmTC_3dd3d
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3dd3d.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_3dd3d.dir/HAVE_UINT8_T.c.o  -o cmTC_3dd3d  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the AF_LOCAL exist passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_eb678/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_eb678.dir/build.make CMakeFiles/cmTC_eb678.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_eb678.dir/CheckSymbolExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_eb678.dir/CheckSymbolExists.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_eb678
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_eb678.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_eb678.dir/CheckSymbolExists.c.o  -o cmTC_eb678  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

File /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <sys/socket.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef AF_LOCAL
  return ((int*)(&AF_LOCAL))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the PF_LOCAL exist passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_aa2e4/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_aa2e4.dir/build.make CMakeFiles/cmTC_aa2e4.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_aa2e4.dir/CheckSymbolExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_aa2e4.dir/CheckSymbolExists.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_aa2e4
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_aa2e4.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_aa2e4.dir/CheckSymbolExists.c.o  -o cmTC_aa2e4  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

File /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <sys/socket.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef PF_LOCAL
  return ((int*)(&PF_LOCAL))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function memset exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_33cd8/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_33cd8.dir/build.make CMakeFiles/cmTC_33cd8.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_33cd8.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=memset   -o CMakeFiles/cmTC_33cd8.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_33cd8
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_33cd8.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=memset -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_33cd8.dir/CheckFunctionExists.c.o  -o cmTC_33cd8  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the function socket exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_cf2dc/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_cf2dc.dir/build.make CMakeFiles/cmTC_cf2dc.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_cf2dc.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=socket   -o CMakeFiles/cmTC_cf2dc.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_cf2dc
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cf2dc.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=socket -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_cf2dc.dir/CheckFunctionExists.c.o  -o cmTC_cf2dc  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the function strerror exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_f9af3/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_f9af3.dir/build.make CMakeFiles/cmTC_f9af3.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f9af3.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=strerror   -o CMakeFiles/cmTC_f9af3.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_f9af3
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f9af3.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=strerror -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_f9af3.dir/CheckFunctionExists.c.o  -o cmTC_f9af3  
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Determining if the event_get_version_number exist passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_21ef7/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_21ef7.dir/build.make CMakeFiles/cmTC_21ef7.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_21ef7.dir/CheckSymbolExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/opt/libevent/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2    -o CMakeFiles/cmTC_21ef7.dir/CheckSymbolExists.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_21ef7
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_21ef7.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2  -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_21ef7.dir/CheckSymbolExists.c.o  -o cmTC_21ef7  /usr/local/opt/libevent/lib/libevent.dylib 
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

File /Users/me/hhvm/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <event.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef event_get_version_number
  return ((int*)(&event_get_version_number))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Performing C SOURCE FILE Test HAVE_LIBEVENT_209 succeeded with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_2b5b8/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_2b5b8.dir/build.make CMakeFiles/cmTC_2b5b8.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2b5b8.dir/src.c.o
/usr/local/opt/llvm/bin/clang  -DEVENT_VERSION_WANTED=0x2000900 -DHAVE_EVENT_GET_VERSION_NUMBER -I/usr/local/opt/libevent/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DHAVE_LIBEVENT_209   -o CMakeFiles/cmTC_2b5b8.dir/src.c.o   -c /Users/me/hhvm/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_2b5b8
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2b5b8.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DHAVE_LIBEVENT_209 -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_2b5b8.dir/src.c.o  -o cmTC_2b5b8  /usr/local/opt/libevent/lib/libevent.dylib 
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Source file was:
#include <sys/types.h>
#include <event.h>
#include <stdio.h>

int main()
{
    unsigned int version;
#if defined(HAVE_EVENT_GET_VERSION_NUMBER)
    version = event_get_version_number();
#else
    unsigned int major, minor, patchlevel;
    char c;
    int fields;
    fields = sscanf(event_get_version(), "%u.%u.%u%c", &major, &minor, &patchlevel, &c);
    version = (((major) << 24) | ((minor) << 16) | ((patchlevel) << 8));
#endif
    return (version < EVENT_VERSION_WANTED);
}

Determining if the function dwarf_producer_init exists passed with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_134d4/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_134d4.dir/build.make CMakeFiles/cmTC_134d4.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_134d4.dir/CheckFunctionExists.c.o
/usr/local/opt/llvm/bin/clang   -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=dwarf_producer_init   -o CMakeFiles/cmTC_134d4.dir/CheckFunctionExists.c.o   -c /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_134d4
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_134d4.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -w -msse4.2 -DCHECK_FUNCTION_EXISTS=dwarf_producer_init -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_134d4.dir/CheckFunctionExists.c.o  -o cmTC_134d4  /usr/local/opt/dwarfutils/lib/libdwarf.a /usr/local/opt/libelf/lib/libelf.a 
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Performing C++ SOURCE FILE Test DW_CONST succeeded with the following output:
Change Dir: /Users/me/hhvm/CMakeFiles/CMakeTmp

Run Build Command:"/opt/local/bin/gmake" "cmTC_ad543/fast"
/opt/local/bin/gmake -f CMakeFiles/cmTC_ad543.dir/build.make CMakeFiles/cmTC_ad543.dir/build
gmake[1]: Entering directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_ad543.dir/src.cxx.o
/usr/local/opt/llvm/bin/clang++    -I/usr/local/include  -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -msse4.2 -std=gnu++11 -fno-omit-frame-pointer -fno-operator-names -Wall -Woverloaded-virtual -Werror=format-security -Qunused-arguments -stdlib=libc++ -DDW_CONST   -o CMakeFiles/cmTC_ad543.dir/src.cxx.o -c /Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx
/Users/me/hhvm/CMakeFiles/CMakeTmp/src.cxx:6:52: warning: control reaches end of non-void function [-Wreturn-type]
        Dwarf_Unsigned * g, Dwarf_Ptr h, int * i) {}
                                                   ^
1 warning generated.
Linking CXX executable cmTC_ad543
/usr/local/Cellar/cmake/3.5.0/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ad543.dir/link.txt --verbose=1
/usr/local/opt/llvm/bin/clang++   -I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -Wno-error=array-bounds -Wno-error=switch -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-return-type-c-linkage -msse4.2 -std=gnu++11 -fno-omit-frame-pointer -fno-operator-names -Wall -Woverloaded-virtual -Werror=format-security -Qunused-arguments -stdlib=libc++ -DDW_CONST -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_ad543.dir/src.cxx.o  -o cmTC_ad543  /usr/local/opt/dwarfutils/lib/libdwarf.a /usr/local/opt/libelf/lib/libelf.a 
gmake[1]: Leaving directory '/Users/me/hhvm/CMakeFiles/CMakeTmp'

Source file was:

      #include <libdwarf.h>
      #include <cstddef>
      int dwarfCallback(const char * a, int b, Dwarf_Unsigned c,
        Dwarf_Unsigned d, Dwarf_Unsigned e, Dwarf_Unsigned f,
        Dwarf_Unsigned * g, Dwarf_Ptr h, int * i) {}
      int main() { dwarf_producer_init(0, dwarfCallback, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr); return 0; }
denji commented 8 years ago

@Tonix-Tuft

Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
tonix-tuft commented 8 years ago

No way I can keep MacPorts together with Homebrew? I still have several MacPorts packages installed...

jwatzman commented 8 years ago

You can do something like sudo mv /opt /some-other-place-for-now; brew install hhvm; sudo mv /some-other-place-for-now /opt to move it out of the way temporarily. Unfortunately HHVM in brew doesn't play well with MacPorts installed into /opt -- HHVM will pick up some libraries out of /opt and some stuff out of brew (sometimes mismatching headers with libs etc), which causes this sort of mess. One of these days I'll get around to #16 to stop HHVM from doing that, but until now they are indeed unfortunately incompatible.

tonix-tuft commented 8 years ago

@jwatzman

It worked like a charm. Thank you.