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 2020/07/29 17:44:30 UTC

[GitHub] [incubator-tvm] ggardet opened a new issue #6169: Build fails on TVM 0.6.0/0.6.1 - error: template with C linkage

ggardet opened a new issue #6169:
URL: https://github.com/apache/incubator-tvm/issues/6169


   Build fails on TVM 0.6.0/0.6.1 with GCC10 and GCC7, with the following errors:
   ```
   [   15s] In file included from /usr/include/c++/10/string:40,
   [   15s]                  from /usr/include/dmlc/base.h:230,
   [   15s]                  from /usr/include/dmlc/endian.h:9,
   [   15s]                  from /usr/include/sys/types.h:176,
   [   15s]                  from /usr/include/stdlib.h:394,
   [   15s]                  from /usr/include/c++/10/cstdlib:75,
   [   15s]                  from /usr/include/dmlc/logging.h:11,
   [   15s]                  from /home/abuild/rpmbuild/BUILD/incubator-tvm-0.6.1/src/runtime/threading_backend.cc:25:
   [   15s] /usr/include/c++/10/bits/char_traits.h:220:3: error: template with C linkage
   [   15s]   220 |   template<typename _CharT>
   [   15s]       |   ^~~~~~~~
   [   15s] In file included from /usr/include/features.h:465,
   [   15s]                  from /usr/include/c++/10/aarch64-suse-linux/bits/os_defines.h:39,
   [   15s]                  from /usr/include/c++/10/aarch64-suse-linux/bits/c++config.h:518,
   [   15s]                  from /usr/include/c++/10/functional:48,
   [   15s]                  from /home/abuild/rpmbuild/BUILD/incubator-tvm-0.6.1/include/tvm/runtime/threading_backend.h:27,
   [   15s]                  from /home/abuild/rpmbuild/BUILD/incubator-tvm-0.6.1/src/runtime/threading_backend.cc:24:
   [   15s] /usr/include/sys/types.h:27:1: note: 'extern "C"' linkage started here
   [   15s]    27 | __BEGIN_DECLS
   [   15s]       | ^~~~~~~~~~~~~
   
   ```
   


----------------------------------------------------------------
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] [incubator-tvm] tqchen closed issue #6169: Build fails on TVM 0.6.0/0.6.1 - error: template with C linkage

Posted by GitBox <gi...@apache.org>.
tqchen closed issue #6169:
URL: https://github.com/apache/incubator-tvm/issues/6169


   


----------------------------------------------------------------
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] [incubator-tvm] tqchen edited a comment on issue #6169: Build fails on TVM 0.6.0/0.6.1 - error: template with C linkage

Posted by GitBox <gi...@apache.org>.
tqchen edited a comment on issue #6169:
URL: https://github.com/apache/incubator-tvm/issues/6169#issuecomment-665739457


   Please open a new thread on https://discuss.tvm.ai/ for build trouble shooting. 
   
   In your particular case, it seems to be a problem of the system header setup since it is part of the standard libs.


----------------------------------------------------------------
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] [incubator-tvm] tqchen commented on issue #6169: Build fails on TVM 0.6.0/0.6.1 - error: template with C linkage

Posted by GitBox <gi...@apache.org>.
tqchen commented on issue #6169:
URL: https://github.com/apache/incubator-tvm/issues/6169#issuecomment-665739457


   Please open a new thread on https://discuss.tvm.ai/ for build trouble shooting. In your particular case, it seems to be a prpblem of your c++ compiler setup  


----------------------------------------------------------------
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] [incubator-tvm] ggardet commented on issue #6169: Build fails on TVM 0.6.0/0.6.1 - error: template with C linkage

Posted by GitBox <gi...@apache.org>.
ggardet commented on issue #6169:
URL: https://github.com/apache/incubator-tvm/issues/6169#issuecomment-665742268


   Ok, reported at: https://discuss.tvm.ai/t/build-fails-on-tvm-0-6-0-0-6-1-with-gcc10-and-gcc7/7462


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