Created
January 15, 2013 09:39
-
-
Save suma/4537539 to your computer and use it in GitHub Desktop.
configure fails with clang 3.0: jubatus-mpio in Linux(CXX=clang++ CC=clang ./configure)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
$ ./configure | |
## --------- ## | |
## Platform. ## | |
## --------- ## | |
hostname = debian-sid-suma | |
uname -m = x86_64 | |
uname -r = 3.2.0-4-amd64 | |
uname -s = Linux | |
uname -v = #1 SMP Debian 3.2.35-2 | |
/usr/bin/uname -p = unknown | |
/bin/uname -X = unknown | |
/bin/arch = unknown | |
/usr/bin/arch -k = unknown | |
/usr/convex/getsysinfo = unknown | |
/usr/bin/hostinfo = unknown | |
/bin/machine = unknown | |
/usr/bin/oslevel = unknown | |
/bin/universe = unknown | |
PATH: /usr/local/bin | |
PATH: /usr/bin | |
PATH: /bin | |
PATH: /usr/local/games | |
PATH: /usr/games | |
PATH: /home/suma/.cabal/bin | |
## ----------- ## | |
## Core tests. ## | |
## ----------- ## | |
configure:2377: checking build system type | |
configure:2391: result: x86_64-unknown-linux-gnu | |
configure:2411: checking host system type | |
configure:2424: result: x86_64-unknown-linux-gnu | |
configure:2444: checking target system type | |
configure:2457: result: x86_64-unknown-linux-gnu | |
configure:2500: checking for a BSD-compatible install | |
configure:2568: result: /usr/bin/install -c | |
configure:2579: checking whether build environment is sane | |
configure:2629: result: yes | |
configure:2770: checking for a thread-safe mkdir -p | |
configure:2809: result: /bin/mkdir -p | |
configure:2822: checking for gawk | |
configure:2852: result: no | |
configure:2822: checking for mawk | |
configure:2838: found /usr/bin/mawk | |
configure:2849: result: mawk | |
configure:2860: checking whether make sets $(MAKE) | |
configure:2882: result: yes | |
configure:3021: checking for gcc | |
configure:3048: result: clang | |
configure:3277: checking for C compiler version | |
configure:3286: clang --version >&5 | |
Debian clang version 3.0-6 (tags/RELEASE_30/final) (based on LLVM 3.0) | |
Target: x86_64-pc-linux-gnu | |
Thread model: posix | |
configure:3297: $? = 0 | |
configure:3286: clang -v >&5 | |
Debian clang version 3.0-6 (tags/RELEASE_30/final) (based on LLVM 3.0) | |
Target: x86_64-pc-linux-gnu | |
Thread model: posix | |
configure:3297: $? = 0 | |
configure:3286: clang -V >&5 | |
clang: error: argument to '-V' is missing (expected 1 value) | |
clang: error: no input files | |
configure:3297: $? = 1 | |
configure:3286: clang -qversion >&5 | |
clang: error: no input files | |
configure:3297: $? = 1 | |
configure:3317: checking whether the C compiler works | |
configure:3339: clang -O4 -Wall conftest.c >&5 | |
/tmp/conftest-Fx0fuT.o: file not recognized: File format not recognized | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
configure:3343: $? = 1 | |
configure:3381: result: no | |
configure: failed program was: | |
| /* confdefs.h */ | |
| #define PACKAGE_NAME "" | |
| #define PACKAGE_TARNAME "" | |
| #define PACKAGE_VERSION "" | |
| #define PACKAGE_STRING "" | |
| #define PACKAGE_BUGREPORT "" | |
| #define PACKAGE_URL "" | |
| #define PACKAGE "jubatus_mpio" | |
| #define VERSION "0.4.0" | |
| /* end confdefs.h. */ | |
| | |
| int | |
| main () | |
| { | |
| | |
| ; | |
| return 0; | |
| } | |
configure:3386: error: in `/home/suma/repos/jubatus-mpio': | |
configure:3388: error: C compiler cannot create executables | |
See `config.log' for more details | |
## ---------------- ## | |
## Cache variables. ## | |
## ---------------- ## | |
ac_cv_build=x86_64-unknown-linux-gnu | |
ac_cv_env_CCASFLAGS_set= | |
ac_cv_env_CCASFLAGS_value= | |
ac_cv_env_CCAS_set= | |
ac_cv_env_CCAS_value= | |
ac_cv_env_CCC_set= | |
ac_cv_env_CCC_value= | |
ac_cv_env_CC_set=set | |
ac_cv_env_CC_value=clang | |
ac_cv_env_CFLAGS_set= | |
ac_cv_env_CFLAGS_value= | |
ac_cv_env_CPPFLAGS_set= | |
ac_cv_env_CPPFLAGS_value= | |
ac_cv_env_CPP_set= | |
ac_cv_env_CPP_value= | |
ac_cv_env_CXXCPP_set= | |
ac_cv_env_CXXCPP_value= | |
ac_cv_env_CXXFLAGS_set= | |
ac_cv_env_CXXFLAGS_value= | |
ac_cv_env_CXX_set=set | |
ac_cv_env_CXX_value=clang++ | |
ac_cv_env_LDFLAGS_set= | |
ac_cv_env_LDFLAGS_value= | |
ac_cv_env_LIBS_set= | |
ac_cv_env_LIBS_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-unknown-linux-gnu | |
ac_cv_path_install='/usr/bin/install -c' | |
ac_cv_path_mkdir=/bin/mkdir | |
ac_cv_prog_AWK=mawk | |
ac_cv_prog_ac_ct_CC=clang | |
ac_cv_prog_make_make_set=yes | |
ac_cv_target=x86_64-unknown-linux-gnu | |
## ----------------- ## | |
## Output variables. ## | |
## ----------------- ## | |
ACLOCAL='${SHELL} /home/suma/repos/jubatus-mpio/ac/missing --run aclocal-1.11' | |
AMDEPBACKSLASH='' | |
AMDEP_FALSE='' | |
AMDEP_TRUE='' | |
AMTAR='$${TAR-tar}' | |
AR='' | |
AUTOCONF='${SHELL} /home/suma/repos/jubatus-mpio/ac/missing --run autoconf' | |
AUTOHEADER='${SHELL} /home/suma/repos/jubatus-mpio/ac/missing --run autoheader' | |
AUTOMAKE='${SHELL} /home/suma/repos/jubatus-mpio/ac/missing --run automake-1.11' | |
AWK='mawk' | |
CC='clang' | |
CCAS='' | |
CCASDEPMODE='' | |
CCASFLAGS='' | |
CCDEPMODE='' | |
CFLAGS='-O4 -Wall ' | |
CPP='' | |
CPPFLAGS='' | |
CXX='clang++' | |
CXXCPP='' | |
CXXDEPMODE='' | |
CXXFLAGS='-O4 -Wall ' | |
CYGPATH_W='echo' | |
DEFS='' | |
DEPDIR='' | |
DLLTOOL='' | |
DSYMUTIL='' | |
DUMPBIN='' | |
ECHO_C='' | |
ECHO_N='-n' | |
ECHO_T='' | |
EGREP='' | |
EXEEXT='' | |
FGREP='' | |
GREP='' | |
INSTALL_DATA='${INSTALL} -m 644' | |
INSTALL_PROGRAM='${INSTALL}' | |
INSTALL_SCRIPT='${INSTALL}' | |
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' | |
LD='' | |
LDFLAGS='' | |
LIBOBJS='' | |
LIBS='' | |
LIBTOOL='' | |
LIPO='' | |
LN_S='' | |
LTLIBOBJS='' | |
MAKEINFO='${SHELL} /home/suma/repos/jubatus-mpio/ac/missing --run makeinfo' | |
MANIFEST_TOOL='' | |
MKDIR_P='/bin/mkdir -p' | |
NM='' | |
NMEDIT='' | |
OBJDUMP='' | |
OBJEXT='' | |
OTOOL64='' | |
OTOOL='' | |
PACKAGE='jubatus_mpio' | |
PACKAGE_BUGREPORT='' | |
PACKAGE_NAME='' | |
PACKAGE_STRING='' | |
PACKAGE_TARNAME='' | |
PACKAGE_URL='' | |
PACKAGE_VERSION='' | |
PATH_SEPARATOR=':' | |
RANLIB='' | |
SED='' | |
SET_MAKE='' | |
SHELL='/bin/bash' | |
STRIP='' | |
VERSION='0.4.0' | |
ac_ct_AR='' | |
ac_ct_CC='clang' | |
ac_ct_CXX='' | |
ac_ct_DUMPBIN='' | |
am__EXEEXT_FALSE='' | |
am__EXEEXT_TRUE='' | |
am__fastdepCCAS_FALSE='' | |
am__fastdepCCAS_TRUE='' | |
am__fastdepCC_FALSE='' | |
am__fastdepCC_TRUE='' | |
am__fastdepCXX_FALSE='' | |
am__fastdepCXX_TRUE='' | |
am__include='' | |
am__isrc='' | |
am__leading_dot='.' | |
am__nodep='' | |
am__quote='' | |
am__tar='$${TAR-tar} chof - "$$tardir"' | |
am__untar='$${TAR-tar} xf -' | |
bindir='${exec_prefix}/bin' | |
build='x86_64-unknown-linux-gnu' | |
build_alias='' | |
build_cpu='x86_64' | |
build_os='linux-gnu' | |
build_vendor='unknown' | |
datadir='${datarootdir}' | |
datarootdir='${prefix}/share' | |
docdir='${datarootdir}/doc/${PACKAGE}' | |
dvidir='${docdir}' | |
exec_prefix='NONE' | |
host='x86_64-unknown-linux-gnu' | |
host_alias='' | |
host_cpu='x86_64' | |
host_os='linux-gnu' | |
host_vendor='unknown' | |
htmldir='${docdir}' | |
includedir='${prefix}/include' | |
infodir='${datarootdir}/info' | |
install_sh='${SHELL} /home/suma/repos/jubatus-mpio/ac/install-sh' | |
libdir='${exec_prefix}/lib' | |
libexecdir='${exec_prefix}/libexec' | |
localedir='${datarootdir}/locale' | |
localstatedir='${prefix}/var' | |
mandir='${datarootdir}/man' | |
mkdir_p='/bin/mkdir -p' | |
oldincludedir='/usr/include' | |
pdfdir='${docdir}' | |
prefix='NONE' | |
program_transform_name='s,x,x,' | |
psdir='${docdir}' | |
sbindir='${exec_prefix}/sbin' | |
sharedstatedir='${prefix}/com' | |
sysconfdir='${prefix}/etc' | |
target='x86_64-unknown-linux-gnu' | |
target_alias='' | |
target_cpu='x86_64' | |
target_os='linux-gnu' | |
target_vendor='unknown' | |
## ----------- ## | |
## confdefs.h. ## | |
## ----------- ## | |
/* confdefs.h */ | |
#define PACKAGE_NAME "" | |
#define PACKAGE_TARNAME "" | |
#define PACKAGE_VERSION "" | |
#define PACKAGE_STRING "" | |
#define PACKAGE_BUGREPORT "" | |
#define PACKAGE_URL "" | |
#define PACKAGE "jubatus_mpio" | |
#define VERSION "0.4.0" | |
configure: exit 77 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% clang -O4 -Wall conftest.c -v | |
clang version 3.3 (trunk 170875) | |
Target: x86_64-unknown-linux-gnu | |
Thread model: posix | |
"/usr/local/bin/clang-3.3" -cc1 -triple x86_64-unknown-linux-gnu -emit-llvm-bc -disable-free -main-file-name conftest.c -mrelocation-model static -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -momit-leaf-frame-pointer -v -resource-dir /usr/local/bin/../lib/clang/3.3 -fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem /usr/local/include -internal-isystem /usr/local/bin/../lib/clang/3.3/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O3 -Wall -fdebug-compilation-dir /home/suma -ferror-limit 19 -fmessage-length 316 -mstackrealign -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops -o /tmp/conftest-I08Und.o -x c conftest.c | |
clang -cc1 version 3.3 based upon LLVM 3.3svn default target x86_64-unknown-linux-gnu | |
ignoring nonexistent directory "/include" | |
#include "..." search starts here: | |
#include <...> search starts here: | |
/usr/local/include | |
/usr/local/bin/../lib/clang/3.3/include | |
/usr/include/x86_64-linux-gnu | |
/usr/include | |
End of search list. | |
"/usr/bin/ld" --hash-style=both --build-id --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. -L/lib -L/usr/lib -plugin /usr/local/bin/../lib/LLVMgold.so /tmp/conftest-I08Und.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o | |
/usr/bin/ld: /usr/local/bin/../lib/LLVMgold.so: error loading plugin | |
/usr/bin/ld: /usr/local/bin/../lib/LLVMgold.so: error in plugin cleanup (ignored) | |
clang-3: error: linker command failed with exit code 1 (use -v to see invocation) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment