This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC 4.7.2 build failure
- From: Bharath Ramesh <bramesh at vt dot edu>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 15 Feb 2013 01:02:15 -0500
- Subject: GCC 4.7.2 build failure
I am trying to build gcc-4.7.2 using gcc-4.4.6 and I am experiencing a
build failure. The issue is that when cloog is being configured during
stage1 it is unable to find gmp.h. However, gmp.h exists in the location
that has been passed to cloog's configure script.
I setup the gcc source directory by first running
./contrib/download_prerequisites and then downloading cloog and untaring
it similar to what was done in download_prerequisites script file.
My configure line is as follows:
$ ./configure --prefix=/opt/apps/gcc/4.7.2
--enable-languages=c,c++,fortran --enable-bootstrap --enable-shared
--enable-__cxa_atexit --enable-checking=rele+ase --with-arch_32=i686
--with-bits=gmp --with-system-zlib --with-tune=generic
When I open host-x86_64-unknown-linux-gnu/cloog/config.log to the
configure line is
/opt/build/BUILD/gcc-4.7.2/cloog/configure --cache-file=./config.cache
--with-system-zlib --prefix=/opt/apps/gcc/4.7.2 --enable-bootstrap
--enable-shared --enable-__cxa_atexit --enable-checking=release
--with-arch_32=i686 --with-system-zlib --with-tune=generic
--enable-languages=c,c++,fortran,lto --program-transform-name=s,y,y,
--disable-option-checking --build=x86_64-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu
--srcdir=../.././cloog --disable-intermodule
--enable-checking=release,types --disable-coverage
--enable-languages=c,c++,lto --disable-shared
--with-gmp-library=/opt/build/BUILD/gcc-4.7.2/host-x86_64-unknown-linux-gnu/gmp/.libs
--with-gmp-include=/opt/build/BUILD/gcc-4.7.2/host-x86_64-unknown-linux-gnu/gmp
--with-bits=gmp --with-ppl
It still fails with the following error
configure:12968: checking gmp.h usability
configure:12968: gcc -c -g -fkeep-inline-functions conftest.c >&5
conftest.c:60:17: error: gmp.h: No such file or directory
$ ls /opt/build/BUILD/gcc-4.7.2/host-x86_64-unknown-linux-gnu/gmp/gmp.h
/opt/build/BUILD/gcc-4.7.2/host-x86_64-unknown-linux-gnu/gmp/gmp.h
Any help in resolving this failure is appreciated. I am not subscribed
to the list so would appreciate it if I am copied in the response.
--
Bharath
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature