failure to successfully build 4.3.2 suite

Peter Morgan petermorgan@grapevine.net.au
Wed Sep 17 23:59:00 GMT 2008


Hi to all

I tried to build the 4.3.2 language suite after noting that my ICE was 
closed as it looked as though it was a repeat problem which was now 
resolved. Unfortunately I was not able to get a successful build.

Firstly my hardware is a Intel Core 2 Duo E8400 on a Gigabyte 
GA-EP45DS3R motherboard with 2-by-2GB DDR800 of memory and an nVIDIA 
GF8600GT pci-Express Graphic Card.
Next my operating system is Fedora Core 9

I got the 4.3.2 suite from  ftp.gnu.org this morning.

I have the language suite and my commonly used suites in /opt
I have mpfr-2.3.1 installed in /opt
I build the gnu language suite from a build directory holding the source 
in a parallel branch.
That is I use  a command that looks like ../gnu.4.3.2.source/configure

When I use

../gcc-4.3.2.source/configure --prefix=/opt --disable-multilib 
--with-mpfr-lib=/opt/lib --with-mpfr-include=/opt/lib

followed by
 make bootstrap

I get, after several minutes

build/gencondmd > tmp-cond.md
/bin/sh ../../gcc-4.3.2.source/gcc/../move-if-change tmp-cond.md 
insn-conditions.md
echo timestamp > s-condmd
build/genflags ../../gcc-4.3.2.source/gcc/config/i386/i386.md \
          insn-conditions.md > tmp-flags.h
/bin/sh ../../gcc-4.3.2.source/gcc/../move-if-change tmp-flags.h 
insn-flags.h
echo timestamp > s-flags
/opt/gnu/gcc-4.3.2/./prev-gcc/xgcc -B/opt/gnu/gcc-4.3.2/./prev-gcc/ 
-B/opt/x86_64-unknown-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition -Wmissing-format-attribute -pedantic 
-Wno-long-long -Wno-variadic-macros                                      
-Wno-overlength-strings    -DHAVE_CONFIG_H -I. -I. 
-I../../gcc-4.3.2.source/gcc -I../../gcc-4.3.2.source/gcc/. 
-I../../gcc-4.3.2.source/gcc/../include 
-I../../gcc-4.3.2.source/gcc/../libcpp/include -I/opt/lib 
-I../../gcc-4.3.2.source/gcc/../libdecnumber 
-I../../gcc-4.3.2.source/gcc/../libdecnumber/bid -I../libdecnumber    
../../gcc-4.3.2.source/gcc/c-lang.c -o c-lang.o
/opt/gnu/gcc-4.3.2/./prev-gcc/xgcc -B/opt/gnu/gcc-4.3.2/./prev-gcc/ 
-B/opt/x86_64-unknown-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition -Wmissing-format-attribute -pedantic 
-Wno-long-long -Wno-variadic-macros                                      
-Wno-overlength-strings    -DHAVE_CONFIG_H -I. -I. 
-I../../gcc-4.3.2.source/gcc -I../../gcc-4.3.2.source/gcc/. 
-I../../gcc-4.3.2.source/gcc/../include 
-I../../gcc-4.3.2.source/gcc/../libcpp/include -I/opt/lib 
-I../../gcc-4.3.2.source/gcc/../libdecnumber 
-I../../gcc-4.3.2.source/gcc/../libdecnumber/bid -I../libdecnumber    
../../gcc-4.3.2.source/gcc/stub-objc.c -o stub-objc.o
/opt/gnu/gcc-4.3.2/./prev-gcc/xgcc -B/opt/gnu/gcc-4.3.2/./prev-gcc/ 
-B/opt/x86_64-unknown-linux-gnu/bin/ -c   -g -O2 -DIN_GCC   -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition -Wmissing-format-attribute -pedantic 
-Wno-long-long -Wno-variadic-macros                                      
-Wno-overlength-strings    -DHAVE_CONFIG_H -I. -I. 
-I../../gcc-4.3.2.source/gcc -I../../gcc-4.3.2.source/gcc/. 
-I../../gcc-4.3.2.source/gcc/../include 
-I../../gcc-4.3.2.source/gcc/../libcpp/include -I/opt/lib 
-I../../gcc-4.3.2.source/gcc/../libdecnumber 
-I../../gcc-4.3.2.source/gcc/../libdecnumber/bid -I../libdecnumber    
../../gcc-4.3.2.source/gcc/attribs.c -o attribs.o
In file included from ../../gcc-4.3.2.source/gcc/rtl.h:28,
                 from ../../gcc-4.3.2.source/gcc/attribs.c:29:
../../gcc-4.3.2.source/gcc/real.h:26:18: error: mpfr.h: No such file or 
directory
In file included from ../../gcc-4.3.2.source/gcc/rtl.h:28,
                 from ../../gcc-4.3.2.source/gcc/attribs.c:29:
../../gcc-4.3.2.source/gcc/real.h:444: error: expected declaration 
specifiers or '...' before 'mpfr_srcptr'
../../gcc-4.3.2.source/gcc/real.h:444: error: expected declaration 
specifiers or '...' before 'mp_rnd_t'
../../gcc-4.3.2.source/gcc/real.h:445: error: expected ')' before 'const'
make[3]: *** [attribs.o] Error 1
make[3]: Leaving directory `/opt/gnu/gcc-4.3.2/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/opt/gnu/gcc-4.3.2'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/opt/gnu/gcc-4.3.2'
make: *** [bootstrap] Error 2

Appreciate comments and Help

regards Peter

-- 
***************************************
*                                     *
*  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  *
*                                     *
*                                     *
***************************************




More information about the Fortran mailing list