hhvm / homebrew-hhvm

Official Mac OS X Homebrew formula for HHVM
MIT License
81 stars 22 forks source link

brew install hhvm? what about ? #33

Closed magicians closed 8 years ago

magicians commented 8 years ago
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/store-elim.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/target-cache.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/target-profile.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/tc-info.cpp.o
[ 95%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/timer.cpp.o
Assertion failed: ((data().DefaultedMoveConstructorIsDeleted || needsOverloadResolutionForMoveConstructor()) && "move constructor should not be deleted"), function setImplicitMoveConstructorIsDeleted, file /tmp/llvm20160112-57262-bcf1bf/llvm-3.6.2.src/tools/clang/include/clang/AST/DeclCXX.h, line 909.
0  clang-3.6                0x00000001017a9eb9 llvm::sys::PrintStackTrace(__sFILE*) + 57
1  clang-3.6                0x00000001017aa416 SignalHandler(int) + 218
2  libsystem_platform.dylib 0x00007fff8ddd152a _sigtramp + 26
3  libsystem_platform.dylib 0x7349726f74637572 _sigtramp + 3867566178
4  clang-3.6                0x00000001017aa2a4 abort + 22
5  clang-3.6                0x00000001017aa28e abort + 0
6  clang-3.6                0x000000010206af44 llvm::SmallVectorImpl<clang::Expr*>::reserve(unsigned long) + 0
7  clang-3.6                0x0000000102045afd clang::Sema::DeclareImplicitMoveConstructor(clang::CXXRecordDecl*) + 609
8  clang-3.6                0x000000010215caba clang::Sema::LookupConstructors(clang::CXXRecordDecl*) + 108
9  clang-3.6                0x000000010213f529 TryConstructorInitialization(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, clang::QualType, clang::InitializationSequence&, bool) + 392
10 clang-3.6                0x000000010213d7db clang::InitializationSequence::InitializeFrom(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, bool) + 1293
11 clang-3.6                0x000000010213d2bf clang::InitializationSequence::InitializationSequence(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, bool) + 295
12 clang-3.6                0x000000010213e56c clang::InitializationSequence::InitializationSequence(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, bool) + 20
13 clang-3.6                0x000000010203e856 CollectFieldInitializer(clang::Sema&, (anonymous namespace)::BaseAndFieldInfo&, clang::FieldDecl*, clang::IndirectFieldDecl*) + 2543
14 clang-3.6                0x000000010203d2df clang::Sema::SetCtorInitializers(clang::CXXConstructorDecl*, bool, llvm::ArrayRef<clang::CXXCtorInitializer*>) + 2267
15 clang-3.6                0x0000000102040030 clang::Sema::ActOnMemInitializers(clang::Decl*, clang::SourceLocation, llvm::ArrayRef<clang::CXXCtorInitializer*>, bool) + 2320
16 clang-3.6                0x0000000102269f86 clang::Sema::InstantiateMemInitializers(clang::CXXConstructorDecl*, clang::CXXConstructorDecl const*, clang::MultiLevelTemplateArgumentList const&) + 1588
17 clang-3.6                0x00000001022696b4 clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation, clang::FunctionDecl*, bool, bool) + 1870
18 clang-3.6                0x000000010226a1f4 clang::Sema::PerformPendingInstantiations(bool) + 320
19 clang-3.6                0x0000000101f8b46f clang::Sema::ActOnEndOfTranslationUnit() + 587
20 clang-3.6                0x0000000101ea7f32 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 188
21 clang-3.6                0x0000000101e4c336 clang::ParseAST(clang::Sema&, bool, bool) + 335
22 clang-3.6                0x000000010193c3b3 clang::FrontendAction::Execute() + 67
23 clang-3.6                0x0000000101919e3a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 556
24 clang-3.6                0x0000000101967c5a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2942
25 clang-3.6                0x0000000100cbbd50 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 922
26 clang-3.6                0x0000000100cbb2d5 main + 8166
27 libdyld.dylib            0x00007fff8bdaf5ad start + 1
Stack dump:
0.  Program arguments: /usr/local/Cellar/llvm/3.6.2/bin/clang-3.6 -cc1 -triple x86_64-apple-macosx10.11.0 -emit-obj -disable-free -main-file-name store-elim.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-feature +sse4.2 -target-linker-version 253.9 -dwarf-column-info -coverage-file /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/store-elim.cpp.o -resource-dir /usr/local/Cellar/llvm/3.6.2/bin/../lib/clang/3.6.2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -D DEFAULT_CONFIG_DIR="/usr/local/etc/hhvm" -D ENABLE_FASTCGI=1 -D FOLLY_HAVE_PTHREAD_ATFORK=1 -D FOLLY_HAVE_SCHED_H=1 -D FOLLY_HAVE_VLA=1 -D FOLLY_HAVE_WEAK_SYMBOLS=1 -D FOLLY_NO_CONFIG=1 -D FOLLY_USE_LIBCPP=1 -D HAVE_BOOST1_49 -D HAVE_CURL_MULTI_WAIT -D HAVE_LIBDL -D HHVM -D HHVM_DYNAMIC_EXTENSION_DIR="/usr/local/Cellar/hhvm/3.13.1/lib/hhvm/extensions" -D HPHP_OSS=1 -D LIBDWARF_CONST_NAME -D MACOSX_DEPLOYMENT_TARGET=10.6 -D MAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_6 -D MBFL_STATIC -D NDEBUG -D NO_HARDWARE_COUNTERS=1 -D NO_LIB_GFLAGS -D NO_TCMALLOC=1 -D OPENSSL_NO_RAND_EGD -D PACKAGE=hhvm -D PACKAGE_VERSION=Release -D PHP_MYSQL_UNIX_SOCK_ADDR="/tmp/mysql.sock" -D RELEASE=1 -D SKIP_USER_CHANGE=1 -D THRIFT_MUTEX_EMULATE_PTHREAD_TIMEDLOCK -D USE_CMAKE -D USE_JEMALLOC=1 -D _PTHREADS=1 -D _REENTRANT=1 -D __STDC_FORMAT_MACROS -D NDEBUG -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1 -I /usr/local/opt/boost/include -I /usr/local/opt/glog/include -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/re2/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/squangle/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/webscalesqlclient/src/include -I /usr/local/opt/pcre/include -I /usr/local/opt/libevent/include -I /usr/include/libxml2 -I /usr/local/opt/lz4/include -I /usr/local/opt/libzip/include -I /usr/local/opt/libzip/lib/libzip/include -I /usr/local/opt/icu4c/include -I /usr/local/opt/jemalloc/include -I /usr/local/opt/tbb/include -I /usr/local/opt/openssl/include -I /usr/local/opt/oniguruma/include -I /usr/local/opt/readline/include -I /usr/local/opt/dwarfutils/include -I /usr/local/opt/libelf/include/libelf -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/double-conversion/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/fastlz -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/timelib -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/libafdt/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/libmbfl -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/libmbfl/mbfl -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/libmbfl/filters -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/proxygen/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/folly -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/folly/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/thrift/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/wangle/src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp/runtime/../runtime/ext_zend_compat/php-src -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp/runtime/../runtime/ext_zend_compat/php-src/main -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp/runtime/../runtime/ext_zend_compat/php-src/Zend -I /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp/runtime/../runtime/ext_zend_compat/php-src/TSRM -I /usr/local/opt/readline/include -stdlib=libc++ -O3 -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 -Wall -Woverloaded-virtual -Werror=format-security -std=gnu++11 -fdebug-compilation-dir /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp/runtime -ferror-limit 19 -fmessage-length 0 -fno-operator-names -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.11.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o CMakeFiles/hphp_runtime_static.dir/vm/jit/store-elim.cpp.o -x c++ /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/hphp/runtime/vm/jit/store-elim.cpp
1.  <eof> parser at end of file
2.  /tmp/hhvm-20160428-20317-11th85g/hhvm-3.13.1/third-party/folly/folly/Optional.h:97:3: instantiating function definition 'Optional'
clang-3.6: error: unable to execute command: Illegal instruction: 4
clang-3.6: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin15.4.0
Thread model: posix
clang-3.6: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-3.6: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.6: note: diagnostic msg: /var/folders/ww/glqy1cfd14b58vfmwdnfkjqm0000gn/T/store-elim-22e940.cpp
clang-3.6: note: diagnostic msg: /var/folders/ww/glqy1cfd14b58vfmwdnfkjqm0000gn/T/store-elim-22e940.sh
clang-3.6: note: diagnostic msg:

