junrushao commented on issue #307: URL: https://github.com/apache/tvm-ffi/issues/307#issuecomment-3608165101
Re-post [my response](https://github.com/tile-ai/tilelang/pull/1373#issuecomment-3608159427) in the other thread: > Looks like the missing `__cxa_call_terminate` is that tvm-ffi 0.1.4 has been compiled with gcc prior to 14: https://stackoverflow.com/questions/79815074/linking-fails-with-in-function-main-cold-undefined-reference-to-cxa-call > > This can be validated with the linux-arm wheel from: https://github.com/tile-ai/tilelang/actions/runs/19888262788?pr=1373 > > `python -c 'import tilelang'` works with `apache-tvm-ffi==0.1.0`, and failed with `apache-tvm-ffi==0.1.4` > > cc @junrushao Just to confirm - which wheel are you using btw? I checked tvm-ffi's manylinux_2_28 wheel, and it's indeed built with GCC >= 14 ``` -- The CXX compiler identification is GNU 14.2.1 -- The C compiler identification is GNU 14.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /opt/rh/gcc-toolset-14/root/usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /opt/rh/gcc-toolset-14/root/usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detected target triple: x86_64-redhat-linux -- Setting C++ macro TVM_FFI_USE_LIBBACKTRACE - 1 -- Setting C++ macro TVM_FFI_BACKTRACE_ON_SEGFAULT - 1 -- Building cython module.. -- Found Python: /tmp/build-env-vxg1ktop/bin/python (found version "3.14.0") found components: Interpreter Development.Module Development.SABIModule ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
