Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

Sierra installation fails with call__frame undefined #63

Closed
sarvex opened this issue Dec 13, 2016 · 2 comments
Closed

Sierra installation fails with call__frame undefined #63

sarvex opened this issue Dec 13, 2016 · 2 comments

Comments

@sarvex
Copy link

sarvex commented Dec 13, 2016

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

  • 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
    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....
Parameter Value
OS X Version: 10.12.1
Homebrew Version: 1.1.2
Xcode Version: 8.1

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

@xssworm
Copy link

xssworm commented Jan 7, 2017

3.15.4 is ok

@mofarrell
Copy link
Member

This should be fixed with the bump to 3.17.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants