yizhihenpidehou commented on issue #17209:
URL: https://github.com/apache/tvm/issues/17209#issuecomment-2260730491
1.
root@ubuntu:/opt/SparseMatrixAnalysis/tvm# make VERBOSE=1
Re-run cmake no build system arguments
-- Forbidding undefined symbols in shared library, using -Wl,--no-undefined
on platform Linux
-- Build with RPC support...
-- Build with Graph Executor support...
-- Build with profiler...
-- Build with AOT Executor support...
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR
GTEST_MAIN_LIBRARY)
-- Build Alloc alignment set to 64
-- Didn't find the path to CCACHE, disabling ccache
-- VTA build with VTA_HW_PATH=/opt/SparseMatrixAnalysis/tvm/3rdparty/vta-hw
-- Build VTA runtime with target: sim
-- Build with contrib.random
-- Build with contrib.sort
-- Build with contrib.hybriddump
-- Git found: /usr/bin/git
-- Found TVM_GIT_COMMIT_HASH=4330c110550242571da017a1b15ae0b765723ae8
-- Found TVM_GIT_COMMIT_TIME=2024-07-28 10:02:22 +0530
-- Could NOT find LIBBACKTRACE (missing: LIBBACKTRACE_STATIC_LIBRARY
LIBBACKTRACE_INCLUDE_DIR)
-- Building libbacktrace from 3rdparty/libbacktrace
-- Building with TVM Map...
-- Build with thread support...
-- Added "-fuse-ld=lld" to linker flags
-- Build without FlashInfer
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/SparseMatrixAnalysis/tvm/build
make[1]: Entering directory '/opt/SparseMatrixAnalysis/tvm/build'
/opt/cmake-3.18.0/bin/cmake -P
/opt/SparseMatrixAnalysis/tvm/build/CMakeFiles/VerifyGlobs.cmake
/opt/cmake-3.18.0/bin/cmake -S/opt/SparseMatrixAnalysis/tvm
-B/opt/SparseMatrixAnalysis/tvm/build --check-build-system
CMakeFiles/Makefile.cmake 0
/opt/cmake-3.18.0/bin/cmake -E cmake_progress_start
/opt/SparseMatrixAnalysis/tvm/build/CMakeFiles
/opt/SparseMatrixAnalysis/tvm/build//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/opt/SparseMatrixAnalysis/tvm/build'
make -f CMakeFiles/project_libbacktrace.dir/build.make
CMakeFiles/project_libbacktrace.dir/depend
make[3]: Entering directory '/opt/SparseMatrixAnalysis/tvm/build'
cd /opt/SparseMatrixAnalysis/tvm/build && /opt/cmake-3.18.0/bin/cmake -E
cmake_depends "Unix Makefiles" /opt/SparseMatrixAnalysis/tvm
/opt/SparseMatrixAnalysis/tvm /opt/SparseMatrixAnalysis/tvm/build
/opt/SparseMatrixAnalysis/tvm/build
/opt/SparseMatrixAnalysis/tvm/build/CMakeFiles/project_libbacktrace.dir/DependInfo.cmake
--color=
make[3]: Leaving directory '/opt/SparseMatrixAnalysis/tvm/build'
make -f CMakeFiles/project_libbacktrace.dir/build.make
CMakeFiles/project_libbacktrace.dir/build
make[3]: Entering directory '/opt/SparseMatrixAnalysis/tvm/build'
make[3]: Nothing to be done for 'CMakeFiles/project_libbacktrace.dir/build'.
make[3]: Leaving directory '/opt/SparseMatrixAnalysis/tvm/build'
[ 1%] Built target project_libbacktrace
make -f CMakeFiles/tvm_runtime_objs.dir/build.make
CMakeFiles/tvm_runtime_objs.dir/depend
make[3]: Entering directory '/opt/SparseMatrixAnalysis/tvm/build'
cd /opt/SparseMatrixAnalysis/tvm/build && /opt/cmake-3.18.0/bin/cmake -E
cmake_depends "Unix Makefiles" /opt/SparseMatrixAnalysis/tvm
/opt/SparseMatrixAnalysis/tvm /opt/SparseMatrixAnalysis/tvm/build
/opt/SparseMatrixAnalysis/tvm/build
/opt/SparseMatrixAnalysis/tvm/build/CMakeFiles/tvm_runtime_objs.dir/DependInfo.cmake
--color=
make[3]: Leaving directory '/opt/SparseMatrixAnalysis/tvm/build'
make -f CMakeFiles/tvm_runtime_objs.dir/build.make
CMakeFiles/tvm_runtime_objs.dir/build
make[3]: Entering directory '/opt/SparseMatrixAnalysis/tvm/build'
[ 1%] Building CXX object
CMakeFiles/tvm_runtime_objs.dir/src/runtime/c_runtime_api.cc.o
/usr/bin/c++ -DDMLC_USE_FOPEN64=0
-DDMLC_USE_LOGGING_LIBRARY="<tvm/runtime/logging.h>" -DNDEBUG -DNDEBUG=1
-DTVM_INDEX_DEFAULT_I64=1 -DTVM_KALLOC_ALIGNMENT=64
-DTVM_THREADPOOL_USE_OPENMP=0 -DTVM_USE_LIBBACKTRACE=1 -DUSE_FALLBACK_STL_MAP=0
-I/opt/SparseMatrixAnalysis/tvm/include
-I/opt/SparseMatrixAnalysis/tvm/build/libbacktrace/include
-I/opt/SparseMatrixAnalysis/tvm/3rdparty/libcrc/include -isystem
/opt/SparseMatrixAnalysis/tvm/3rdparty/dlpack/include -isystem
/opt/SparseMatrixAnalysis/tvm/3rdparty/dmlc-core/include -isystem
/opt/SparseMatrixAnalysis/tvm/3rdparty/rang/include -isystem
/opt/SparseMatrixAnalysis/tvm/3rdparty/compiler-rt -isystem
/opt/SparseMatrixAnalysis/tvm/3rdparty/picojson -std=c++17 -O2 -Wall -fPIC -o
CMakeFiles/tvm_runtime_objs.dir/src/runtime/c_runtime_api.cc.o -c
/opt/SparseMatrixAnalysis/tvm/src/runtime/c_runtime_api.cc
In file included from
/opt/SparseMatrixAnalysis/tvm/include/tvm/runtime/ndarray.h:30:0,
from
/opt/SparseMatrixAnalysis/tvm/include/tvm/runtime/device_api.h:28,
from
/opt/SparseMatrixAnalysis/tvm/src/runtime/c_runtime_api.cc:27:
/opt/SparseMatrixAnalysis/tvm/include/tvm/runtime/container/string.h:40:23:
fatal error: string_view: No such file or directory
compilation terminated.
CMakeFiles/tvm_runtime_objs.dir/build.make:94: recipe for target
'CMakeFiles/tvm_runtime_objs.dir/src/runtime/c_runtime_api.cc.o' failed
make[3]: ***
[CMakeFiles/tvm_runtime_objs.dir/src/runtime/c_runtime_api.cc.o] Error 1
make[3]: Leaving directory '/opt/SparseMatrixAnalysis/tvm/build'
CMakeFiles/Makefile2:135: recipe for target
'CMakeFiles/tvm_runtime_objs.dir/all' failed
make[2]: *** [CMakeFiles/tvm_runtime_objs.dir/all] Error 2
make[2]: Leaving directory '/opt/SparseMatrixAnalysis/tvm/build'
Makefile:148: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/opt/SparseMatrixAnalysis/tvm/build'
Makefile:87: recipe for target '/opt/SparseMatrixAnalysis/tvm/build/all'
failed
make: *** [/opt/SparseMatrixAnalysis/tvm/build/all] Error 2
2. /usr/local/bin/g++
3. sing built-in specs.
COLLECT_GCC=g++
Target: x86_64-pc-linux-gnu
Configured with: ../configure --enable-bootstrap --enable-shared
--enable-threads=posix --enable-checking=release --with-system-zlib
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu
--enable-languages=c,c++,go,lto --enable-plugin --enable-initfini-array
--disable-libgcj --enable-gnu-indirect-function --with-tune=generic
--disable-multilib
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.2.0 (GCC)
COLLECT_GCC_OPTIONS='-std=c++17' '-E' '-v' '-shared-libgcc' '-mtune=generic'
'-march=x86-64'
/usr/local/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/cc1plus -E -quiet -v
-imultiarch x86_64-linux-gnu -D_GNU_SOURCE - -mtune=generic -march=x86-64
-std=c++17
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory
"/usr/local/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0
/usr/local/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/x86_64-pc-linux-gnu
/usr/local/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/backward
/usr/local/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include
/usr/local/include
/usr/local/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "<stdin>"
COMPILER_PATH=/usr/local/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/local/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/local/libexec/gcc/x86_64-pc-linux-gnu/:/usr/local/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/local/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/local/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/local/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/:/lib/x86_64-linux-gnu/:/lib/../lib64/:/usr/lib/x86_64-linux-gnu/:/usr/local/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-std=c++17' '-E' '-v' '-shared-libgcc' '-mtune=generic'
'-march=x86-64'
4.libstdc++.so.6 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
5. > echo LD_LIBRARY_PATH=$LD_LIBRARY_PAT
LD_LIBRARY_PATH=
The LD_LIBRARY_PATH display nothing in the cmd
--
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]