[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 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] New: make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-08-13 Thread philippe_scelers at mentor dot com
Error message said to attach a log file, but don't find anything to attach a
file on this form. Let me know how to attach if needed

uname -a: SunOS frg-sol10-05 5.10 Generic_120011-14 sun4v sparc
SUNW,Sun-Fire-T200

using binutils-2.20 (build on the same host)

separate srcdir and objdir (build dir)

Source directory:
$HOME/tmp/GNU/src/sun4v/gcc-4.5.1

gmp, mpfr and mpc are linked into gcc-4.5.1 source tree:
ls -l gcc-4.5.1/gmp gcc-4.5.1/mpfr gcc-4.5.1/mpc
lrwxrwxrwx  1 philips frgit 13 Aug 12 14:44 gcc-4.5.1/gmp - ../gmp-5.0.1//
lrwxrwxrwx  1 philips frgit 13 Aug 12 14:44 gcc-4.5.1/mpc - ../mpc-0.8.2//
lrwxrwxrwx  1 philips frgit 14 Aug 12 14:44 gcc-4.5.1/mpfr - ../mpfr-2.4.2//

Build directory:
$HOME/tmp/GNU/build/sun4v/gcc-4.5.1

configure command:
$HOME/tmp/GNU/src/sun4v/gcc-4.5.1/configure
--prefix=$HOME/tmp/GNU/install/`uname -m`/gcc-4.5.1
--enable-languages=c,c++,fortran --with-gnu-as
--with-as=$HOME/tmp/GNU/install/sun4v/binutils-2.20/bin/as --with-gnu-ld
--with-ld=$HOME/tmp/GNU/install/sun4v/binutils-2.20/bin/ld

make command:
make bootstrap

Below the last lines of 'make bootstrap' output:
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
make[1]: *** [configure-target-libgfortran] Error 1
make[1]: Leaving directory `/nobackup/philips/tmp/GNU/build/sun4v/gcc-4.5.1'
make: *** [bootstrap] Error 2


-- 
   Summary: make bootstrap fails at:checking whether the GNU Fortran
compiler is working... no
   Product: gcc
   Version: 4.5.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: philippe_scelers at mentor dot com
 GCC build triplet: sparc-sun-solaris2.10
  GCC host triplet: sparc-sun-solaris2.10
GCC target triplet: sparc-sun-solaris2.10


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=21474action=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 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