<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>110026</bug_id>
          
          <creation_ts>2005-10-21 06:03 0000</creation_ts>
          <short_desc>gcc 4.0.2-r1: won&apos;t configure with +fortran due to GMP problems</short_desc>
          <delta_ts>2005-10-22 12:12:03 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GCC Porting</component>
          <version>2005.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>news@derived-software.ltd.uk</reporter>
          <assigned_to>gcc-porting@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>news@derived-software.ltd.uk</who>
            <bug_when>2005-10-21 06:03:09 0000</bug_when>
            <thetext>here&apos;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&apos;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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=pentium4 -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=pentium4 -fomit-frame-pointer -pipe&quot;
DISTDIR=&quot;/usr/src/distfiles&quot;
FEATURES=&quot;autoconfig distlocks sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/usr/src/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-10-21 06:18:58 0000</bug_when>
            <thetext>x86 needs to KEYWORD mpfr first</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2005-10-22 12:02:39 0000</bug_when>
            <thetext>Added ~x86 to keywords</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-10-22 12:08:18 0000</bug_when>
            <thetext>

*** This bug has been marked as a duplicate of 80357 ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>