You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "neildhickey (via GitHub)" <gi...@apache.org> on 2023/01/25 08:51:19 UTC

[GitHub] [tvm] neildhickey commented on pull request #13823: [Docker] Add script to build llvm from source

neildhickey commented on PR #13823:
URL: https://github.com/apache/tvm/pull/13823#issuecomment-1403274542

   @mehrdadh Newer versions of gcc and clang introduce an option to outline atomic calls which means it will look for these atomic functions calls in glibc. The atomic calls are of the form __aarch64_ldadd4_acq_rel and others.
   
   With the version of gcc and glibc we use to build tvm, these functions aren't available, and the build fails when trying to build against prebuilt libraries which use these options. 
   
   The released llvm packages for llvm-15 are built with these options enabled, so a workaround is to build llvm from source using the same version of the compiler we use to build tvm, those alleviating the of the undefined function references.


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