This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/49557] make chokes on various Makefile constructs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49557

--- Comment #12 from Arjen Markus <arjen.markus895 at gmail dot com> 2011-07-04 06:58:46 UTC ---
Hello,

well, I have re-read the installation instructions, put the sources
for gmp, mpfr and mpc into the GCC source
directory, reconfigured it (from a clean build directory) and got the
following result:

checking for /u/markus/tmp/gcc4.6.1/build-gcc/./gcc/xgcc
-B/u/markus/tmp/gcc4.6.1/build-gcc/./gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include    option to accept
ISO C89... none needed
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
make[2]: Entering directory `/u/markus/tmp/gcc4.6.1/build-gcc/gnattools'
rm -rf ../gcc/ada/tools
mkdir -p ../gcc/ada/tools
(cd ../gcc/ada/tools; ln -s ../sdefault.adb ../snames.ads ../snames.adb .)
rm -f ../gcc/ada/tools/mlib-tgt-specific.adb; ln -s
/u/markus/tmp/gcc4.6.1/gcc-4.6.1-RC-20110620/gcc/ada/mlib-tgt-specific-linux.adb
../gcc/ada/tools/mlib-tgt-specific.adb;  rm -f
../gcc/ada/tools/indepsw.adb; ln -s
/u/markus/tmp/gcc4.6.1/gcc-4.6.1-RC-20110620/gcc/ada/indepsw-gnu.adb
../gcc/ada/tools/indepsw.adb;
touch ../gcc/stamp-tools
Cannot build gnattools while gnatlib is out of date or unbuilt
make[2]: *** [../gcc/stamp-gnatlib-rts] Error 1
make[2]: Leaving directory `/u/markus/tmp/gcc4.6.1/build-gcc/gnattools'
make[1]: *** [all-gnattools] Error 2
make[1]: Leaving directory `/u/markus/tmp/gcc4.6.1/build-gcc'
make: *** [all] Error 2


Note: I called "configure" without any arguments.

gcc -v gives the following output:
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)


I will try again without Ada.

Regards,

Arjen

2011/7/1 redi at gcc dot gnu.org <gcc-bugzilla@gcc.gnu.org>:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49557
>
> --- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-07-01 12:50:06 UTC ---
> (In reply to comment #0)
>> ../gcc-4.6.1-RC-20110620/configure --with-gmp-include=d:/gcc4.6.1.src/gmp-5.0.2
>> --with-gmp-lib=d:/gcc4.6.1.src/gmp-5.0.2/.libs
>> --with-mpfr-include=d:/gcc4.6.1.src/mpfr-3.0.1
>> --with-mpfr-lib=d:/gcc4.6.1.src/mpfr-3.0.1/.libs
>> --with-mpc-include=d:/gcc4.6.1.src/mpc-0.9/src
>> --with-mpc-lib=d:/gcc4.6.1.src/mpc-0.9/src/.libs
>
>
> What on earth are you doing here?
>
> You have not installed gmp/mpc/mpfr, you seem to be trying to use
> compiled-but-not-installed versions, why?
>
> It's much easier to just put the gmp/mpfr/mpc sources into the gcc source tree
> and then everything just works
>
> See http://advogato.org/person/redi/diary/240.html
>
> --
> Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]