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
For github.com/facebook/flow, 1.99.19-beta has broken our build
opam install ocp-build.1.99.18-beta
make all-ocp // Works fine
opam install ocp-build.1.99.19-beta
make all-ocp // Fails
The linker is failing with this error
Undefined symbols for architecture x86_64:
"_LZ4_compressBound", referenced from:
_write_at in libmlhh-heap.a(hh_shared.o)
"_LZ4_compress_default", referenced from:
_write_at in libmlhh-heap.a(hh_shared.o)
"_LZ4_decompress_safe", referenced from:
_hh_get_and_deserialize in libmlhh-heap.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 "_none_", line 1:
Error: Error while building custom runtime system
The failing command for 1.99.19-beta looks like this
For github.com/facebook/flow, 1.99.19-beta has broken our build
The linker is failing with this error
The failing command for 1.99.19-beta looks like this
I think the key difference is that 1.99.19-beta is missing the
'-cclib' '-lmllz4'
which 1.99.18-beta has when I run it with--verbosity 4
The linking command that is failing looks like this for 1.99.18-beta
Our lz4 library is a c-only library, which is defined here: https://github.com/facebook/flow/blob/master/ocp_build_hack.ocp.fb#L23
The .ocp.fb files are basically just .ocp build but with file globbing support (when you run
make all-ocp
, it compiles the actual.ocp
files)The text was updated successfully, but these errors were encountered: