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 2021/04/01 03:53:49 UTC

[GitHub] [tvm] xiebaiyuan commented on issue #7705: build tvm failed with libbacktrace.a : ld: symbol(s) not found for architecture x86_64

xiebaiyuan commented on issue #7705:
URL: https://github.com/apache/tvm/issues/7705#issuecomment-811618605


   @tkonolige 
    build git:(fix_libbacktrace_macos) make -j1
   [  2%] Built target project_libbacktrace
   [ 13%] Built target tvm_runtime_objs
   [ 13%] Linking CXX shared library libtvm_runtime.dylib
   ld: warning: ignoring file libbacktrace/lib/libbacktrace.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
   Undefined symbols for architecture x86_64:
     "_backtrace_create_state", referenced from:
         __GLOBAL__sub_I_logging.cc in logging.cc.o
     "_backtrace_full", referenced from:
         tvm::runtime::Backtrace() in logging.cc.o
     "_backtrace_syminfo", referenced from:
         tvm::runtime::(anonymous namespace)::BacktraceFullCallback(void*, unsigned long, char const*, int, char const*) in logging.cc.o
   ld: symbol(s) not found for architecture x86_64
   clang: error: linker command failed with exit code 1 (use -v to see invocation)
   make[2]: *** [libtvm_runtime.dylib] Error 1
   make[1]: *** [CMakeFiles/tvm_runtime.dir/all] Error 2
   make: *** [all] Error 2


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