* Package: dev-lang/ghc-7.10.3 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc gmp kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ghc-7.10.3-src.tar.bz2 to /var/tmp/portage/dev-lang/ghc-7.10.3/work >>> Unpacking ghc-bin-7.10.3-amd64.tbz2 to /var/tmp/portage/dev-lang/ghc-7.10.3/work bzip2: /var/tmp/portage/dev-lang/ghc-7.10.3/distdir/ghc-bin-7.10.3-amd64.tbz2: trailing garbage after EOF ignored >>> Unpacking binary-0.7.6.1.tar.gz to /var/tmp/portage/dev-lang/ghc-7.10.3/work >>> Unpacking hoopl-3.10.2.0.tar.gz to /var/tmp/portage/dev-lang/ghc-7.10.3/work >>> Unpacking transformers-0.4.3.0.tar.gz to /var/tmp/portage/dev-lang/ghc-7.10.3/work >>> Source unpacked in /var/tmp/portage/dev-lang/ghc-7.10.3/work >>> Preparing source in /var/tmp/portage/dev-lang/ghc-7.10.3/work/ghc-7.10.3 ... * XATTR_PAX marking -m /var/tmp/portage/dev-lang/ghc-7.10.3/work/usr/lib64/ghc-7.10.3/bin/ghc with paxctl-ng * Applying ghc-7.0.4-CHOST-prefix.patch ... [ ok ] * Applying ghc-7.8.2-cgen-constify.patch ... [ ok ] * Applying ghc-7.8.3-prim-lm.patch ... [ ok ] * Applying ghc-7.10.1-rc3-ghc-7.10-bootstrap.patch ... [ ok ] * Applying ghc-7.10.3-relnotes.patch ... [ ok ] * Applying ghc-7.10.3-hardfloat.patch ... [ ok ] * Bumping binary up to 0.7.6.1 * Bumping hoopl up to 3.10.2.0 * Bumping transformers up to 0.4.3.0 * Running eautoreconf in '/var/tmp/portage/dev-lang/ghc-7.10.3/work/ghc-7.10.3' ... * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: ghc-7.10.3/ * Running elibtoolize in: ghc-7.10.3/libraries/base/ * Running elibtoolize in: ghc-7.10.3/libraries/directory/ * Running elibtoolize in: ghc-7.10.3/libraries/integer-gmp/ * Running elibtoolize in: ghc-7.10.3/libraries/integer-gmp2/ * Running elibtoolize in: ghc-7.10.3/libraries/process/ * Running elibtoolize in: ghc-7.10.3/libraries/terminfo/ * Running elibtoolize in: ghc-7.10.3/libraries/time/ * Running elibtoolize in: ghc-7.10.3/libraries/unix/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/ghc-7.10.3/work/ghc-7.10.3 ... * Final mk/build.mk: # Gentoo changes docdir = /usr/share/doc/ghc-7.10.3 htmldir = /usr/share/doc/ghc-7.10.3 SRC_HC_OPTS+= -optc-march=native -opta-march=native -optl-Wl,-O1 -optl-Wl,--as-needed SRC_CC_OPTS+=-O2 -pipe -march=native -Wall -march=native -march=native SRC_LD_OPTS+=-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed BUILD_DOCBOOK_PDF = NO BUILD_DOCBOOK_PS = NO BUILD_DOCBOOK_HTML = NO HADDOCK_DOCS = YES INTEGER_LIBRARY=integer-gmp2 STRIP_CMD = : * econf: updating ghc-7.10.3/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-7.10.3/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghc-7.10.3/libraries/integer-gmp2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-7.10.3/libraries/integer-gmp2/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghc-7.10.3/libraries/unix/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-7.10.3/libraries/unix/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghc-7.10.3/libraries/directory/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-7.10.3/libraries/directory/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghc-7.10.3/libraries/base/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-7.10.3/libraries/base/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ghc-7.10.3/libraries/integer-gmp/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ghc-7.10.3/libraries/integer-gmp/config.guess with /usr/share/gnuconfig/config.guess ./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 checking for gfind... no checking for find... /usr/bin/find checking for sort... /usr/bin/sort checking for GHC Git commit id... given 97e7c293abbde5223d2bf0516f8969bdd1a9a7a2 checking for ghc... /var/tmp/portage/dev-lang/ghc-7.10.3/work/usr/bin/ghc checking version of ghc... 7.10.3 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu GHC build : x86_64-unknown-linux GHC host : x86_64-unknown-linux GHC target : x86_64-unknown-linux configure: Building in-tree ghc-pwd /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: utils/ghc-pwd/dist-boot/Main.o: relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC utils/ghc-pwd/dist-boot/Main.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status configure: error: Building ghc-pwd failed !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-lang/ghc-7.10.3/work/ghc-7.10.3/config.log * ERROR: dev-lang/ghc-7.10.3::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 115: Called src_configure * environment, line 3943: Called econf '--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' * phase-helpers.sh, line 662: Called __helpers_die 'econf failed' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=dev-lang/ghc-7.10.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/ghc-7.10.3::gentoo'`. * The complete build log is located at '/var/log/portage/dev-lang:ghc-7.10.3:20170121-045138.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/ghc-7.10.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ghc-7.10.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/ghc-7.10.3/work/ghc-7.10.3' * S: '/var/tmp/portage/dev-lang/ghc-7.10.3/work/ghc-7.10.3'