xiebaiyuan commented on issue #7705: URL: https://github.com/apache/tvm/issues/7705#issuecomment-805570369
config.log ====> This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by package-unused configure version-unused, which was generated by GNU Autoconf 2.69. Invocation command line was $ /Users/xiebaiyuan/Downloads/incubator-tvm/cmake/libs/../../3rdparty/libbacktrace/configure --prefix=/Users/xiebaiyuan/Downloads/incubator-tvm/build/libbacktrace --with-pic CPP=/Library/Developer/CommandLineTools/usr/bin/cc -E CC=/Library/Developer/CommandLineTools/usr/bin/cc AR= RANLIB= NM=/Library/Developer/CommandLineTools/usr/bin/nm STRIP=/Library/Developer/CommandLineTools/usr/bin/strip CFLAGS=-O2 -Wall -fPIC CPPFLAGS=-O2 -Wall -fPIC LDFLAGS= ## --------- ## ## Platform. ## ## --------- ## hostname = xiebaiyuandeMBP uname -m = x86_64 uname -r = 20.3.0 uname -s = Darwin uname -v = Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 Kernel configured for up to 12 processors. 6 processors are physically available. 12 processors are logically available. Processor type: x86_64h (Intel x86-64h Haswell) Processors active: 0 1 2 3 4 5 6 7 8 9 10 11 Primary memory available: 32.00 gigabytes Default processor set: 740 tasks, 3346 threads, 12 processors Load average: 2.17, Mach factor: 9.82 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/opt/openjdk@8/bin PATH: /opt/anaconda3/bin PATH: /opt/anaconda3/condabin PATH: /Users/xiebaiyuan/android-ndk-r16b PATH: /Users/xiebaiyuan/.oh-my-zsh/custom/plugins/git-open PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/sbin PATH: /sbin PATH: /Library/Apple/usr/bin PATH: /Library/Frameworks/Mono.framework/Versions/Current/Commands PATH: /Users/xiebaiyuan/baidu/searchbox/mgit PATH: /Users/xiebaiyuan/Library/Android/sdk/tools PATH: /Users/xiebaiyuan/Library/Android/sdk/platform-tools PATH: /Users/xiebaiyuan/android-ndk-r16b PATH: /Library/Java/JavaVirtualMachines/openjdk-8.jdk/Contents/Home ## ----------- ## ## Core tests. ## ## ----------- ## configure:2379: checking build system type configure:2393: result: x86_64-apple-darwin20.3.0 configure:2413: checking host system type configure:2426: result: x86_64-apple-darwin20.3.0 configure:2446: checking target system type configure:2459: result: x86_64-apple-darwin20.3.0 configure:2539: checking for gcc configure:2566: result: /Library/Developer/CommandLineTools/usr/bin/cc configure:2795: checking for C compiler version configure:2804: /Library/Developer/CommandLineTools/usr/bin/cc --version >&5 Apple clang version 12.0.0 (clang-1200.0.32.29) Target: x86_64-apple-darwin20.3.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin configure:2815: $? = 0 configure:2804: /Library/Developer/CommandLineTools/usr/bin/cc -v >&5 Apple clang version 12.0.0 (clang-1200.0.32.29) Target: x86_64-apple-darwin20.3.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin configure:2815: $? = 0 configure:2804: /Library/Developer/CommandLineTools/usr/bin/cc -V >&5 clang: error: argument to '-V' is missing (expected 1 value) clang: error: no input files configure:2815: $? = 1 configure:2804: /Library/Developer/CommandLineTools/usr/bin/cc -qversion >&5 clang: error: unknown argument '-qversion'; did you mean '--version'? clang: error: no input files configure:2815: $? = 1 configure:2835: checking whether the C compiler works configure:2857: /Library/Developer/CommandLineTools/usr/bin/cc -O2 -Wall -fPIC -O2 -Wall -fPIC conftest.c >&5 ld: library not found for -lSystem clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:2861: $? = 1 configure:2899: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "package-unused" | #define PACKAGE_TARNAME "libbacktrace" | #define PACKAGE_VERSION "version-unused" | #define PACKAGE_STRING "package-unused version-unused" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2904: error: in `/Users/xiebaiyuan/Downloads/incubator-tvm/build/libbacktrace': configure:2906: error: C compiler cannot create executables See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-apple-darwin20.3.0 ac_cv_env_CC_set=set ac_cv_env_CC_value=/Library/Developer/CommandLineTools/usr/bin/cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -Wall -fPIC ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-O2 -Wall -fPIC ' ac_cv_env_CPP_set=set ac_cv_env_CPP_value='/Library/Developer/CommandLineTools/usr/bin/cc -E' ac_cv_env_DSYMUTIL_set= ac_cv_env_DSYMUTIL_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_NM_set=set ac_cv_env_NM_value=/Library/Developer/CommandLineTools/usr/bin/nm ac_cv_env_OBJCOPY_set= ac_cv_env_OBJCOPY_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=x86_64-apple-darwin20.3.0 ac_cv_prog_ac_ct_CC=/Library/Developer/CommandLineTools/usr/bin/cc ac_cv_target=x86_64-apple-darwin20.3.0 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='' ALLOC_FILE='' AMTAR='' AM_BACKSLASH='' AM_DEFAULT_V='' AM_DEFAULT_VERBOSITY='' AM_V='' AR='' AUTOCONF='' AUTOHEADER='' AUTOMAKE='' AWK='' BACKTRACE_FILE='' BACKTRACE_SUPPORTED='' BACKTRACE_SUPPORTS_DATA='' BACKTRACE_SUPPORTS_THREADS='' BACKTRACE_USES_MALLOC='' CC='/Library/Developer/CommandLineTools/usr/bin/cc' CFLAGS='-O2 -Wall -fPIC ' CLOCK_GETTIME_LINK='' COMM='' CPP='/Library/Developer/CommandLineTools/usr/bin/cc -E' CPPFLAGS='-O2 -Wall -fPIC ' CYGPATH_W='' DEFS='' DSYMUTIL='' DUMPBIN='' DWZ='' ECHO_C='\c' ECHO_N='' ECHO_T='' EGREP='' EXEEXT='' EXTRA_FLAGS='' FGREP='' FORMAT_FILE='' GREP='' HAVE_COMM_FALSE='' HAVE_COMM_TRUE='' HAVE_COMPRESSED_DEBUG_FALSE='' HAVE_COMPRESSED_DEBUG_TRUE='' HAVE_DWARF5_FALSE='' HAVE_DWARF5_TRUE='' HAVE_DWZ_FALSE='' HAVE_DWZ_TRUE='' HAVE_ELF_FALSE='' HAVE_ELF_TRUE='' HAVE_LIBLZMA_FALSE='' HAVE_LIBLZMA_TRUE='' HAVE_MINIDEBUG_FALSE='' HAVE_MINIDEBUG_TRUE='' HAVE_OBJCOPY_DEBUGLINK_FALSE='' HAVE_OBJCOPY_DEBUGLINK_TRUE='' HAVE_PTHREAD_FALSE='' HAVE_PTHREAD_TRUE='' HAVE_XZ_FALSE='' HAVE_XZ_TRUE='' HAVE_ZLIB_FALSE='' HAVE_ZLIB_TRUE='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' INSTALL_STRIP_PROGRAM='' LD='' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' MAINT='' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='' MAKEINFO='' MKDIR_P='' NATIVE_FALSE='' NATIVE_TRUE='' NM='/Library/Developer/CommandLineTools/usr/bin/nm' NMEDIT='' OBJCOPY='' OBJDUMP='' OBJEXT='' OTOOL64='' OTOOL='' PACKAGE='' PACKAGE_BUGREPORT='' PACKAGE_NAME='package-unused' PACKAGE_STRING='package-unused version-unused' PACKAGE_TARNAME='libbacktrace' PACKAGE_URL='' PACKAGE_VERSION='version-unused' PATH_SEPARATOR=':' PIC_FLAG='' PTHREAD_CFLAGS='' RANLIB='' READELF='' SED='' SET_MAKE='' SHELL='/bin/sh' STRIP='/Library/Developer/CommandLineTools/usr/bin/strip' USE_DSYMUTIL_FALSE='' USE_DSYMUTIL_TRUE='' VERSION='' VIEW_FILE='' WARN_FLAGS='' XZ='' ac_ct_CC='/Library/Developer/CommandLineTools/usr/bin/cc' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__isrc='' am__leading_dot='' am__tar='' am__untar='' bindir='${exec_prefix}/bin' build='x86_64-apple-darwin20.3.0' build_alias='' build_cpu='x86_64' build_os='darwin20.3.0' build_vendor='apple' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-apple-darwin20.3.0' host_alias='' host_cpu='x86_64' host_os='darwin20.3.0' host_vendor='apple' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libtool_VERSION='' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='' multi_basedir='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/Users/xiebaiyuan/Downloads/incubator-tvm/build/libbacktrace' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='x86_64-apple-darwin20.3.0' target_alias='' target_cpu='x86_64' target_os='darwin20.3.0' target_vendor='apple' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "package-unused" #define PACKAGE_TARNAME "libbacktrace" #define PACKAGE_VERSION "version-unused" #define PACKAGE_STRING "package-unused version-unused" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" configure: exit 77 -- 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: us...@infra.apache.org