This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by The Glorious Glasgow Haskell Compilation System configure 7.4.2, which was generated by GNU Autoconf 2.67. Invocation command line was $ ./configure --with-gcc=gcc -m32 --prefix=/home/saizan/ghc-7.4-32/ ## --------- ## ## Platform. ## ## --------- ## hostname = nephthys uname -m = x86_64 uname -r = 3.5.4-1-ARCH uname -s = Linux uname -v = #1 SMP PREEMPT Sat Sep 15 08:12:04 CEST 2012 /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: /home/saizan/ghc-7.4/bin/ PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/local/sbin PATH: /usr/sbin PATH: /sbin PATH: /usr/bin/core_perl PATH: /home/saizan/.cabal/bin/ PATH: /usr/local/mercury-11.01/bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2111: checking for path to top of build tree configure:2132: result: /home/saizan/ghc-7.4.2 configure:2587: checking for perl configure:2605: found /usr/bin/perl configure:2617: result: /usr/bin/perl configure:2630: checking if your perl works in shell scripts configure:2648: result: yes configure:2696: checking for a BSD-compatible install configure:2764: result: /usr/bin/install -c configure:2778: checking whether ln -s works configure:2782: result: yes configure:2794: checking for gsed configure:2825: result: sed configure:3057: checking for gcc configure:3084: result: gcc -m32 configure:3313: checking for C compiler version configure:3322: gcc -m32 --version >&5 gcc (GCC) 4.7.1 20120721 (prerelease) Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3333: $? = 0 configure:3322: gcc -m32 -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /build/src/gcc-4.7-20120721/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --disable-ppl-version-check --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-multilib --disable-libssp --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-checking=release Thread model: posix gcc version 4.7.1 20120721 (prerelease) (GCC) configure:3333: $? = 0 configure:3322: gcc -m32 -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3333: $? = 1 configure:3322: gcc -m32 -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3333: $? = 1 configure:3353: checking whether the C compiler works configure:3375: gcc -m32 conftest.c >&5 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.1/libgcc.a when searching for -lgcc /usr/bin/ld: cannot find -lgcc collect2: error: ld returned 1 exit status configure:3379: $? = 1 configure:3417: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System" | #define PACKAGE_TARNAME "ghc" | #define PACKAGE_VERSION "7.4.2" | #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 7.4.2" | #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3422: error: in `/home/saizan/ghc-7.4.2': configure:3424: error: C compiler cannot create executables See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CC_set= ac_cv_env_CC_value= 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_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_path_PerlCmd=/usr/bin/perl ac_cv_path_SedCmd=sed ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_ac_ct_CC='gcc -m32' fptools_cv_shebang_perl=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ArArgs='' ArCmd='' ArIsGNUAr='' BootingFromHc='NO' BuildArch_CPP='i386' BuildOS_CPP='linux' BuildPlatform='i386-unknown-linux' BuildPlatform_CPP='i386_unknown_linux' BuildVendor_CPP='unknown' CC='gcc -m32' CFLAGS='' CONF_CC_OPTS_STAGE0='' CONF_CC_OPTS_STAGE1='' CONF_CC_OPTS_STAGE2='' CONF_CPP_OPTS_STAGE0='' CONF_CPP_OPTS_STAGE1='' CONF_CPP_OPTS_STAGE2='' CONF_GCC_LINKER_OPTS_STAGE0='' CONF_GCC_LINKER_OPTS_STAGE1='' CONF_GCC_LINKER_OPTS_STAGE2='' CONF_LD_LINKER_OPTS_STAGE0='' CONF_LD_LINKER_OPTS_STAGE1='' CONF_LD_LINKER_OPTS_STAGE2='' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GMP_INCLUDE_DIRS='' GMP_LIB_DIRS='' GREP='' GccExtraViaCOpts='' GccLT34='' GccLT46='' GccVersion='' HaskellHaveGnuNonexecStack='' HaskellHaveSubsectionsViaSymbols='' HaskellTargetArch='' HaskellTargetOs='' HostArch_CPP='i386' HostOS_CPP='linux' HostPlatform='i386-unknown-linux' HostPlatform_CPP='i386_unknown_linux' HostVendor_CPP='unknown' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='' LIBOBJS='' LIBS='' LN_S='ln -s' LTLIBOBJS='' OBJEXT='' PACKAGE_BUGREPORT='glasgow-haskell-bugs@haskell.org' PACKAGE_NAME='The Glorious Glasgow Haskell Compilation System' PACKAGE_STRING='The Glorious Glasgow Haskell Compilation System 7.4.2' PACKAGE_TARNAME='ghc' PACKAGE_URL='' PACKAGE_VERSION='7.4.2' PATH_SEPARATOR=':' PerlCmd='/usr/bin/perl' RANLIB='' SHELL='/bin/sh' SedCmd='sed' SettingsArCommand='' SettingsCCompilerCommand='' SettingsCCompilerFlags='' SettingsDllWrapCommand='' SettingsPerlCommand='' SettingsTouchCommand='' SettingsWindresCommand='' TargetArch_CPP='i386' TargetOS_CPP='linux' TargetPlatform='i386-unknown-linux' TargetPlatform_CPP='i386_unknown_linux' TargetVendor_CPP='unknown' WhatGccIsCalled='gcc -m32' WordSize='' ac_ct_CC='gcc -m32' bindir='${exec_prefix}/bin' build_alias='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' exeext='' fp_prog_ar_raw='' hardtop='/home/saizan/ghc-7.4.2' host_alias='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/home/saizan/ghc-7.4-32' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' soext='.so' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System" #define PACKAGE_TARNAME "ghc" #define PACKAGE_VERSION "7.4.2" #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 7.4.2" #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org" #define PACKAGE_URL "" configure: exit 77