checking for i686-pc-linux-gnu-gnatbind... no checking for gnatbind... no checking for i686-pc-linux-gnu-gnatmake... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for correct version of gmp.h... yes checking for correct version of mpfr.h... no configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.2+. Try the --with-gmp and/or --with-mpfr options to specify their locations. Copies of these libraries' source code can be found at their respective hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also http://gcc.gnu.org/install/prerequisites.html for additional info. If you obtained GMP and/or MPFR from a vendor distribution package, make sure that you have installed both the libraries and the header files. They may be located in separate packages. * ERROR: sys-devel/gcc-4.4.4-r1 failed: * failed to run configure * * Call stack: * ebuild.sh, line 53: Called call-ebuildshell 'src_compile' * environment, line 747: Called src_compile * environment, line 5088: Called gcc_src_compile * environment, line 3225: Called gcc_do_configure * environment, line 2924: Called die * The specific snippet of code: * "${S}"/configure "$@" || die "failed to run configure"; * * If you need support, post the output of 'emerge --info =sys-devel/gcc-4.4.4-r1', * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-4.4.4-r1'. * The complete build log is located at '/sys_tools/var/tmp/portage/sys-devel/gcc-4.4.4-r1/temp/build.log'. * The ebuild environment file is located at '/sys_tools/var/tmp/portage/sys-devel/gcc-4.4.4-r1/temp/environment'. * S: '/sys_tools/var/tmp/portage/sys-devel/gcc-4.4.4-r1/work/gcc-4.4.4' >>> Failed to emerge sys-devel/gcc-4.4.4-r1, Log file: >>> '/sys_tools/var/tmp/portage/sys-devel/gcc-4.4.4-r1/temp/build.log'
Fails on 32-bit and 64-bit linux. # emerge --info We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. Password for etmsys@RIT.EDU: Portage 2.2.01.15417-prefix (prefix/linux/x86, gcc-4.4.3, unavailable, 2.6.18-194.3.1.el5 i686) ================================================================= System uname: Linux-2.6.18-194.3.1.el5-i686-Intel-R-_Xeon-R-_CPU_E5530_@_2.40GHz-with-redhat-5.5-Final Timestamp of tree: Mon, 02 Aug 2010 11:12:04 +0000 app-shells/bash: 4.1_p5 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2 dev-util/cmake: 2.8.1-r2 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.51.0.8 sys-devel/gcc: 4.2.4-r01.2, 4.4.3-r2 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.33 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="~x86-linux" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -fgnu89-inline" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CPPFLAGS="-I/sys_tools/usr/include" CXXFLAGS="-O2 -pipe -fgnu89-inline" DISTDIR="/sys_tools/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixpackages lafilefixing news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-L/sys_tools/usr/lib -R/sys_tools/usr/lib -L/sys_tools/lib -R/sys_tools/lib" PKGDIR="/sys_tools/usr/portage/packages" PORTAGE_CONFIGROOT="/sys_tools/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/sys_tools/var/tmp" PORTDIR="/sys_tools/usr/portage" PORTDIR_OVERLAY="/sys_tools/usr/local/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 kerberos modules mudflap ncurses nptl nptlonly openmp pcre perl pppd prefix python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" 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" 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="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 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 proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http auth_digest" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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: CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 241053 [details] build log
Created attachment 241055 [details] configure log
Created attachment 241057 [details] Testing version of MPFR The output of this shows: 131585 < 131840 Which indicates that it is failing to find the correct version of MPFR.
Is this during bootstrapping?
No, this is an upgrade to gcc, gcc 4.1.2 is installed. I'm not even sure it it will reemerge the current version without getting the same error. # gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
I wouldn't expect the host gcc to work well if you aren't bootstrapping. Why aren't you using a gcc from the prefix env?
I copied the WRONG gcc output....it is using the prefix gcc: # gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /sys_tools/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/gcc-4.4.3/configure --prefix=/sys_tools/usr --bindir=/sys_tools/usr/i686-pc-linux-gnu/gcc-bin/4.4.3 --includedir=/sys_tools/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include --datadir=/sys_tools/usr/share/gcc-data/i686-pc-linux-gnu/4.4.3 --mandir=/sys_tools/usr/share/gcc-data/i686-pc-linux-gnu/4.4.3/man --infodir=/sys_tools/usr/share/gcc-data/i686-pc-linux-gnu/4.4.3/info --with-gxx-include-dir=/sys_tools/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.4.3/python --disable-libgcj --with-arch=i686 --enable-languages=c,c++ --enable-shared --enable-threads=posix --with-local-prefix=/usr --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.3-r2 p1.2' --enable-multilib Thread model: posix gcc version 4.4.3 (Gentoo 4.4.3-r2 p1.2)
Ok, I think you have a broken compiler because of the mess in bug 320487, comment #12
(In reply to comment #9) > Ok, I think you have a broken compiler because of the mess in bug 320487, > comment #12 > You can find the search path of the compiler via "gcc -v hello.c" and you will see something like: #include "..." search starts here: #include <...> search starts here: /home/jolexa/portage/linux-64/usr/include /home/jolexa/portage/linux-64/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include /home/jolexa/portage/linux-64/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include-fixed /usr/include End of search list. but in your case, /usr/include might be first? Please report back on that case.
# gcc -v conftest.c ..... ignoring nonexistent directory "/sys_tools/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/include" ignoring duplicate directory "/usr/include" #include "..." search starts here: #include <...> search starts here: /usr/include /sys_tools/usr/include /sys_tools/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include /sys_tools/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include-fixed End of search list. Yeah...it looks like the same issue. I'll try to switch back to 4.2.4 and compile 4.4.4.
I got 4.4.4 compile now, and the gcc -v is much better: ignoring nonexistent directory "/sys_tools/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../../i686-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /sys_tools/usr/include /sys_tools/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/include /sys_tools/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/include-fixed /usr/include End of search list. Thanks. Looks like a duplicate of bug 320487
aye, sorry for the trouble. *** This bug has been marked as a duplicate of bug 320487 ***