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 2022/09/09 07:57:53 UTC
[GitHub] [tvm] linyv opened a new issue, #12746: [Bug] problem about building hexagon_launcher
linyv opened a new issue, #12746:
URL: https://github.com/apache/tvm/issues/12746
Thanks for participating in the TVM community! We use https://discuss.tvm.ai for any general usage questions and discussions. The issue tracker is used for actionable items such as feature proposals discussion, roadmaps, and bug tracking. You are always welcomed to post on the forum first :smile_cat:
Issues that are inactive for a period of time may get closed. We adopt this policy so that we won't lose track of actionable issues that may fall at the bottom of the pile. Feel free to reopen a new one if you feel there is an additional problem that needs attention when an old one gets closed.
### Expected behavior
build hexagon_launcher
### Actual behavior
In file included from /media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.cc:20:
In file included from /media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.h:25:
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma_instructions.h:29:16: error: invalid instruction
asm volatile(" %0 = dmpause" : "=r"(dm0));
^
<inline asm>:1:3: note: instantiated into assembly here
r2 = dmpause
^
In file included from /media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.cc:20:
In file included from /media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.h:25:
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma_instructions.h:33:48: error: invalid instruction
inline void dmstart(void* next) { asm volatile(" dmstart(%0)" : : "r"(next)); }
^
<inline asm>:1:3: note: instantiated into assembly here
dmstart(r2)
^
In file included from /media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.cc:20:
In file included from /media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.h:25:
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma_instructions.h:36:16: error: invalid instruction
asm volatile(" dmlink(%0, %1)" : : "r"(tail), "r"(next));
^
<inline asm>:1:3: note: instantiated into assembly here
dmlink(r3, r2)
^
In file included from /media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.cc:20:
In file included from /media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.h:25:
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma_instructions.h:41:16: error: invalid instruction
asm volatile(" %0 = dmpoll" : "=r"(dm0));
^
<inline asm>:1:3: note: instantiated into assembly here
r2 = dmpoll
^
In file included from /media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.cc:20:
In file included from /media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.h:25:
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma_instructions.h:41:16: error: invalid instruction
asm volatile(" %0 = dmpoll" : "=r"(dm0));
^
<inline asm>:1:3: note: instantiated into assembly here
r2 = dmpoll
^
In file included from /media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.cc:20:
In file included from /media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma.h:25:
/media/psf/Home/workspace/open-codes/tvm/src/runtime/hexagon/hexagon_user_dma_instructions.h:41:16: error: invalid instruction
asm volatile(" %0 = dmpoll" : "=r"(dm0));
^
<inline asm>:1:3: note: instantiated into assembly here
r2 = dmpoll
### Environment
TVM: mian branch
OS: ubuntu 18.04
Clang: 11.0.0
Hexagon_sdk: 4.5.0.3
### Steps to reproduce
Preferably a minimal script to cause the issue to occur.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] masahi closed issue #12746: [Bug] problem about building hexagon_launcher
Posted by GitBox <gi...@apache.org>.
masahi closed issue #12746: [Bug] problem about building hexagon_launcher
URL: https://github.com/apache/tvm/issues/12746
--
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.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] qam1314 commented on issue #12746: [Bug] problem about building hexagon_launcher
Posted by GitBox <gi...@apache.org>.
qam1314 commented on issue #12746:
URL: https://github.com/apache/tvm/issues/12746#issuecomment-1309867967
>
try to delete the space in "",like [asm volatile(" dmlink(%0, %1)" : : "r"(tail), "r"(next));] to [asm volatile("dmlink(%0, %1)" : : "r"(tail), "r"(next));]
--
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.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] linyv commented on issue #12746: [Bug] problem about building hexagon_launcher
Posted by GitBox <gi...@apache.org>.
linyv commented on issue #12746:
URL: https://github.com/apache/tvm/issues/12746#issuecomment-1246187468
@kparzysz-quic
--
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.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] linyv commented on issue #12746: [Bug] problem about building hexagon_launcher
Posted by GitBox <gi...@apache.org>.
linyv commented on issue #12746:
URL: https://github.com/apache/tvm/issues/12746#issuecomment-1246186615
And when building the hexagon_api, the problem is:
-- Looking for Hexagon toolchain in /local/mnt/workspace/Qualcomm/Hexagon_SDK/4.5.0.3
CMake Error at cmake/modules/HexagonSDK.cmake:184 (_get_hexagon_sdk_property_impl):
_get_hexagon_sdk_property_impl Function invoked with incorrect arguments
for function named: _get_hexagon_sdk_property_impl
Call Stack (most recent call first):
cmake/modules/Hexagon.cmake:140 (get_hexagon_sdk_property)
CMakeLists.txt:468 (include)
CMake Error at cmake/modules/HexagonSDK.cmake:184 (_get_hexagon_sdk_property_impl):
_get_hexagon_sdk_property_impl Function invoked with incorrect arguments
for function named: _get_hexagon_sdk_property_impl
Call Stack (most recent call first):
cmake/modules/Hexagon.cmake:140 (get_hexagon_sdk_property)
CMakeLists.txt:468 (include)
CMake Warning at cmake/modules/Hexagon.cmake:145 (message):
Could not locate some Hexagon SDK components
Call Stack (most recent call first):
CMakeLists.txt:468 (include)
-- Looking for Hexagon toolchain in /local/mnt/workspace/Qualcomm/Hexagon_SDK/4.5.0.3/tools/HEXAGON_Tools/8.5.08/Tools/
CMake Error at cmake/modules/HexagonSDK.cmake:184 (_get_hexagon_sdk_property_impl):
_get_hexagon_sdk_property_impl Function invoked with incorrect arguments
for function named: _get_hexagon_sdk_property_impl
Call Stack (most recent call first):
cmake/modules/Hexagon.cmake:179 (get_hexagon_sdk_property)
cmake/modules/Hexagon.cmake:225 (build_rpc_idl)
CMakeLists.txt:468 (include)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [tvm] masahi commented on issue #12746: [Bug] problem about building hexagon_launcher
Posted by GitBox <gi...@apache.org>.
masahi commented on issue #12746:
URL: https://github.com/apache/tvm/issues/12746#issuecomment-1342286328
You are probably using a wrong compiler. It is recommended to use the Hexagon docker image to avoid issues like this.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org