Rust runtime test compile error


#1

I get the following error when trying to compile the rust runtime test on MacOS, e.g. “test_nnvm”:

error : linking with cc failed: exit code: 1

|

= note : “cc” “-m64” "-L

note: ld: archive has no table of contents file ‘/Users/tvm/rust/target/debug/build/test->nnvm-9c3f30561572dafc/out/libgraph.a’ for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This didn’t resolve the issue.
This might be related since I get the same error when running “build_test_graph.py”. But I couldn’t figure out how to fix it.

Any help to find a solution would be much appreciated.


Failed to compile rust bindings (tvm-common)
#2

@sepia sorry I can’t help on this one. I’m on windows so I can’t re-produce. @nhynes might know more.