Summary: | GCC-4.1.1 fails to compile with USE="fortran" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Troy Henderson <thenders> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | notellin |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Log of the part that's failing
Entire compilation log |
Description
Troy Henderson
2006-09-09 09:09:35 UTC
Created attachment 96484 [details]
Log of the part that's failing
Created attachment 96485 [details]
Entire compilation log
this is probably because mpfr is segfaulting run `FEATURES=test emerge mpfr gmp` That didn't do it. I'm encountering what is probably the same problem. I'm upgrading from gcc-3.4.6 to gcc-4.1.1 .oOo. checking for gnatbind... 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 MPFR... no configure: error: GMP with MPFR support is required to build fortran !!! ERROR: sys-devel/gcc-4.1.1-r1 failed. .oOo. Current 'emerge --info' emerge --info Portage 2.1.2_pre2-r5 (default-linux/x86/2006.1, gcc-3.4.6, glibc-2.4-r4, 2.6.17-gentoo-r7 i686) ================================================================= System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) XP 1900+ Gentoo Base System version 1.12.0_pre19 Last Sync: Fri, 06 Oct 2006 12:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks emerge gmp metadata-transfer mpfr sandbox sfperms strict test" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/nx" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 aac aalib acpi alsa apache2 arts audiofile berkdb bitmap-fonts browserplugin bzip2 bzlib cdr cli crypt cups curl dbus dga directfb divx4linux dlloader dri dv dvd dvdr dvdread elibc_glibc encode exif extra-filters fastcgi fbcon ffmpeg firefox flac flash fontconfig fortran ftp gd gdbm gif gnutls gpm gstreamer hal hava imagemagick inifile input_devices_keyboard input_devices_mouse insecure-savers ipv6 isdnlog java javascript jikes jpeg jpeg2k kde kdexdeltas kerberos kernel_linux lcms ldap libg++ lm_sensors mad maildir mailwrapper mbox mikmod milter mime ming mjpeg mmx mng mozcalendar mozilla moznocompose moznomail mozsvg mp3 mpeg mysql mysqli ncurses nls no-old-linux nptl nptl-only nptlonly nsplugin odbc offensive ogg oggvorbis opengl pam pcre pdf perl php png ppds pppd python qt3 qt4 quicktime readline reflection samba sasl sdl session sndfile speex spell spl sse ssl svg svga tcpd theora threads tidy tiff tokeniser truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vhosts video_cards_nvidia video_cards_vesa vorbis vorbis-psy win32codecs wmf xcomposite xml xml2 xorg xpm xprint xscreensaver xvid zlib zope" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS .oOo. As per comment #3, I've added 'emerge mpfr test gmp' to FEATURES and am re-running my toolchain emerges. Will report back later. (In reply to comment #3) > this is probably because mpfr is segfaulting > > run `FEATURES=test emerge mpfr gmp` > In hindsight, what is meant above is obvious. However, for a non programmer following instructions, it's not clear. It is meant to read: # FEATURES="test" emerge mpfr gmp gcc Now for some additional info: For me, I was upgrading from gcc-3.4.6 to gcc-4.1.1-r1. Realizing that this was a toolchain upgrade, I started following the instructions here: http://forums.gentoo.org/viewtopic-t-282474.html I was not able to fully test this, but apparently 'emerge -e system' doesn't pick up required dependencies w/regards to gcc. Based on comment #3, I did: # emerge -pv gcc It displayed needing both and updated version of 'gmp' and that 'mpfr' needed to be installed. The 'emwrap.sh' script depends on the output of 'emerge -e system'. Yet neither of these two packages were picked up. I was not able to verify this as I don't have the time nor resources to do so. |