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.
Attempting to install via brew on a brand new macbook pro so environment is pretty clean. Installed homebrew and directly tried running this got something wrong with zstd's linking if I understand correctly? Not sure what's wrong or how to fix it though
Context and Logs
Sharing the most relevant part of the logs starting with the last line it ran before erroring out. Here is the full script output in paste form: Full script output: https://paste-bin.xyz/40735
All logs are attached in a zip as well.
dune build src/hh_server.exe src/hh_client.exe src/hh_single_type_check.exe src/hackfmt.exe src/hh_parse.exe src/generate_full_fidelity.exe src/hh_fanout/hh_fanout.exe
sh src/version/build_banner/build-id,src/version/build_banner/build-id.c,src/version/build_banner/generate-build-id.sh
Not under source control--trying to hash source files instead
ocamlopt src/hh_parse.exe (exit 2)
## (cd /tmp/hhvm-4.150-20220226-89470-1eziiau/hhvm-4.150.0/hphp/hack/_build/default & .... snipped for readibility ...
## src/.hh_parse.eobjs/native/dune__exe__Hh_parse.cmx -ccopt -lpthread -ccopt -Wl,-keep_dwarf_unwind)
Undefined symbols for architecture x86_64:
"_ZSTD_compress", referenced from:
_hh_serialize_raw in libheap_libc_stubs.a(hh_shared.o)
_write_at in libheap_libc_stubs.a(hh_shared.o)
"_ZSTD_compressBound", referenced from:
_hh_serialize_raw in libheap_libc_stubs.a(hh_shared.o)
_write_at in libheap_libc_stubs.a(hh_shared.o)
"_ZSTD_decompress", referenced from:
_hh_deserialize in libheap_libc_stubs.a(hh_shared.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
File "caml_startup", line 1:
Error: Error during linking (exit code 1)
make[4]: *** [build-hack] Error 1
make[3]: *** [hphp/hack/CMakeFiles/hack_dune] Error 2
make[2]: *** [hphp/hack/CMakeFiles/hack_dune.dir/all] Error 2
make[1]: *** [hphp/hack/CMakeFiles/hack.dir/rule] Error 2
make: *** [hack] Error 2
Parameter
Value
OS X Version:
Monterey 12.2
Homebrew Version:
3.3.16
Xcode Version:
N/A
Output of clang -v:
Apple clang version 13.0.0 (clang-1300.0.29.30)
Target: arm64-apple-darwin21.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Build logs:Link to public gist created with brew gist-logs hhvm hhvm-4.150.zip
The text was updated successfully, but these errors were encountered:
thelizzyld
changed the title
Install Build Errors on MacOSX12
Install Build Errors on MacOSX12 M1 chip
Mar 1, 2022
Tried running this on docker and got a segfault in hh_compiler_parse trying to build the basic hello world outlined on the website. Is this because M1 arm64 isn't supported?
Description
Attempting to install via brew on a brand new macbook pro so environment is pretty clean. Installed homebrew and directly tried running this got something wrong with zstd's linking if I understand correctly? Not sure what's wrong or how to fix it though
Context and Logs
Sharing the most relevant part of the logs starting with the last line it ran before erroring out. Here is the full script output in paste form: Full script output: https://paste-bin.xyz/40735
All logs are attached in a zip as well.
Output of clang -v:
Build logs: Link to public gist created with
brew gist-logs hhvm
hhvm-4.150.zip
The text was updated successfully, but these errors were encountered: