configure: error: cannot run test program while cross compiling See the attachment for more details...
These are the packages that would be merged, in order: Calculating dependencies * IMPORTANT: 3 news items need reading for repository 'gentoo'. * Use eselect news to read news items. ... done! [ebuild U ] dev-libs/elfutils-0.158 [0.157] to /usr/i686-linux-gnu/ USE="bzip2 nls utils zlib -lzma -static-libs {-test} (-threads)" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-libs/elfutils-0.158 for /usr/i686-linux-gnu/ * elfutils-0.158.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * elfutils-0.158-portability.patch SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * elfutils-0.158-robustify.patch SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking elfutils-0.158.tar.bz2 to /usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/work >>> Unpacking elfutils-0.158-portability.patch to /usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/work unpack elfutils-0.158-portability.patch: file format not recognized. Ignoring. >>> Unpacking elfutils-0.158-robustify.patch to /usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/work unpack elfutils-0.158-robustify.patch: file format not recognized. Ignoring. >>> Source unpacked in /usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/work >>> Preparing source in /usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158 ... * Applying elfutils-0.118-PaX-support.patch ... [ ok ] * Applying elfutils-0.158-portability.patch ... [ ok ] * Applying elfutils-0.158-robustify.patch ... [ ok ] * Applying elfutils-0.158-tests-backtrace-native-core.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158 ... * default: running multilib-minimal_abi_src_configure * econf: updating elfutils-0.158/config/config.sub with /usr/share/gnuconfig/config.sub * econf: updating elfutils-0.158/config/config.guess with /usr/share/gnuconfig/config.guess /usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=i686-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --disable-dependency-tracking --disable-werror --enable-nls --disable-thread-safety --program-prefix=eu- --with-zlib --with-bzlib --without-lzma configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux configure: loading site script /usr/share/crossdev/include/site/linux-gnu configure: loading site script /usr/share/crossdev/include/site/i686-linux-gnu configure: loading site script /usr/share/crossdev/include/site/i686-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for i686-linux-gnu-strip... i686-linux-gnu-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for i686-linux-gnu-gcc... i686-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-linux-gnu-gcc accepts -g... yes checking for i686-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-linux-gnu-gcc... none checking for i686-linux-gnu-ranlib... i686-linux-gnu-ranlib checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for i686-linux-gnu-ar... i686-linux-gnu-ar checking the archiver (i686-linux-gnu-ar) interface... ar checking for i686-linux-gnu-readelf... i686-linux-gnu-readelf checking for i686-linux-gnu-nm... i686-linux-gnu-nm checking for gcc with C99 support... yes checking for -Wextra option to i686-linux-gnu-gcc... yes checking for -fgnu89-inline option to i686-linux-gnu-gcc... yes checking for --as-needed linker option... yes checking for __builtin_popcount... yes checking for __thread support... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for library containing gzdirect... -lz checking for library containing BZ2_bzdopen... -lbz2 checking for __cxa_demangle in -lstdc++... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking how to run the C preprocessor... i686-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking size of long... 4 checking i686-linux-gnu-gcc option for 32-bit word size... -m32 checking for 64-bit host... no checking whether i686-linux-gnu-gcc -m64 makes executables we can run... configure: error: in `/usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-default': configure: error: cannot run test program while cross compiling See `config.log' for more details !!! Please attach the following file when seeking support: !!! /usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-default/config.log * ERROR: dev-libs/elfutils-0.158::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 2719: Called multilib-minimal_src_configure * environment, line 1984: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 2190: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 1825: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 1823: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 356: Called multilib-minimal_abi_src_configure * environment, line 1978: Called multilib_src_configure * environment, line 2329: Called econf '--disable-werror' '--enable-nls' '--disable-thread-safety' '--program-prefix=eu-' '--with-zlib' '--with-bzlib' '--without-lzma' * phase-helpers.sh, line 577: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.158::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.158::gentoo'`. * The complete build log is located at '/usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/temp/build.log'. * The ebuild environment file is located at '/usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/temp/environment'. * Working directory: '/usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-default' * S: '/usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158' >>> Failed to emerge dev-libs/elfutils-0.158 for /usr/i686-linux-gnu/, Log file: >>> '/usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/temp/build.log' * Messages for package dev-libs/elfutils-0.158 merged to /usr/i686-linux-gnu/: * ERROR: dev-libs/elfutils-0.158::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 2719: Called multilib-minimal_src_configure * environment, line 1984: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 2190: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 1825: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 1823: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 356: Called multilib-minimal_abi_src_configure * environment, line 1978: Called multilib_src_configure * environment, line 2329: Called econf '--disable-werror' '--enable-nls' '--disable-thread-safety' '--program-prefix=eu-' '--with-zlib' '--with-bzlib' '--without-lzma' * phase-helpers.sh, line 577: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.158::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.158::gentoo'`. * The complete build log is located at '/usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/temp/build.log'. * The ebuild environment file is located at '/usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/temp/environment'. * Working directory: '/usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-default' * S: '/usr/i686-linux-gnu/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158'
Portage 2.2.7 (prefix/linux/x86, gcc-4.8.2, unavailable, 3.10.25-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.10.25-gentoo-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.2 KiB Mem: 8068144 total, 116636 free KiB Swap: 8388604 total, 8388604 free Timestamp of tree: Fri, 07 Mar 2014 22:00:01 +0000 ld GNU ld (GNU Binutils) 2.24 Repositories: gentoo x-portage ACCEPT_KEYWORDS="~x86-linux" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -m32 -march=i686 -msse -mfpmath=sse" CHOST="i686-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -m32 -march=i686 -msse -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://ftp6.linux.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j9" PKGDIR="/usr/i686-linux-gnu/packages/" PORTAGE_CONFIGROOT="/usr/i686-linux-gnu/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/usr/i686-linux-gnu/tmp/" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" USE="berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pcre prefix readline session ssl tcpd unicode x86 zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Created attachment 372052 [details] config.log
fixed with newer versions in the tree