Open mpeters2 opened 5 years ago
Buried in the output seems to be the core error: ld: library not found for -lgcc_s.10.4
.
Since you are building on macOS, you shouldn't be seeing any references to GCC: macOS has used Clang exclusively for years. I'm not sure what is going on here.
The output references Anaconda. It seems that Rust's build system is picking up the Clang on your PATH
which is provided by Anaconda? I would consider removing references to Anaconda from your PATH
and trying again.
In the long term, PyOxidizer will likely ship its own package containing Clang and other build dependencies so problems like this aren't as likely.
Shortened version of output:
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 configure, which was generated by GNU Autoconf 2.69. Invocation command line was
$ /Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/jemalloc/configure --disable-cxx --with-jemalloc-prefix=rjem --with-private-namespace=rjem --host=x86_64-apple-darwin --build=x86_64-apple-darwin --prefix=/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out
---------
Platform.
---------
hostname = MacBook-Pro-8.local uname -m = x86_64 uname -r = 18.7.0 uname -s = Darwin uname -v = Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/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 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 Kernel configured for up to 8 processors. 4 processors are physically available. 8 processors are logically available. Processor type: x86_64h (Intel x86-64h Haswell) Processors active: 0 1 2 3 4 5 6 7 Primary memory available: 16.00 gigabytes Default processor set: 656 tasks, 2730 threads, 8 processors Load average: 7.88, Mach factor: 1.44 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown
PATH: /Users/MattPetersonsAccount/.cargo/bin PATH: /Users/MattPetersonsAccount/.cargo/bin PATH: /anaconda3/bin PATH: /anaconda3/condabin PATH: /Library/Frameworks/Python.framework/Versions/3.7/bin PATH: /Library/Frameworks/Python.framework/Versions/3.7/bin PATH: /anaconda3/bin PATH: /Users/MattPetersonsAccount/anaconda3/bin PATH: /usr/local/lib PATH: /usr/local/bin PATH: /Applications/anaconda/bin PATH: /Users/MattPetersonsAccount/anaconda/bin PATH: /Library/Frameworks/Python.framework/Versions/2.7/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/sbin PATH: /sbin PATH: /opt PATH: /opt/gnu-mcu-eclipse/arm-none-eabi-gcc/7.2.1-1.1-20180401-0515/bin PATH: /opt/X11/bin PATH: /usr/local/gcc_arm/gcc-arm-none-eabi-7-2018-q2-update/bin
-----------
Core tests.
-----------
configure:3118: error: in
/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/build': configure:3120: error: C compiler cannot create executables See
config.log' for more details----------------
Cache variables.
----------------
ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=x86_64-apple-darwin13.4.0-clang ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=x86_64-apple-darwin13.4.0-clang++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-apple-darwin ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-apple-darwin ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_path_XSLTPROC=/anaconda3/bin/xsltproc ac_cv_prog_CC=x86_64-apple-darwin13.4.0-clang
-----------------
Output variables.
-----------------
AR='/anaconda3/bin/x86_64-apple-darwin13.4.0-ar' ARFLAGS='' AROUT='' AUTOCONF='' AWK='' BINDIR='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/bin' CC='x86_64-apple-darwin13.4.0-clang' CC_MM='' CFLAGS='-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe' CONFIG='--disable-cxx --with-jemalloc-prefix=rjem --with-private-namespace=rjem --host=x86_64-apple-darwin --build=x86_64-apple-darwin '\''--prefix=/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out'\'' build_alias=x86_64-apple-darwin host_alias=x86_64-apple-darwin CC=x86_64-apple-darwin13.4.0-clang '\''CFLAGS=-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe'\'' '\''LDFLAGS=-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe'\'' '\''CPPFLAGS=-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe'\'' CXX=x86_64-apple-darwin13.4.0-clang++ '\''CXXFLAGS=-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0'\''' CONFIGURE_CFLAGS='' CONFIGURE_CXXFLAGS='' CPP='' CPPFLAGS='-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe' CTARGET='' CXX='x86_64-apple-darwin13.4.0-clang++' CXXFLAGS='-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0' DATADIR='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/share' DEFS='' DSO_LDFLAGS='' DUMP_SYMS='' ECHO_C='\c' ECHO_N='' ECHO_T='' EGREP='' EXEEXT='' EXTRA_CFLAGS='' EXTRA_CXXFLAGS='' EXTRA_LDFLAGS='' GREP='' HAVE_CXX14='' INCLUDEDIR='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/include' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' JEMALLOC_CPREFIX='' JEMALLOC_PREFIX='' LD='/anaconda3/bin/x86_64-apple-darwin13.4.0-ld' LDFLAGS='-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe' LDTARGET='' LD_PRELOAD_VAR='' LIBDIR='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/lib' LIBOBJS='' LIBS='' LM='' LTLIBOBJS='' MANDIR='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/share/man' MKLIB='' NM='/anaconda3/bin/x86_64-apple-darwin13.4.0-nm' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PIC_CFLAGS='' PREFIX='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out' RANLIB='/anaconda3/bin/x86_64-apple-darwin13.4.0-ranlib' RPATH='' RPATH_EXTRA='' SHELL='/bin/sh' SOREV='' SPECIFIED_CFLAGS='-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe' SPECIFIED_CXXFLAGS='-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0' TEST_LD_MODE='' XSLROOT='' XSLTPROC='/anaconda3/bin/xsltproc' a='' abi='' abs_objroot='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/build/' abs_srcroot='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/jemalloc/' ac_ct_CC='' ac_ct_CXX='' bindir='${exec_prefix}/bin' build='x86_64-apple-darwin' build_alias='x86_64-apple-darwin' build_cpu='' build_os='' build_vendor='' cfghdrs_in='' cfghdrs_out='' cfgoutputs_in='' cfgoutputs_out='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' enable_autogen='' enable_cache_oblivious='' enable_cxx='no' enable_debug='' enable_fill='' enable_initial_exec_tls='' enable_lazy_lock='' enable_log='' enable_prof='' enable_stats='' enable_tls='' enable_utrace='' enable_xmalloc='' enable_zone_allocator='' exe='' exec_prefix='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out' host='x86_64-apple-darwin' host_alias='x86_64-apple-darwin' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' importlib='' includedir='${prefix}/include' infodir='${datarootdir}/info' installsuffix='' je='' jemalloc_version='' jemalloc_version_bugfix='' jemalloc_version_gid='' jemalloc_version_major='' jemalloc_version_minor='' jemalloc_version_nrev='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libprefix='' link_whole_archive='' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' o='' objroot='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out' private_namespace='' program_transform_name='s,x,x,' psdir='${docdir}' rev='2' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' so='' srcroot='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/jemalloc/' sysconfdir='${prefix}/etc' target_alias=''
-----------
confdefs.h.
-----------
/ confdefs.h /
define PACKAGE_NAME ""
define PACKAGE_TARNAME ""
define PACKAGE_VERSION ""
define PACKAGE_STRING ""
define PACKAGE_BUGREPORT ""
define PACKAGE_URL ""
configure: exit 77 `