You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by "Ubospica (via GitHub)" <gi...@apache.org> on 2026/06/17 04:27:06 UTC

[PR] [FIX][CI] Link GNU libstdc++ nonshared helpers into TVM DSOs [tvm]

Ubospica opened a new pull request, #19809:
URL: https://github.com/apache/tvm/pull/19809

   ## Summary
   - Link GCC's `libstdc++_nonshared.a` into Linux GNU TVM shared libraries when the archive is available.
   - Ensures C++20 libstdc++ helper symbols such as `std::string::_M_replace_cold` are carried by TVM DSOs instead of relying on a separately built `libtvm_ffi.so` or a newer runtime `libstdc++.so`.
   - Keeps the change scoped to Linux/GNU shared-library builds and leaves static runtime builds unchanged.
   
   ## Validation
   - Built `tvm_runtime` in `quay.io/pypa/manylinux_2_28_x86_64:2026.06.04-1` with GCC 14.2.1 and C++20.
   - Verified `nm -D libtvm_runtime.so | c++filt` no longer reports `_M_replace_cold` as a dynamic undefined symbol.
   - Verified `readelf --version-info libtvm_runtime.so` does not report `GLIBCXX_3.4.30`.


-- 
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: discuss-archive-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org


Re: [PR] [FIX][CI] Link GNU libstdc++ nonshared helpers into TVM DSOs [tvm]

Posted by "gemini-code-assist[bot] (via GitHub)" <gi...@apache.org>.
gemini-code-assist[bot] commented on PR #19809:
URL: https://github.com/apache/tvm/pull/19809#issuecomment-4725945941

   > [!WARNING]
   > You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!


-- 
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: discuss-archive-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org


Re: [PR] [FIX][CI] Link GNU libstdc++ nonshared helpers into TVM DSOs [tvm]

Posted by "tqchen (via GitHub)" <gi...@apache.org>.
tqchen closed pull request #19809: [FIX][CI] Link GNU libstdc++ nonshared helpers into TVM DSOs
URL: https://github.com/apache/tvm/pull/19809


-- 
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: discuss-archive-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org