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 8.0.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-gcc=x86_64-pc-linux-gnu-gcc --with-system-libffi --with-ffi-includes=/usr/lib64/libffi-3.2.1/include --enable-bootstrap-with-devel-snapshot ## --------- ## ## Platform. ## ## --------- ## hostname = occam uname -m = x86_64 uname -r = 4.9.11-hardened-o1 uname -s = Linux uname -v = #44 SMP PREEMPT Sun Feb 26 19:26:15 CET 2017 /usr/bin/uname -p = Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz /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/lib/portage/python3.5/ebuild-helpers/xattr PATH: /usr/lib/portage/python3.5/ebuild-helpers PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /opt/bin PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/6.3.0 PATH: /usr/x86_64-pc-linux-gnu/aarch64-linux-gnu/gcc-bin/5.4.0 ## ----------- ## ## Core tests. ## ## ----------- ## configure:2553: loading site script /usr/share/config.site | #!/bin/sh | # Copyright 2009-2014 Gentoo Foundation | # Distributed under the terms of the GNU General Public License v2 | | TOPDIR=/usr/share/crossdev/include/site | | config_site_arch() { | local host="${CHOST%%-*}" | | case ${host} in | arm*b*) host=armeb ;; | arm*) host=arm ;; | mips*l*) host=mipsel ;; | mips*) host=mips ;; | esac | | echo "${host}" | } | | config_site_names() { | local site_arch="$(config_site_arch)" | local sites="" | local x | | case ${CHOST} in | *-linux-*) sites="${sites} linux ${site_arch}-linux" ;; | *-darwin*) sites="${sites} darwin ${site_arch}-darwin" ;; | esac | | case ${CHOST} in | *-linux-uclibc*) sites="${sites} linux-uclibc ${site_arch}-linux-uclibc" ;; | *-linux-gnu*) sites="${sites} linux-gnu ${site_arch}-linux-gnu" ;; | *-linux-musl*) sites="${sites} linux-musl ${site_arch}-linux-musl" ;; | esac | | case ${CHOST} in | *-linux-uclibceabi*) sites="${sites} linux-uclibceabi ${site_arch}-linux-uclibceabi" ;; | *-linux-gnueabi*) sites="${sites} linux-gnueabi ${site_arch}-linux-gnueabi" ;; | esac | | for x in ${sites} ${CHOST}; do | [ -e "${TOPDIR}/${x}" ] && echo "${TOPDIR}/${x}" | done | } | | # Only kick in for cross-compiles so we don't break native builds #427184 | if [ "${CBUILD:-${CHOST}}" != "${CHOST}" ] ; then | sites="$(config_site_names)" | if [ -n "${sites}" ] ; then | for site in ${sites}; do | echo "${0##*/}: loading site script ${site}" | . "${site}" | done | fi | unset site sites | fi configure:2674: checking for gfind configure:2707: result: no configure:2674: checking for find configure:2692: found /usr/bin/find configure:2704: result: /usr/bin/find configure:2784: checking for sort configure:2802: found /usr/bin/sort configure:2814: result: /usr/bin/sort configure:2917: checking for GHC Git commit id configure:2929: result: given 8c7250379d0d2bad1d07dfd556812ff7aa2c42e8 configure:3023: checking for ghc configure:3041: found /usr/bin/ghc configure:3053: result: /usr/bin/ghc configure:3086: checking version of ghc The Glorious Glasgow Haskell Compilation System, version 7.10.3 configure:3115: result: 7.10.3 configure:3370: checking build system type configure:3384: result: x86_64-pc-linux-gnu configure:3404: checking host system type configure:3417: result: x86_64-pc-linux-gnu configure:3437: checking target system type configure:3450: result: x86_64-pc-linux-gnu configure:4248: Building in-tree ghc-pwd configure:4255: error: Building ghc-pwd failed ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-march=corei7-avx -pipe -Og -g -gdwarf-4 -march=corei7-avx -march=corei7-avx -g -gdwarf-4' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu' 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-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-pc-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=x86_64-pc-linux-gnu ac_cv_host=x86_64-pc-linux-gnu ac_cv_path_GHC=/usr/bin/ghc ac_cv_path_fp_prog_find=/usr/bin/find ac_cv_path_fp_prog_sort=/usr/bin/sort ac_cv_target=x86_64-pc-linux-gnu ## ----------------- ## ## Output variables. ## ## ----------------- ## ALLOCA='' AR='gcc-ar' ARM_ISA='' AR_OPTS_STAGE0='q' AR_STAGE0='/usr/bin/x86_64-pc-linux-gnu-ar' Alex3='' AlexCmd='' AlexVersion='' ArArgs='' ArCmd='' ArIsGNUAr='' ArSupportsAtFile='' ArSupportsAtFile_STAGE0='YES' BUILD_MAN='' BUILD_SPHINX_HTML='' BUILD_SPHINX_PDF='' BootstrapLlcCmd='' BootstrapOptCmd='' BuildArch_CPP='x86_64' BuildOS_CPP='linux' BuildPlatform='x86_64-unknown-linux' BuildPlatform_CPP='x86_64_unknown_linux' BuildVendor_CPP='unknown' CC='' CC_CLANG_BACKEND='' CC_LLVM_BACKEND='' CC_STAGE0='x86_64-pc-linux-gnu-gcc' CFLAGS='-march=corei7-avx -pipe -Og -g -gdwarf-4 -march=corei7-avx -march=corei7-avx -g -gdwarf-4' CMM_SINK_BOOTSTRAP_IS_NEEDED='YES' CONFIGURE_ARGS=' '\''--prefix=/usr'\'' '\''--build=x86_64-pc-linux-gnu'\'' '\''--host=x86_64-pc-linux-gnu'\'' '\''--target=x86_64-pc-linux-gnu'\'' '\''--mandir=/usr/share/man'\'' '\''--infodir=/usr/share/info'\'' '\''--datadir=/usr/share'\'' '\''--sysconfdir=/etc'\'' '\''--localstatedir=/var/lib'\'' '\''--libdir=/usr/lib64'\'' '\''--with-gcc=x86_64-pc-linux-gnu-gcc'\'' '\''--with-system-libffi'\'' '\''--with-ffi-includes=/usr/lib64/libffi-3.2.1/include'\'' '\''--enable-bootstrap-with-devel-snapshot'\'' '\''build_alias=x86_64-pc-linux-gnu'\'' '\''host_alias=x86_64-pc-linux-gnu'\'' '\''target_alias=x86_64-pc-linux-gnu'\'' '\''CFLAGS=-march=corei7-avx -pipe -Og -g -gdwarf-4 -march=corei7-avx -march=corei7-avx -g -gdwarf-4'\'' '\''LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu'\'' '\''CPPFLAGS='\''' 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_HC_OPTS_STAGE0='' CONF_HC_OPTS_STAGE1='' CONF_HC_OPTS_STAGE2='' CONF_LD_LINKER_OPTS_STAGE0='' CONF_LD_LINKER_OPTS_STAGE1='' CONF_LD_LINKER_OPTS_STAGE2='' CPP='' CPPFLAGS='' CURSES_INCLUDE_DIRS='' CURSES_LIB_DIRS='' ContextDiffCmd='' CrossCompilePrefix='' CrossCompiling='' DEFS='' DtraceCmd='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FFIIncludeDir='' FFILibDir='' FindCmd='/usr/bin/find' GHC='/usr/bin/ghc' GHC_LLVM_AFFECTED_BY_9439='' GHC_PACKAGE_DB_FLAG='package-db' GMP_INCLUDE_DIRS='' GMP_LIB_DIRS='' GREP='' GccExtraViaCOpts='' GccIsClang='' GccLT34='' GccLT46='' GccVersion='' GhcLibsWithUnix='' GhcMajVersion='7' GhcMinVersion='10' GhcPatchLevel='3' GhcPkgCmd='' GhcVersion='7.10.3' HSCOLOUR='' HappyCmd='' HappyVersion='' HaskellCPPArgs='' HaskellCPPCmd='' HaskellHaveGnuNonexecStack='' HaskellHaveIdentDirective='' HaskellHaveSubsectionsViaSymbols='' HaskellTargetArch='' HaskellTargetOs='' HaveDtrace='' HaveLibMingwEx='' HaveLibdw='' HostArch_CPP='x86_64' HostOS_CPP='linux' HostPlatform='x86_64-unknown-linux' HostPlatform_CPP='x86_64_unknown_linux' HostVendor_CPP='unknown' ICONV_INCLUDE_DIRS='' ICONV_LIB_DIRS='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LD='' LDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu' LD_GOLD='' LD_STAGE0='/usr/bin/x86_64-pc-linux-gnu-ld' LIBOBJS='' LIBRARY_Cabal_VERSION='' LIBRARY_base_VERSION='' LIBRARY_ghc_VERSION='' LIBRARY_ghc_prim_VERSION='' LIBS='' LLC='' LN_S='' LTLIBOBJS='' LdCmd='' LdHasBuildId='' LdHasFilelist='' LdHasNoCompactUnwind='' LdIsGNULd='' LeadingUnderscore='' LlcCmd='' LlvmVersion='' MakeCmd='' NM='gcc-nm' NmCmd='' OBJDUMP='' OBJEXT='' OPT='' OSTYPE='linux-gnu' ObjdumpCmd='' OptCmd='' PACKAGE_BUGREPORT='glasgow-haskell-bugs@haskell.org' PACKAGE_NAME='The Glorious Glasgow Haskell Compilation System' PACKAGE_STRING='The Glorious Glasgow Haskell Compilation System 8.0.2' PACKAGE_TARNAME='ghc-8.0.2' PACKAGE_URL='' PACKAGE_VERSION='8.0.2' PATH_SEPARATOR=':' PatchCmd='' PerlCmd='' ProjectGitCommitId='8c7250379d0d2bad1d07dfd556812ff7aa2c42e8' ProjectName='The Glorious Glasgow Haskell Compilation System' ProjectPatchLevel1='2' ProjectPatchLevel2='' ProjectPatchLevel='2' ProjectVersion='8.0.2' ProjectVersionInt='800' ProjectVersionMunged='8.0.2' RANLIB='gcc-ranlib' RANLIB_CMD='' REAL_RANLIB_CMD='' SHELL='/bin/sh' SOLARIS_BROKEN_SHLD='NO' SPHINXBUILD='' SUPPORTS_COMPONENT_ID='YES' SUPPORTS_THIS_UNIT_ID='NO' SedCmd='' SettingsArCommand='' SettingsCCompilerCommand='' SettingsCCompilerFlags='' SettingsCCompilerLinkFlags='' SettingsCCompilerSupportsNoPie='' SettingsDllWrapCommand='' SettingsHaskellCPPCommand='' SettingsHaskellCPPFlags='' SettingsLdCommand='' SettingsLdFlags='' SettingsLibtoolCommand='' SettingsLlcCommand='' SettingsOptCommand='' SettingsPerlCommand='' SettingsTouchCommand='' SettingsWindresCommand='' SortCmd='/usr/bin/sort' SplitObjsBroken='' TarCmd='' TargetArch_CPP='x86_64' TargetOS_CPP='linux' TargetPlatform='x86_64-unknown-linux' TargetPlatformFull='' TargetPlatform_CPP='x86_64_unknown_linux' TargetVendor_CPP='unknown' TimeCmd='' Unregisterised='NO' UseSystemLibFFI='' WhatGccIsCalled='' WithGhc='/usr/bin/ghc' WithHc='/usr/bin/ghc' WordSize='' XELATEX='' ac_ct_CC='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='/usr/share' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' exeext_host='' exeext_target='' fp_prog_ar='' fp_prog_find='/usr/bin/find' fp_prog_sort='/usr/bin/sort' hardtop='' host='x86_64-pc-linux-gnu' host_alias='x86_64-pc-linux-gnu' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='/usr/share/info' libdir='/usr/lib64' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var/lib' mandir='/usr/share/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' release='1' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' soext_host='.so' soext_target='.so' sysconfdir='/etc' target='x86_64-pc-linux-gnu' target_alias='x86_64-pc-linux-gnu' target_cpu='x86_64' target_os='linux-gnu' target_vendor='pc' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "The Glorious Glasgow Haskell Compilation System" #define PACKAGE_TARNAME "ghc-8.0.2" #define PACKAGE_VERSION "8.0.2" #define PACKAGE_STRING "The Glorious Glasgow Haskell Compilation System 8.0.2" #define PACKAGE_BUGREPORT "glasgow-haskell-bugs@haskell.org" #define PACKAGE_URL "" configure: exit 1