This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37310] gfortran errors in compilation and the making for upgraded compilers
- From: "petermorgan at grapevine dot net dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Sep 2008 23:22:29 -0000
- Subject: [Bug fortran/37310] gfortran errors in compilation and the making for upgraded compilers
- References: <bug-37310-16653@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from petermorgan at grapevine dot net dot au 2008-09-01 23:22 -------
Subject: Re: gfortran errors in compilation and the making
for upgraded compilers
Hi Guys
Do you want a new bug report for this error.
I issued a " make bootstrap" after the configure in the normal way.
the error is
make[5]: Entering directory
`/opt/gnu/gcc-4.3.1/x86_64-unknown-linux-gnu/32/libgcc'
# If this is the top-level multilib, build all the other
# multilibs.
/opt/gnu/gcc-4.3.1/./gcc/xgcc -B/opt/gnu/gcc-4.3.1/./gcc/
-B/opt/x86_64-unknown-linux-gnu/bin/
-B/opt/x86_64-unknown-linux-gnu/lib/ -isystem
/opt/x86_64-unknown-linux-gnu/include -isystem
/opt/x86_64-unknown-linux-gnu/sys-include -g -fkeep-inline-functions
-m32 -O2 -O2 -g -g -O2 -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../.././gcc
-I../../../../gcc-4.3.1.source/libgcc
-I../../../../gcc-4.3.1.source/libgcc/.
-I../../../../gcc-4.3.1.source/libgcc/../gcc
-I../../../../gcc-4.3.1.source/libgcc/../include
-I../../../../gcc-4.3.1.source/libgcc/config/libbid
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _muldi3.o -MT
_muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c
../../../../gcc-4.3.1.source/libgcc/../gcc/libgcc2.c \
-fvisibility=hidden -DHIDE_EXPORTS
In file included from /usr/include/features.h:359,
from /usr/include/stdio.h:28,
from
../../../../gcc-4.3.1.source/libgcc/../gcc/tsystem.h:90,
from
../../../../gcc-4.3.1.source/libgcc/../gcc/libgcc2.c:33:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or
directory
make[5]: *** [_muldi3.o] Error 1
make[5]: Leaving directory
`/opt/gnu/gcc-4.3.1/x86_64-unknown-linux-gnu/32/libgcc'
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory
`/opt/gnu/gcc-4.3.1/x86_64-unknown-linux-gnu/libgcc'
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory
`/opt/gnu/gcc-4.3.1/x86_64-unknown-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/opt/gnu/gcc-4.3.1'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/opt/gnu/gcc-4.3.1'
make: *** [bootstrap] Error 2
The current hardware is X86_64 so I dint understand the search or path
to gnu/stubs-32.h or why there was a need to go usr/include/features.h:359
Apologies for not understanding things here.
Peter
kargl at gcc dot gnu dot org wrote:
> ------- Comment #3 from kargl at gcc dot gnu dot org 2008-09-01 22:38 -------
> (In reply to comment #2)
>
>
>> checking for correct version of gmp.h... yes
>> checking for correct version of mpfr.h... no
>>
>
> Clearly, configure can't find your installation of MPFR.
>
>
>
>> configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
>> Try the --with-gmp and/or --with-mpfr options to specify their locations.
>>
>
> Re-read the last sentence above. It appears you forgot to try
> the --with-mpfr configure option.
>
>
>
--
***************************************
* *
* Peter and Carol Morgan *
* 20 Goodparla St *
* Hawker, ACT, 2614 *
* Australia *
* *
* Home Phone +61 (0)2 6254 0137 *
* Peter's Mobile +61 (0)4 1854 0137 *
* *
* *
***************************************
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37310