********************
make[2]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/jit/store-elim.cpp.o] Error 254
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all] Error 2
make: *** [all] Error 2
==> Formula
Tap: hhvm/hhvm
Path: /usr/local/Library/Taps/hhvm/homebrew-hhvm/hhvm.rb
==> Configuration
HOMEBREW_VERSION: 0.9.9
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 9378e46ffc2c17df4efc535744279ebfa28bcf30
Last commit: 20 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 1352e6b52c7c81477c2ffae3ae41a25e2aeee579
Core tap last commit: 3 hours 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 haswell
OS X: 10.11.4-x86_64
Xcode: 7.3
CLT: 7.3.0.0.1.1457485338
Clang: 7.3 build 703
X11: N/A
System Ruby: 2.0.0-p648
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.3.0/bin/ruby
Java: 1.8.0_66, 1.6.0_65-b14-468
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local/opt/llvm:/usr/local/opt/gettext:/usr/local/opt/icu4c:/usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/sqlite:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
MACOSX_DEPLOYMENT_TARGET: 10.11
PKG_CONFIG_PATH: /usr/local/opt/libelf/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/fontconfig/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/gd/lib/pkgconfig:/usr/local/opt/glog/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/imagemagick/lib/pkgconfig:/usr/local/opt/jemalloc/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libevent/lib/pkgconfig:/usr/local/opt/libmemcached/lib/pkgconfig:/usr/local/opt/libzip/lib/pkgconfig:/usr/local/opt/lz4/lib/pkgconfig:/usr/local/opt/oniguruma/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.11
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/llvm/bin:/usr/local/opt/autoconf/bin:/usr/local/opt/automake/bin:/usr/local/opt/cmake/bin:/usr/local/opt/dwarfutils/bin:/usr/local/opt/gawk/bin:/usr/local/opt/libtool/bin:/usr/local/opt/md5sha1sum/bin:/usr/local/opt/ocaml/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/fontconfig/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/gd/bin:/usr/local/opt/gettext/bin:/usr/local/opt/gflags/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/xz/bin:/usr/local/opt/imagemagick/bin:/usr/local/opt/jemalloc/bin:/usr/local/opt/openssl/bin:/usr/local/opt/libevent/bin:/usr/local/opt/memcached/bin:/usr/local/opt/libmemcached/bin:/usr/local/opt/libzip/bin:/usr/local/opt/lz4/bin:/usr/local/opt/mcrypt/bin:/usr/local/opt/oniguruma/bin:/usr/local/opt/pcre/bin:/usr/local/opt/sqlite/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: hhvm/hhvm/hhvm 3.13.1 did not build
Logs:
     /Users/meilunzhi/Library/Logs/Homebrew/hhvm/01.cmake
     /Users/meilunzhi/Library/Logs/Homebrew/hhvm/01.cmake.cc
     /Users/meilunzhi/Library/Logs/Homebrew/hhvm/02.make
     /Users/meilunzhi/Library/Logs/Homebrew/hhvm/02.make.cc
     /Users/meilunzhi/Library/Logs/Homebrew/hhvm/CMakeCache.txt

These open issues may also help:
hhvm make fail due to missing mysql_get_ssl_session_reused / mysql_get_file_descriptor https://github.com/hhvm/homebrew-hhvm/issues/29
jwatzman commented 8 years ago

This is the same issue as https://github.com/facebook/hhvm/issues/7021. clang is crashing; you'll need to report it to the clang developers.