public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/50903] New: configure:14607: error: GNU Fortran is not working;
@ 2011-10-28 17:12 chadjidakis at gmail dot com
  2011-10-28 17:13 ` [Bug bootstrap/50903] " chadjidakis at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: chadjidakis at gmail dot com @ 2011-10-28 17:12 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50903
           Summary: configure:14607: error: GNU Fortran is not working;
    Classification: Unclassified
           Product: gcc
           Version: 4.5.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: chadjidakis@gmail.com


Hi,

Trying to compile gcc 4.5.3 I go the following error:

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
/opt/gcc/src/gcc-4.5.3/build/x86_64-apple-darwin11.2.0/libgfortran/config.log
make[1]: *** [configure-target-libgfortran] Error 1
make: *** [bootstrap] Error 2

I'm using:
gcc-4.5.3        
gmp-5.0.2        
mpc-0.9            
mpfr-3.0.1

and configured gcc as:
../configure   --prefix=/opt/gcc   --disable-multilib   --with-gmp=/opt/gcc  
--with-mpfr=/opt/gcc   --with-mpc=/opt/gcc   --enable-languages=c,c++,fortran

See
/opt/gcc/src/gcc-4.5.3/build/x86_64-apple-darwin11.2.0/libgfortran/config.log
in attachment.

Thanks for any help,
Cynthia


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/50903] configure:14607: error: GNU Fortran is not working;
  2011-10-28 17:12 [Bug bootstrap/50903] New: configure:14607: error: GNU Fortran is not working; chadjidakis at gmail dot com
@ 2011-10-28 17:13 ` chadjidakis at gmail dot com
  2011-10-28 18:30 ` kargl at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: chadjidakis at gmail dot com @ 2011-10-28 17:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Hadjidakis <chadjidakis at gmail dot com> 2011-10-28 17:13:38 UTC ---
Created attachment 25646
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25646
config.log for gfortran


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/50903] configure:14607: error: GNU Fortran is not working;
  2011-10-28 17:12 [Bug bootstrap/50903] New: configure:14607: error: GNU Fortran is not working; chadjidakis at gmail dot com
  2011-10-28 17:13 ` [Bug bootstrap/50903] " chadjidakis at gmail dot com
@ 2011-10-28 18:30 ` kargl at gcc dot gnu.org
  2011-10-28 20:13 ` howarth at nitro dot med.uc.edu
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: kargl at gcc dot gnu.org @ 2011-10-28 18:30 UTC (permalink / raw)
  To: gcc-bugs

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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #2 from kargl at gcc dot gnu.org 2011-10-28 18:30:20 UTC ---
(In reply to comment #0)

> ../configure   --prefix=/opt/gcc   --disable-multilib   --with-gmp=/opt/gcc  
> --with-mpfr=/opt/gcc   --with-mpc=/opt/gcc   --enable-languages=c,c++,fortran

Have you read the installation instructions at

http://gcc.gnu.org/install/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/50903] configure:14607: error: GNU Fortran is not working;
  2011-10-28 17:12 [Bug bootstrap/50903] New: configure:14607: error: GNU Fortran is not working; chadjidakis at gmail dot com
  2011-10-28 17:13 ` [Bug bootstrap/50903] " chadjidakis at gmail dot com
  2011-10-28 18:30 ` kargl at gcc dot gnu.org
@ 2011-10-28 20:13 ` howarth at nitro dot med.uc.edu
  2011-10-28 20:20 ` howarth at nitro dot med.uc.edu
  2011-10-29 13:32 ` chadjidakis at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-10-28 20:13 UTC (permalink / raw)
  To: gcc-bugs

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

Jack Howarth <howarth at nitro dot med.uc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |howarth at nitro dot
                   |                            |med.uc.edu

--- Comment #3 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-10-28 20:12:12 UTC ---
Probably PR49738. The llvm-gcc system compiler in Lion miscompiles gmp. If you
run make check in your gmp build, you will see this. Rebuild gmp against clang.
This issue is also fixed in gmp svn.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/50903] configure:14607: error: GNU Fortran is not working;
  2011-10-28 17:12 [Bug bootstrap/50903] New: configure:14607: error: GNU Fortran is not working; chadjidakis at gmail dot com
                   ` (2 preceding siblings ...)
  2011-10-28 20:13 ` howarth at nitro dot med.uc.edu
@ 2011-10-28 20:20 ` howarth at nitro dot med.uc.edu
  2011-10-29 13:32 ` chadjidakis at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-10-28 20:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-10-28 20:19:40 UTC ---
Also be aware of http://llvm.org/bugs/show_bug.cgi?id=9571. The Xcode 4.x
llvm-gcc still suffers from this bug (although it is fixed in llvm.org's
llvm-gcc 2.9 release) and can't bootstrap FSF gcc. Use clang instead for the
FSF gcc bootstrap as well.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/50903] configure:14607: error: GNU Fortran is not working;
  2011-10-28 17:12 [Bug bootstrap/50903] New: configure:14607: error: GNU Fortran is not working; chadjidakis at gmail dot com
                   ` (3 preceding siblings ...)
  2011-10-28 20:20 ` howarth at nitro dot med.uc.edu
@ 2011-10-29 13:32 ` chadjidakis at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: chadjidakis at gmail dot com @ 2011-10-29 13:32 UTC (permalink / raw)
  To: gcc-bugs

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

Cynthia <chadjidakis at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Cynthia <chadjidakis at gmail dot com> 2011-10-29 13:32:12 UTC ---

Thanks for the answers. And, indeed, running "make check" for gmp did not work
using llvm-gcc system compiler in Lion. Following
http://beardedcodewarrior.net/2011/07/25/building-gcc-4-6-1-on-mac-os-x-lion/
(using gcc-4.2 installed previously with Snow Leopard instead of llvm-gcc)
makes gmp work.

Cheers,
Cynthia


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-10-29 13:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-28 17:12 [Bug bootstrap/50903] New: configure:14607: error: GNU Fortran is not working; chadjidakis at gmail dot com
2011-10-28 17:13 ` [Bug bootstrap/50903] " chadjidakis at gmail dot com
2011-10-28 18:30 ` kargl at gcc dot gnu.org
2011-10-28 20:13 ` howarth at nitro dot med.uc.edu
2011-10-28 20:20 ` howarth at nitro dot med.uc.edu
2011-10-29 13:32 ` chadjidakis at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).