You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.
Description
Unable to build on macOS Sierra 10.12.1 with ocaml__frame undefined
Context and Logs
ocamlc.opt -g -ccopt -I/tmp/hhvm-20161213-54150-1h63r3d/hhvm-3.15.3 -ccopt -I/usr/local/opt/libelf/include/libelf -ccopt -pthread -c heap/hh_shared.c
-- Looking for bind - found
-- Looking for crypt
[ 3%] Building CXX object third-party/re2/CMakeFiles/re2.dir/src/re2/dfa.cc.o
heap/hh_shared.c:489:3: error: use of undeclared identifier 'caml__frame'
CAMLlocal1(arg);
^
/usr/local/lib/ocaml/caml/memory.h:305:3: note: expanded from macro 'CAMLlocal1'
CAMLxparam1 (x)
^
/usr/local/lib/ocaml/caml/memory.h:224:12: note: expanded from macro 'CAMLxparam1'
(void) caml__frame,
^
1 error generated.
Command exited with code 2.
make[4]: *** [build-hack-native-deps] Error 10
make[3]: *** [_build/hh_server.native] Error 2
make[2]: *** [hphp/hack/CMakeFiles/hack] Error 2
make[1]: *** [hphp/hack/CMakeFiles/hack.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Output of clang -v:
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin16.1.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Build logs: https://gist.github.com/3fb07aa2ac0272b60c44b14700413d43
The text was updated successfully, but these errors were encountered: