GCC 4.7.2 build failure
Bharath Ramesh
bramesh@vt.edu
Fri Feb 15 06:02:00 GMT 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3738 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20130215/b127cbbe/attachment.p7s>
More information about the Gcc-help
mailing list