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/12/08 11:06:13 UTC

[GitHub] [tvm] Mousius commented on issue #13531: compile error for gcc 7 and 8

Mousius commented on issue #13531:
URL: https://github.com/apache/tvm/issues/13531#issuecomment-1342543884

   Hi @frankxyy,
   
   Our build system will try to find the best linker it can:
   https://github.com/apache/tvm/blob/main/cmake/utils/Linker.cmake
   
   On your system that seems to be `lld`, but the `g++` compiler can't seem to find it, to stop this behaviour you can add:
   ```
   -DUSE_ALTERNATIVE_LINKER=OFF
   ```
   to your `cmake` command, or add this to your `config.cmake`:
   ```
   set(USE_ALTERNATIVE_LINKER OFF)
   ```


-- 
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