You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/04/24 02:15:26 UTC
[GitHub] [tvm] mherkazandjian opened a new issue #7916: libbacktrace does not inherit the CMAKE_C_COMPILER and CMAKE_CXX_COMPILER values of the top level project
mherkazandjian opened a new issue #7916:
URL: https://github.com/apache/tvm/issues/7916
This issue is a followup of the discussion in the following thread:
https://discuss.tvm.apache.org/t/cross-compile-the-runtime-only-for-aarch64/9800
basically (just to minimize duplication of the forum discussion)
when cross compiling the runtime only on a x86 host, libbacktrace is causing a link-time issue
````bash
mkdir build
cd build
cp ../cmake/config.cmake .
cmake ..
-DCMAKE_SYSTEM_NAME=Linux
-DCMAKE_SYSTEM_VERSION=1
-DCMAKE_C_COMPILER=/usr/bin/aarch64-linux-gnu-gcc-8
-DCMAKE_CXX_COMPILER=/usr/bin/aarch64-linux-gnu-g+±8
-DCMAKE_FIND_ROOT_PATH=/usr/aarch64-linux-gnu
-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER
-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY
````
The cleanest current solution (i think) is to turn off using libbacktrace
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] junrushao1994 commented on issue #7916: libbacktrace does not inherit the CMAKE_C_COMPILER and CMAKE_CXX_COMPILER values of the top level project
Posted by GitBox <gi...@apache.org>.
junrushao1994 commented on issue #7916:
URL: https://github.com/apache/tvm/issues/7916#issuecomment-826128529
A related issue: #7705
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] junrushao1994 commented on issue #7916: libbacktrace does not inherit the CMAKE_C_COMPILER and CMAKE_CXX_COMPILER values of the top level project
Posted by GitBox <gi...@apache.org>.
junrushao1994 commented on issue #7916:
URL: https://github.com/apache/tvm/issues/7916#issuecomment-826128529
A related issue: #7705
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] tqchen closed issue #7916: libbacktrace does not inherit the CMAKE_C_COMPILER and CMAKE_CXX_COMPILER values of the top level project
Posted by GitBox <gi...@apache.org>.
tqchen closed issue #7916:
URL: https://github.com/apache/tvm/issues/7916
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org