[Bug fortran/45277] make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-09-14 Thread ebotcazou at gcc dot gnu dot org


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|WAITING |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-14 08:04:53
   date||


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



[Bug fortran/45277] make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-09-09 Thread philippe_scelers at mentor dot com


--- Comment #7 from philippe_scelers at mentor dot com  2010-09-09 14:10 
---
Previous comments describe encountered issue, including gmp/mpfr/mpc version.

Below a summary of successfull build on Solaris 10
 standalone build/install for gmp/mpfr/mpc, ABI=32 is mandatory

gcc --version
gcc (GCC) 4.5.1
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/free/NEW_GNU_BUILD/devenv_g3_package/bundle_v1.0/sun4u/5.10/bin/../libexec/gcc/sparc-sun-solaris2.10/4.5.1/lto-wrapper
Target: sparc-sun-solaris2.10
Configured with: /free/NEW_GNU_BUILD/devenv_g3_package/src/gcc-4.5.1/configure
--prefix=/free/NEW_GNU_BUILD/devenv_g3_package/install/sun4u/5.10/gcc-4.5.1
--disable-nls --with-local-prefix=/u/gnu --enable-languages=c,c++,fortran
--with-gnu-as
--with-as=/free/NEW_GNU_BUILD/devenv_g3_package/install/sun4u/5.10/binutils-2.20.1/bin/as
--with-gnu-ld
--with-ld=/free/NEW_GNU_BUILD/devenv_g3_package/install/sun4u/5.10/binutils-2.20.1/bin/ld
--with-gmp=/free/NEW_GNU_BUILD/devenv_g3_package/install/sun4u/5.10/gmp-4.3.2
--with-mpfr=/free/NEW_GNU_BUILD/devenv_g3_package/install/sun4u/5.10/mpfr-2.4.2
--with-mpc=/free/NEW_GNU_BUILD/devenv_g3_package/install/sun4u/5.10/mpc-0.8.1
Thread model: posix
gcc version 4.5.1 (GCC) 


-- 


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



[Bug fortran/45277] make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-08-27 Thread ebotcazou at gcc dot gnu dot org


--- Comment #6 from ebotcazou at gcc dot gnu dot org  2010-08-27 14:02 
---
> make check: OK for GMP but fails for MPFR
> 
> Solution: build GMP, MPFR and MPC separately and add --with-... to configure
> gcc.
> Note: GMP must be build for 32 bits, i.e. set env var ABI=32

Yes, or else configure with --build=... as documented in
  http://gcc.gnu.org/install/specific.html#sparc-sun-solaris2

Could you quickly sum up what you've found, i.e. which versions of GMP/MPFR are
miscompiled by which versions of GCC and which versions are correctly compiled
by which versions of the compiler?  Thanks in advance.


-- 


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



[Bug fortran/45277] make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-08-27 Thread philippe_scelers at mentor dot com


--- Comment #5 from philippe_scelers at mentor dot com  2010-08-27 08:29 
---
make check: OK for GMP but fails for MPFR

Solution: build GMP, MPFR and MPC separately and add --with-... to configure
gcc.
Note: GMP must be build for 32 bits, i.e. set env var ABI=32


-- 


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



[Bug fortran/45277] make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-08-13 Thread ebotcazou at gcc dot gnu dot org


--- Comment #4 from ebotcazou at gcc dot gnu dot org  2010-08-13 17:16 
---
> But I link GMP and MPFR into GCC source tree, how to make check on 
> these? perhaps:
>cd objdir/gcc-4.5.1/gmp ; make check
>cd objdir/gcc-4.5.1/mpfr ; make check

Yes, run "make check" in the build dir of GMP and MPFR.


-- 


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



[Bug fortran/45277] make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-08-13 Thread philippe_scelers at mentor dot com


--- Comment #3 from philippe_scelers at mentor dot com  2010-08-13 12:12 
---
Subject: Re:  make bootstrap fails at:checking whether
 the GNU Fortran compiler is working... no

But I link GMP and MPFR into GCC source tree, how to make check on 
these? perhaps:
   cd objdir/gcc-4.5.1/gmp ; make check
   cd objdir/gcc-4.5.1/mpfr ; make check
Please advise


-- 


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



[Bug fortran/45277] make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-08-13 Thread philippe_scelers at mentor dot com


--- Comment #2 from philippe_scelers at mentor dot com  2010-08-13 12:03 
---
Created an attachment (id=21474)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21474&action=view)
requeste by error message output

This file is requested for debugging:

checking whether the GNU Fortran compiler is working... no
configure: error: GNU Fortran is not working; please report a bug in
http://gcc.gnu.org/bugzilla, attaching
/home/philips/tmp/GNU/build/sun4v/gcc-4.5.1/sparc-sun-solaris2.10/libgfortran/config.log


-- 


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



[Bug fortran/45277] make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-08-13 Thread ebotcazou at gcc dot gnu dot org


--- Comment #1 from ebotcazou at gcc dot gnu dot org  2010-08-13 12:01 
---
Please run 'make check' for GMP and MPFR.  Recent versions are miscompiled by
older versions of GCC on this platform.  I'd suggest sticking to the versions
listed in http://gcc.gnu.org/install/prerequisites.html.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |WAITING


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