[Bug] Build failed with undefined references to 'std::__throw_bad_array_new_length()' follow
#17591
Labels
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
type: bug
Expected behavior
Build tvm-0.18.0 from source.
Actual behavior
Hi, I follow this document (https://tvm.apache.org/docs/install/from_source.html) to install tvm 0.18.0 from source.
Everything was fine until I ran the command:
cmake .. && cmake --build . --parallel $(nproc)
.Here is the error I encountered:
Then, I searched for solutions on Github. This solution (mlc-ai/mlc-llm#1683) worked.
The solution required me to execute
conda deactivate tvm-build-venv
to exit the conda environment with the build dependency.In the base environment, I was able to successfully build tvm without encountering the same error.
I do not understand the role of the created build environment in this, at least during the installation of tvm-0.18.0.
Does the document (https://tvm.apache.org/docs/install/from_source.html) need to be updated again? Or if there are some issues that need fixing.
Thank you for your time and reply.
Environment
Triage
Please refer to the list of label tags here to find the relevant tags and add them below in a bullet format (example below).
The text was updated successfully, but these errors were encountered: