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

             Bug #: 51779
           Summary: gcc 4.6.2 build fails on Mac OS X Lion w/Xcode 4.2,
                    with gfortran erorr
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: fortran
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: zi...@anl.gov


Created attachment 26261
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26261
gcc-4.6.2/build2/x86_64-apple-darwin11.2.0/libgfortran/config.log

Trying to build gcc 4.6.2 on Mac OS X Lion, with Xcode 4.2.1 installed.
Prerequisites like gmp, mpc, etc built fine. Configure step for gcc gave no
errors. Actual "make" step for gcc failed like this:


checking whether the /Users/zippy/Downloads/gcc-4.6.2/build2/./gcc/gfortran
-B/Users/zippy/Downloads/gcc-4.6.2/build2/./gcc/
-B/Users/zippy/zippy_gcc/x86_64-apple-darwin11.2.0/bin/
-B/Users/zippy/zippy_gcc/x86_64-apple-darwin11.2.0/lib/ -isystem
/Users/zippy/zippy_gcc/x86_64-apple-darwin11.2.0/include -isystem
/Users/zippy/zippy_gcc/x86_64-apple-darwin11.2.0/sys-include    linker
(/Users/zippy/Downloads/gcc-4.6.2/build2/./gcc/collect-ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin11.2.0 dyld
checking how to hardcode library paths into programs... immediate
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
/Users/zippy/Downloads/gcc-4.6.2/build2/x86_64-apple-darwin11.2.0/libgfortran/config.log
make[1]: *** [configure-target-libgfortran] Error 1
make: *** [all] Error 2


Relevant libgfortran/config.log attached

Reply via email to