Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469946 - sys-devel/gcc-4.7.3 - .../work/gcc-4.7.3/libquadmath/configure: line 3397: ./a.out: cannot execute binary file
Summary: sys-devel/gcc-4.7.3 - .../work/gcc-4.7.3/libquadmath/configure: line 3397: ./...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-15 11:01 UTC by Fabio Coatti
Modified: 2013-05-16 14:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,38.87 KB, text/plain)
2013-05-15 11:03 UTC, Fabio Coatti
Details
build log (build.log.gz,307.82 KB, application/x-gzip)
2013-05-15 11:04 UTC, Fabio Coatti
Details
config.log quadmath (config.log,17.09 KB, text/plain)
2013-05-15 15:33 UTC, Fabio Coatti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Coatti 2013-05-15 11:01:47 UTC
Emerging gcc, I get this error:
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: in `/var/tmp/portage/sys-devel/gcc-4.7.3/work/build/x86_64-pc-linux-gnu/32/libquadmath':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.


Reproducible: Always




Portage 2.2.0_alpha174 (default/linux/amd64/13.0, gcc-4.7.2, glibc-2.17, 3.9.2 x86_64)
=================================================================
System uname: Linux-3.9.2-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16173660 total,  10625416 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Wed, 15 May 2013 06:30:01 +0000
ld ld di GNU (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.4, 3.2.4
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo overlay
Installed sets: @kde
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
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/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe "
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://gentoo.mneisen.org/ http://gentoo.supp.name/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac aalib acl acpi aim alsa amd64 amr amrnb amrwb apng ares asf ass audiofile avahi bash-completion berkdb bidi bl bluetooth branding bri bzip2 caps cdda cdparanoia cdr cjk cli consolekit cracklib crypt curl cxx dba dbus declarative device-mapper dga dirac directfb divx divx4linux dri dts dv dvb dvd dvdnav dvdr dvdread edl embedded enca ethereal exif expat faac faad fam fame fbcon ffmpeg fftw flac fontconfig force-cgi-redirect fortran ftp garmin gd gdbm gimp gmedia gmp gnutls gpm gps gsm gtk iconv icq icu id3tag idn ifp ilbc imagemagick imap innodb ipod iproute2 ipv6 ithreads jabber java javascript kde kontact kvm ladspa lcms libcaca libnotify libv4l2 live lm_sensors lua lvm lxc lzo maildir matroska mbox md5sum mdnsresponder-compat mhash mime mjpeg mmap mmx mmxext mng modules mozdevelop mozilla mp3 mp4 msn mtp mudflap multilib musepack mysql ncurses nemesi nepomuk network nfsv4 njb nls nptl nptlonly nsplugin numa nut offensive ofx ogg oggvorbis ogm openal openexr opengl openmp oscar pam parted pcap pcre pdf php plasma plotutils pnm policykit ppds pulseaudio pvr qemu qt3support qt4 radio rar readline rtc rtmp rtsp ruby samba sasl schroedinger semantic-desktop session sha512 sl slang slp sms sndfile snmp sox speex spell srt sse sse2 sse4a ssh ssl startup-notification stream svg symlink taglib tcltk tcpd theora threads tiff tk tremor udev unicode usb utempter v4l v4l2 vcd vdpau vhosts videos vim-syntax virtualbox vlc vorbis wmf wmp wxwindows x264 xanim xface xft xine xosd xpm xscreensaver xsl xulrunner xvid xvmc yahoo zlib zoran zpm" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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="apcups conntrack contextswitch cpu cpufreq curl df disk entropy ethstat filecount hddtemp interface iptables irq load logfile mbmon md memeory mysql network nginx notify_desktop notify_email ntpd numa openvpn perl ping processes protocols python rrdtool sensors snmp swap syslog tcpconns thermal threshold uptime write_graphite write_http" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="epjitsu epson epson2" USERLAND="GNU" VIDEO_CARDS="intel" 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, USE_PYTHON
Comment 1 Fabio Coatti 2013-05-15 11:03:39 UTC
Created attachment 348380 [details]
config.log
Comment 2 Fabio Coatti 2013-05-15 11:04:57 UTC
Created attachment 348382 [details]
build log
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-15 15:18:18 UTC
Comment on attachment 348380 [details]
config.log

This config.log isn't useful. You probably want to attach the one in

/var/tmp/portage/sys-devel/gcc-4.7.3/work/build/x86_64-pc-linux-gnu/32/libquadmath

instead.
Comment 4 Fabio Coatti 2013-05-15 15:33:31 UTC
Created attachment 348400 [details]
config.log quadmath
Comment 5 Fabio Coatti 2013-05-15 15:34:29 UTC
(In reply to comment #3)
> Comment on attachment 348380 [details]
> config.log
> 
> This config.log isn't useful. You probably want to attach the one in
> 
> /var/tmp/portage/sys-devel/gcc-4.7.3/work/build/x86_64-pc-linux-gnu/32/
> libquadmath
> 
> instead.

You probably are right :)

attached, thanks.
Comment 6 Rafał Mużyło 2013-05-15 23:50:04 UTC
That log it somewhat ambiguous, but could it be, that you don't have 32bit emulation settings in your kernel ?
Comment 7 Fabio Coatti 2013-05-16 10:23:12 UTC
Indeed; I've fixed this in kernel and now the compilation went fine.
I'm a bit surprised of that: I was not expecting that 32bit support was a requirement. Maybe a config check? 

Anyway, your comment solved my issue, many thanks!