| Summary: | gcc 4.0.2-r1: won't configure with +fortran due to GMP problems | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Phil Richards <news> |
| Component: | [OLD] GCC Porting | Assignee: | Please assign to toolchain <gcc-porting> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | 2005.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
x86 needs to KEYWORD mpfr first Added ~x86 to keywords |
here's what happens: [...] * Configuring GCC with: --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.0.2 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.0.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.0.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.0.2/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++,f95 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... /bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler (gcc -O2 -march=pentium4 -pipe ) works... yes checking whether the C compiler (gcc -O2 -march=pentium4 -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes 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 f95 !!! ERROR: sys-devel/gcc-4.0.2-r1 failed. As you can see, I have GMP installed, but there is no way of activating MPFR support (whatever that is): ~ # emerge --oneshot -v -p gmp These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-libs/gmp-4.1.4-r2 -doc -nocxx 0 kB And here's why: ~ # emerge -s mpfr Searching... [ Results for search key : mpfr ] [ Applications found : 1 ] * dev-libs/mpfr [ Masked ] Latest version available: 2.2.0_p4 Latest version installed: [ Not Installed ] Size of downloaded files: 711 kB Homepage: http://www.mpfr.org/ Description: library for multiple-precision floating-point computations with exact rounding License: LGPL-2.1 Obviously, setting USE=-fortran for gcc stops the problem... Phil ~ # emerge info Portage 2.0.53_rc6 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r2, 2.6.13-gentoo-r4 i686) ================================================================= System uname: 2.6.13-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.0_pre9 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/src/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/src/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aac acpi alsa apm avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dbus dvd dvdr dvi eds emboss encode esd fam firefox flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 guile hal imagemagick imlib jpeg lesstif libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nntp nptl nptlonly offensive ogg oggvorbis opengl pam pdflib perl png python quicktime readline real samba scanner sdl slang speex spell sse ssl svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xine xml2 xmms xv zlib video_cards_i915 userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS